https://github.com/torvalds/linux
Revision af9b078e354614fad1e2e0cef04e216ae37cc389 authored by Yan Burman on 20 December 2012, 03:36:08 UTC, committed by David S. Miller on 26 December 2012, 23:09:55 UTC
The socket calls from vxlan to join/leave multicast group aren't
using the index of the underlying device, as a result the stack uses
the first interface that is up. This results in vxlan being non functional
over a device which isn't the 1st to be up.
Fix this by providing the iflink field to the vxlan instance
to the multicast calls.

Signed-off-by: Yan Burman <yanb@mellanox.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c3ae62a
History
Tip revision: af9b078e354614fad1e2e0cef04e216ae37cc389 authored by Yan Burman on 20 December 2012, 03:36:08 UTC
net/vxlan: Use the underlying device index when joining/leaving multicast groups
Tip revision: af9b078
File Mode Size
.gitignore -rw-r--r-- 151 bytes
Kconfig -rw-r--r-- 5.3 KB
Makefile -rw-r--r-- 2.3 KB
gen_init_cpio.c -rw-r--r-- 13.0 KB
initramfs_data.S -rw-r--r-- 1.3 KB

back to top