[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200731.164248.1001767507572389803.davem@davemloft.net>
Date: Fri, 31 Jul 2020 16:42:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linmiaohe@...wei.com
Cc: kuba@...nel.org, jiri@...lanox.com, edumazet@...gle.com,
ap420073@...il.com, xiyou.wangcong@...il.com, lukas@...ner.de,
maximmi@...lanox.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: Thu, 30 Jul 2020 19:02:36 +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 to net-next, thanks.
Powered by blists - more mailing lists