diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-04-28 08:16:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-29 19:27:47 (GMT) |
commit | f6ace502b828bd3c6110ad1f4bf82a1535a29135 (patch) | |
tree | b57688536e8b7b1b4bca42cda91b3c09a07988c7 /drivers | |
parent | 94dace10142790ddeb0a3a7b8b33d9540d30c79f (diff) | |
download | linux-fsl-qoriq-f6ace502b828bd3c6110ad1f4bf82a1535a29135.tar.xz |
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')
-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 f1d9e98..ba81f3c 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; |