net: rename skb_gso_validate_mtu -> skb_gso_validate_network_len
authorDaniel Axtens <dja@axtens.net>
Thu, 1 Mar 2018 06:13:37 +0000 (17:13 +1100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 22:49:17 +0000 (17:49 -0500)
commit779b7931b27bfa80bac46d0115d229259aef580b
tree387a59875c8aac450234a701a52fd5da695f0f66
parent4e00f5d5f9fc0f20774d8675a815b05ef428bb0d
net: rename skb_gso_validate_mtu -> skb_gso_validate_network_len

If you take a GSO skb, and split it into packets, will the network
length (L3 headers + L4 headers + payload) of those packets be small
enough to fit within a given MTU?

skb_gso_validate_mtu gives you the answer to that question. However,
we recently added to add a way to validate the MAC length of a split GSO
skb (L2+L3+L4+payload), and the names get confusing, so rename
skb_gso_validate_mtu to skb_gso_validate_network_len

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>
include/linux/skbuff.h
net/core/skbuff.c
net/ipv4/ip_forward.c
net/ipv4/ip_output.c
net/ipv4/netfilter/nf_flow_table_ipv4.c
net/ipv6/ip6_output.c
net/ipv6/netfilter/nf_flow_table_ipv6.c
net/mpls/af_mpls.c
net/xfrm/xfrm_device.c