Re: [PATCH] net: Pass NULL to skb_network_protocol() when we don't care about vlan depth
From: David Miller <davem@davemloft.net>
Date: 2020-07-31 23:42:52
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2020-07-31 23:42:52
Also in:
lkml
From: linmiaohe <linmiaohe@huawei.com> Date: Thu, 30 Jul 2020 19:02:36 +0800
From: Miaohe Lin <linmiaohe@huawei.com> When we don't care about vlan depth, we could pass NULL instead of the address of a unused local variable to skb_network_protocol() as a param. Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Applied to net-next, thanks.