summaryrefslogtreecommitdiff
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-06-17 21:16:10 (GMT)
committerStephen Hemminger <stephen@networkplumber.org>2013-06-24 15:40:32 (GMT)
commit8385f50a03a8ad3d2c6d76b1117c959261ab7a1c (patch)
tree1e11028de545095fc8d1e130d5d8c56b33b3d635 /drivers/net/vxlan.c
parent7c47cedf43a8b3086c3dcf26cbc058747ee21bec (diff)
downloadlinux-8385f50a03a8ad3d2c6d76b1117c959261ab7a1c.tar.xz
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>
Diffstat (limited to 'drivers/net/vxlan.c')
-rw-r--r--drivers/net/vxlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index b061c98..1f2aa26 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);