From: Stephen Hemminger Date: Mon, 17 Jun 2013 21:16:10 +0000 (-0700) Subject: vxlan: send notification when MAC migrates X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8385f50a03a8ad3d2c6d76b1117c959261ab7a1c;p=linux-beck.git 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 --- diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index b061c98474ee..1f2aa26550e9 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -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);