linux_old1/net/mpls
Marcelo Ricardo Leitner ae7ef81ef0 skbuff: introduce skb_gso_validate_mtu
skb_gso_network_seglen is not enough for checking fragment sizes if
skb is using GSO_BY_FRAGS as we have to check frag per frag.

This patch introduces skb_gso_validate_mtu, based on the former, which
will wrap the use case inside it as all calls to skb_gso_network_seglen
were to validate if it fits on a given TMU, and improve the check.

Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tested-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-03 19:37:21 -04:00
..
Kconfig mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
Makefile mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
af_mpls.c skbuff: introduce skb_gso_validate_mtu 2016-06-03 19:37:21 -04:00
internal.h mpls: support for dead routes 2015-12-03 15:03:27 -05:00
mpls_gso.c gso: Remove arbitrary checks for unsupported GSO 2016-05-20 18:03:15 -04:00
mpls_iptunnel.c mpls: autoload lwt module 2016-02-21 22:00:28 -05:00