diff options
author | Daniel Axtens <dja@axtens.net> | 2018-03-01 17:13:40 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-04 17:49:17 -0500 |
commit | a4a77718ee4053a44aa40fe67247c1afb5ce2f1e (patch) | |
tree | 7b62a1bae82408a1ba43822d2364ad36f02f4f69 /include/xen | |
parent | net: xfrm: use skb_gso_validate_network_len() to check gso sizes (diff) | |
download | linux-dev-a4a77718ee4053a44aa40fe67247c1afb5ce2f1e.tar.xz linux-dev-a4a77718ee4053a44aa40fe67247c1afb5ce2f1e.zip |
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 <dja@axtens.net>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions