From: David Miller <davem@davemloft.net>
To: linmiaohe@huawei.com
Cc: kuba@kernel.org, jiri@mellanox.com, edumazet@google.com,
ap420073@gmail.com, xiyou.wangcong@gmail.com, lukas@wunner.de,
maximmi@mellanox.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] net: Pass NULL to skb_network_protocol() when we don't care about vlan depth
Date: Fri, 31 Jul 2020 16:42:48 -0700 (PDT) [thread overview]
Message-ID: <20200731.164248.1001767507572389803.davem@davemloft.net> (raw)
In-Reply-To: <1596106956-22054-1-git-send-email-linmiaohe@huawei.com>
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.
next prev parent reply other threads:[~2020-07-31 23:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 11:02 [PATCH] net: Pass NULL to skb_network_protocol() when we don't care about vlan depth linmiaohe
2020-07-31 23:42 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-01 9:36 linmiaohe
2020-08-03 22:39 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200731.164248.1001767507572389803.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ap420073@gmail.com \
--cc=edumazet@google.com \
--cc=jiri@mellanox.com \
--cc=kuba@kernel.org \
--cc=linmiaohe@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=maximmi@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox