commit | 2f631133c40cd8e311ae393518c3e651e476ab66 | [log] [tgz] |
---|---|---|
author | Miaohe Lin <linmiaohe@huawei.com> | Sat Aug 01 17:36:05 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 03 15:38:31 2020 -0700 |
tree | 3adc7329dd5c1d2b3f6f21c77dc092d6bb693e6c | |
parent | c15fc199b3757496325c4855662fad89bd1efdad [diff] |
net: Pass NULL to skb_network_protocol() when we don't care about vlan depth 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> Signed-off-by: David S. Miller <davem@davemloft.net>