aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-08-01 17:30:23 +0800
committerDavid S. Miller <davem@davemloft.net>2020-08-03 15:38:31 -0700
commitc15fc199b3757496325c4855662fad89bd1efdad (patch)
treeacdefdaa5afa66f613617cb362fd6fe6a23753c7 /tools/perf/scripts/python/export-to-postgresql.py
parentnet: qed: use eth_zero_addr() to clear mac address (diff)
downloadlinux-dev-c15fc199b3757496325c4855662fad89bd1efdad.tar.xz
linux-dev-c15fc199b3757496325c4855662fad89bd1efdad.zip
net: Use __skb_pagelen() directly in skb_cow_data()
In fact, skb_pagelen() - skb_headlen() is equal to __skb_pagelen(), use it directly to avoid unnecessary skb_headlen() call. Also fix the CHECK note of checkpatch.pl: Comparison to NULL could be written "!__pskb_pull_tail" 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