linux-hardened/net/mpls
Tom Herbert 5c7cdf339a gso: Remove arbitrary checks for unsupported GSO
In several gso_segment functions there are checks of gso_type against
a seemingly arbitrary list of SKB_GSO_* flags. This seems like an
attempt to identify unsupported GSO types, but since the stack is
the one that set these GSO types in the first place this seems
unnecessary to do. If a combination isn't valid in the first
place that stack should not allow setting it.

This is a code simplication especially for add new GSO types.

Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-20 18:03:15 -04:00
..
af_mpls.c mpls: find_outdev: check for err ptr in addition to NULL check 2016-04-08 12:43:20 -04:00
internal.h mpls: support for dead routes 2015-12-03 15:03:27 -05: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
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