mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 08:46:46 +00:00
vxlan: send notification when MAC migrates
When learned entry migrates to another IP send a notification that entry has changed. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
7c47cedf43
commit
8385f50a03
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ static bool vxlan_snoop(struct net_device *dev,
|
|||
|
||||
f->remote.remote_ip = src_ip;
|
||||
f->updated = jiffies;
|
||||
vxlan_fdb_notify(vxlan, f, RTM_NEWNEIGH);
|
||||
} else {
|
||||
/* learned new entry */
|
||||
spin_lock(&vxlan->hash_lock);
|
||||
|
|
Loading…
Reference in a new issue