diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-04-28 04:16:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-29 15:27:47 -0400 |
commit | f6ace502b828bd3c6110ad1f4bf82a1535a29135 (patch) | |
tree | b57688536e8b7b1b4bca42cda91b3c09a07988c7 /drivers/net/vxlan.c | |
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/vxlan.c')
-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) | |||
917 | if (unlikely(err)) | 917 | if (unlikely(err)) |
918 | return err; | 918 | return err; |
919 | 919 | ||
920 | skb_shinfo(skb)->gso_type |= (SKB_GSO_UDP_TUNNEL | SKB_GSO_UDP); | 920 | skb_shinfo(skb)->gso_type |= SKB_GSO_UDP_TUNNEL; |
921 | } else if (skb->ip_summed != CHECKSUM_PARTIAL) | 921 | } else if (skb->ip_summed != CHECKSUM_PARTIAL) |
922 | skb->ip_summed = CHECKSUM_NONE; | 922 | skb->ip_summed = CHECKSUM_NONE; |
923 | 923 | ||