diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-07-30 19:02:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-31 16:42:30 -0700 |
commit | 9fc95f50eedb5cfe5d53a9c970c47ed680fc4e54 (patch) | |
tree | cef4101839415ef7f884dc026097029d713ee6e3 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 83a33b248763f081bbccc7f7f61264883a9e3338 (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>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions