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