diff options
author | Daniel Axtens <dja@axtens.net> | 2018-03-01 09:13:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-05 01:49:17 +0300 |
commit | a4a77718ee4053a44aa40fe67247c1afb5ce2f1e (patch) | |
tree | 7b62a1bae82408a1ba43822d2364ad36f02f4f69 /ipc/syscall.c | |
parent | 80f5974d15ea96c7112604c7999a83a502d15b9f (diff) | |
download | linux-a4a77718ee4053a44aa40fe67247c1afb5ce2f1e.tar.xz |
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 'ipc/syscall.c')
0 files changed, 0 insertions, 0 deletions