diff options
author | Daniel Axtens <[email protected]> | 2018-03-01 17:13:40 +1100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-04 17:49:17 -0500 |
commit | a4a77718ee4053a44aa40fe67247c1afb5ce2f1e (patch) | |
tree | 7b62a1bae82408a1ba43822d2364ad36f02f4f69 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 80f5974d15ea96c7112604c7999a83a502d15b9f (diff) |
net: make skb_gso_*_seglen functions private
They're very hard to use properly as they do not consider the
GSO_BY_FRAGS case. Code should use skb_gso_validate_network_len
and skb_gso_validate_mac_len as they do consider this case.
Make the seglen functions static, which stops people using them
outside of skbuff.c
Signed-off-by: Daniel Axtens <[email protected]>
Reviewed-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions