Re: [PATCH] net: Pass NULL to skb_network_protocol() when we don't care about vlan depth

From: David Miller
Date: Mon Aug 03 2020 - 18:39:06 EST


From: linmiaohe <linmiaohe@xxxxxxxxxx>
Date: Sat, 1 Aug 2020 17:36:05 +0800

> From: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Applied.