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 /drivers/net | |
parent | 94dace10142790ddeb0a3a7b8b33d9540d30c79f (diff) |
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>
Diffstat (limited to 'drivers/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 f1d9e981e541..ba81f3c39a83 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; |