Skip to content

Commit

Permalink
vxlan: send notification when MAC migrates
Browse files Browse the repository at this point in the history
When learned entry migrates to another IP send a notification
that entry has changed.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
  • Loading branch information
Stephen Hemminger committed Jun 24, 2013
1 parent 7c47ced commit 8385f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8385f50

Please sign in to comment.