diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2013-06-17 21:16:10 (GMT) |
---|---|---|
committer | Stephen Hemminger <stephen@networkplumber.org> | 2013-06-24 15:40:32 (GMT) |
commit | 8385f50a03a8ad3d2c6d76b1117c959261ab7a1c (patch) | |
tree | 1e11028de545095fc8d1e130d5d8c56b33b3d635 /drivers/net/vxlan.c | |
parent | 7c47cedf43a8b3086c3dcf26cbc058747ee21bec (diff) | |
download | linux-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.c | 1 |
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); |