diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-04-28 08:16:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-29 15:27:47 -0400 |
commit | f6ace502b828bd3c6110ad1f4bf82a1535a29135 (patch) | |
tree | b57688536e8b7b1b4bca42cda91b3c09a07988c7 | |
parent | 94dace10142790ddeb0a3a7b8b33d9540d30c79f (diff) | |
download | linux-3.10-f6ace502b828bd3c6110ad1f4bf82a1535a29135.tar.gz linux-3.10-f6ace502b828bd3c6110ad1f4bf82a1535a29135.tar.bz2 linux-3.10-f6ace502b828bd3c6110ad1f4bf82a1535a29135.zip |
vxlan: do not set SKB_GSO_UDP
Since SKB_GSO_* flags are set by appropriate gso_segment callback
in TCP/UDP layer.
CC: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/vxlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index f1d9e981e54..ba81f3c39a8 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -917,7 +917,7 @@ static int handle_offloads(struct sk_buff *skb) if (unlikely(err)) return err; - skb_shinfo(skb)->gso_type |= (SKB_GSO_UDP_TUNNEL | SKB_GSO_UDP); + skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; } else if (skb->ip_summed != CHECKSUM_PARTIAL) skb->ip_summed = CHECKSUM_NONE; |