diff options
author | 2020-08-01 17:36:05 +0800 | |
---|---|---|
committer | 2020-08-03 15:38:31 -0700 | |
commit | 2f631133c40cd8e311ae393518c3e651e476ab66 (patch) | |
tree | 3adc7329dd5c1d2b3f6f21c77dc092d6bb693e6c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: Use __skb_pagelen() directly in skb_cow_data() (diff) | |
download | linux-dev-2f631133c40cd8e311ae393518c3e651e476ab66.tar.xz linux-dev-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions