diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-08-01 17:36:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-03 15:38:31 -0700 |
commit | 2f631133c40cd8e311ae393518c3e651e476ab66 (patch) | |
tree | 3adc7329dd5c1d2b3f6f21c77dc092d6bb693e6c /kernel/padata.c | |
parent | c15fc199b3757496325c4855662fad89bd1efdad (diff) | |
download | linux-2f631133c40cd8e311ae393518c3e651e476ab66.tar.gz linux-2f631133c40cd8e311ae393518c3e651e476ab66.tar.bz2 linux-2f631133c40cd8e311ae393518c3e651e476ab66.zip |
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>
Diffstat (limited to 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions