diff options
| author | 2018-03-01 17:13:40 +1100 | |
|---|---|---|
| committer | 2018-03-04 17:49:17 -0500 | |
| commit | a4a77718ee4053a44aa40fe67247c1afb5ce2f1e (patch) | |
| tree | 7b62a1bae82408a1ba43822d2364ad36f02f4f69 /lib/memory-notifier-error-inject.c | |
| parent | net: xfrm: use skb_gso_validate_network_len() to check gso sizes (diff) | |
| download | wireguard-linux-a4a77718ee4053a44aa40fe67247c1afb5ce2f1e.tar.xz wireguard-linux-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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
