netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net PATCH 0/2] Fix outer UDP checksums for IPv6 VXLAN tunnels
@ 2014-11-25  4:08 alexander.duyck
  2014-11-25  4:08 ` [net PATCH 1/2] ip6_udp_tunnel: Fix checksum calculation alexander.duyck
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: alexander.duyck @ 2014-11-25  4:08 UTC (permalink / raw)
  To: netdev; +Cc: davem

In testing against an older kernel I found a couple issues in the IPv6
VXLAN tunnel checksum logic for the outer UDP checksum.

First the default transitioned from using an outer checksum to not using
one.  Second, sometime after that the checksum inputs were changed
resulting the checksum not being correct if it were computed.

These two issues prevented a ping from the newer kernel to the older one.
With these two changes applied I verified I was able to send traffic over
the VXLAN tunnel to a link partner on an older kernel.

The boolean flip fix can be submitted for 3.17 stable as well since the
patch that introduced the issue was included in that kernel.

---

Alexander Duyck (2):
      ip6_udp_tunnel: Fix checksum calculation
      vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]


 drivers/net/vxlan.c       |    4 ++--
 net/ipv6/ip6_udp_tunnel.c |    4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

-- 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-25 19:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25  4:08 [net PATCH 0/2] Fix outer UDP checksums for IPv6 VXLAN tunnels alexander.duyck
2014-11-25  4:08 ` [net PATCH 1/2] ip6_udp_tunnel: Fix checksum calculation alexander.duyck
2014-11-25  4:08 ` [net PATCH 2/2] vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX] alexander.duyck
2014-11-25  4:20   ` Tom Herbert
2014-11-25 19:13 ` [net PATCH 0/2] Fix outer UDP checksums for IPv6 VXLAN tunnels David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).