[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200803.153901.846172620543023423.davem@davemloft.net>
Date: Mon, 03 Aug 2020 15:39:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linmiaohe@...wei.com
Cc: kuba@...nel.org, pshelar@....org, martin.varghese@...ia.com,
fw@...len.de, pabeni@...hat.com, edumazet@...gle.com,
dcaratti@...hat.com, steffen.klassert@...unet.com,
shmulik@...anetworks.com, kyk.segfault@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Pass NULL to skb_network_protocol() when we don't
care about vlan depth
From: linmiaohe <linmiaohe@...wei.com>
Date: Sat, 1 Aug 2020 17:36:05 +0800
> From: Miaohe Lin <linmiaohe@...wei.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@...wei.com>
Applied.
Powered by blists - more mailing lists