aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXiang Gao <[email protected]>2017-09-20 12:18:17 -0400
committerDavid S. Miller <[email protected]>2017-09-20 13:45:18 -0700
commitd4e1b299ec2853dd3d90b71ae86fa2626e60dc25 (patch)
tree69c5ae532cdbbec055b57c4a2d6bc74238e8f8f3 /tools/perf/scripts/python/export-to-postgresql.py
parent8ca712c373a462cfa1b62272870b6c2c74aa83f9 (diff)
ipv6: Use ipv6_authlen for len in ipv6_skip_exthdr
In ipv6_skip_exthdr, the lengh of AH header is computed manually as (hp->hdrlen+2)<<2. However, in include/linux/ipv6.h, a macro named ipv6_authlen is already defined for exactly the same job. This commit replaces the manual computation code with the macro. Signed-off-by: Xiang Gao <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions