]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: ensure to advertise the right fdb remote
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 22 Apr 2014 13:01:30 +0000 (15:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Apr 2014 19:01:09 +0000 (15:01 -0400)
commitfbfb12d1f6cd0c3fd57021ebffe5c86ad834d21d
treeccf7f31725f43ee2bfb8c44ea831bc414c2378f9
parent3310d3b254e8aa60fc95417ea87298bdbd3320af
vxlan: ensure to advertise the right fdb remote

The goal of this patch is to fix rtnelink notification. The main problem was
about notification for fdb entry with more than one remote. Before the patch,
when a remote was added to an existing fdb entry, the kernel advertised the
first remote instead of the added one. Also when a remote was removed from a fdb
entry with several remotes, the deleted remote was not advertised.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c