]> 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)
commit61be2ac08b3d87d95e3d496fb4186cebd2804656
treeccf7f31725f43ee2bfb8c44ea831bc414c2378f9
parent440f1204e1ea110b9a1e280b23567ab419e837a9
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