diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2014-12-24 01:20:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-24 05:57:31 +0100 |
commit | 4cc1beca3096a6425543cb83a61665b9c8040f98 (patch) | |
tree | fe6cdcc77b037f98edbc2fb91f0a5a74d0facd8d /net/mpls/mpls_gso.c | |
parent | mpls: Fix config check for mpls. (diff) | |
download | linux-4cc1beca3096a6425543cb83a61665b9c8040f98.tar.xz linux-4cc1beca3096a6425543cb83a61665b9c8040f98.zip |
mpls: Fix allowed protocols for mpls gso
MPLS and Tunnel GSO does not work together. Reject packet which
request such GSO.
Fixes: 0d89d2035f ("MPLS: Add limited GSO support").
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mpls/mpls_gso.c')
-rw-r--r-- | net/mpls/mpls_gso.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/mpls/mpls_gso.c b/net/mpls/mpls_gso.c index ca27837974fe..349295d21946 100644 --- a/net/mpls/mpls_gso.c +++ b/net/mpls/mpls_gso.c @@ -31,10 +31,7 @@ static struct sk_buff *mpls_gso_segment(struct sk_buff *skb, SKB_GSO_TCPV6 | SKB_GSO_UDP | SKB_GSO_DODGY | - SKB_GSO_TCP_ECN | - SKB_GSO_GRE | - SKB_GSO_GRE_CSUM | - SKB_GSO_IPIP))) + SKB_GSO_TCP_ECN))) goto out; /* Setup inner SKB. */ |