提交 8385f50a 编写于 作者: S Stephen Hemminger

vxlan: send notification when MAC migrates

When learned entry migrates to another IP send a notification
that entry has changed.
Signed-off-by: NStephen Hemminger <stephen@networkplumber.org>
上级 7c47cedf
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册