WSL2-Linux-Kernel/include
Jiri Benc a43a9ef6a2 vxlan: do not receive IPv4 packets on IPv6 socket
By default (subject to the sysctl settings), IPv6 sockets listen also for
IPv4 traffic. Vxlan is not prepared for that and expects IPv6 header in
packets received through an IPv6 socket.

In addition, it's currently not possible to have both IPv4 and IPv6 vxlan
tunnel on the same port (unless bindv6only sysctl is enabled), as it's not
possible to create and bind both IPv4 and IPv6 vxlan interfaces and there's
no way to specify both IPv4 and IPv6 remote/group IP addresses.

Set IPV6_V6ONLY on vxlan sockets to fix both of these issues. This is not
done globally in udp_tunnel, as l2tp and tipc seems to work okay when
receiving IPv4 packets on IPv6 socket and people may rely on this behavior.
The other tunnels (geneve and fou) do not support IPv6.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-29 13:07:54 -07:00
..
acpi
asm-generic
clocksource
crypto
drm drm/edid: add function to help find SADs 2015-08-20 09:46:08 +10:00
dt-bindings
keys
kvm
linux lib: introduce strncpy_from_unsafe() 2015-08-28 16:27:27 -07:00
math-emu
media media fixes for v4.2-rc8 2015-08-21 11:03:06 -07:00
memory
misc
net vxlan: do not receive IPv4 packets on IPv6 socket 2015-08-29 13:07:54 -07:00
pcmcia
ras
rdma
rxrpc
scsi Merge branch 'for-4.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2015-08-17 16:20:45 -07:00
soc
sound ASoC: topology: Add Kconfig option for topology 2015-08-17 22:45:47 -07:00
target iscsi-target: Fix iscsit_start_kthreads failure OOPs 2015-07-24 14:19:43 -07:00
trace net: FIB tracepoints 2015-08-29 13:05:16 -07:00
uapi Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next 2015-08-28 16:29:59 -07:00
video
xen
Kbuild