]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 25 Nov 2014 04:08:38 +0000 (20:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2014 19:12:12 +0000 (14:12 -0500)
commitb0f585352b829ec641e70334f48778d3bdaaca3c
tree755f247195052504468f796d765410698cc1a428
parent1944e6942dd4510f1e102229703f894b945828bf
vxlan: Fix boolean flip in VXLAN_F_UDP_ZERO_CSUM6_[TX|RX]

In "vxlan: Call udp_sock_create" there was a logic error that resulted in
the default for IPv6 VXLAN tunnels going from using checksums to not using
checksums.  Since there is currently no support in iproute2 for setting
these values it means that a kernel after the change cannot talk over a IPv6
VXLAN tunnel to a kernel prior the change.

Fixes: b357bb7 ("vxlan: Call udp_sock_create")
Cc: Tom Herbert <therbert@google.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c