OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0edc7b
)
mpls: Fix allowed protocols for mpls gso
author
Pravin B Shelar
<pshelar@nicira.com>
Wed, 24 Dec 2014 00:20:16 +0000
(16:20 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 24 Dec 2014 04:57:31 +0000
(23:57 -0500)
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>
net/mpls/mpls_gso.c
patch
|
blob
|
history
diff --git
a/net/mpls/mpls_gso.c
b/net/mpls/mpls_gso.c
index
ca27837
..
349295d
100644
(file)
--- 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. */