mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
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>
This commit is contained in:
parent
d0edc7bf39
commit
4cc1beca30
1 changed files with 1 additions and 4 deletions
|
@ -31,10 +31,7 @@ static struct sk_buff *mpls_gso_segment(struct sk_buff *skb,
|
||||||
SKB_GSO_TCPV6 |
|
SKB_GSO_TCPV6 |
|
||||||
SKB_GSO_UDP |
|
SKB_GSO_UDP |
|
||||||
SKB_GSO_DODGY |
|
SKB_GSO_DODGY |
|
||||||
SKB_GSO_TCP_ECN |
|
SKB_GSO_TCP_ECN)))
|
||||||
SKB_GSO_GRE |
|
|
||||||
SKB_GSO_GRE_CSUM |
|
|
||||||
SKB_GSO_IPIP)))
|
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
/* Setup inner SKB. */
|
/* Setup inner SKB. */
|
||||||
|
|
Loading…
Reference in a new issue