Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8385f50a authored by Stephen Hemminger's avatar Stephen Hemminger
Browse files

vxlan: send notification when MAC migrates



When learned entry migrates to another IP send a notification
that entry has changed.

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
parent 7c47cedf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);