]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9e4b93f905bc0ca1363a07b0f039455d9117d6bc
treeccf7f31725f43ee2bfb8c44ea831bc414c2378f9
parent6a1197457f9ec085871d2f842e1bbbe9d13216da
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