netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vxlan regression: multiple VXLANs on a single multicast group broken in kernel 4.1
@ 2015-08-25 17:35 John Nielsen
  2015-08-25 18:52 ` Marcelo Ricardo Leitner
  0 siblings, 1 reply; 5+ messages in thread
From: John Nielsen @ 2015-08-25 17:35 UTC (permalink / raw)
  To: netdev; +Cc: marcelo.leitner

After updating the kernel on a KVM host, I discovered yesterday that I can no longer use more than one vxlan interface on a single multicast group/address. The interfaces can be created but only the first one may be brought up:

# ip link add vx100 type vxlan id 100 group 239.0.0.1 dev eth0
# ip link add vx200 type vxlan id 200 group 239.0.0.1 dev eth0
# ip link set up dev vx100
# ip link set up dev vx200
RTNETLINK answers: Address already in use

Using unique group addresses (one VNI per group) still works as expected. The problem is not present in kernel 4.0.5 but it is in kernel 4.1.0.

I suspect (but have not verified) that the regression was caused by this commit:
vxlan: Move socket initialization to within rtnl scope 56ef9c909b40483d2c8cb63fcbf83865f162d5ec

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/vxlan.c?id=56ef9c909b40483d2c8cb63fcbf83865f162d5ec

I am working to verify that that is the culprit but I thought I’d see in the mean time if anyone else has encountered and/or fixed this, or can at least shed more light on the problem.

Thanks!

JN

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

end of thread, other threads:[~2015-09-01 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-25 17:35 vxlan regression: multiple VXLANs on a single multicast group broken in kernel 4.1 John Nielsen
2015-08-25 18:52 ` Marcelo Ricardo Leitner
2015-08-25 23:22   ` [PATCH net] vxlan: re-ignore EADDRINUSE from igmp_join Marcelo Ricardo Leitner
2015-08-25 23:25     ` David Miller
2015-09-01 21:02     ` John Nielsen

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).