提交 6602d007 编写于 作者: S stephen hemminger 提交者: David S. Miller

vxlan: allow live mac address change

The VXLAN pseudo-device doesn't care if the mac address changes
when device is up.
Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Reviewed-by: NJiri Pirko <jiri@resnulli.us>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3ec8e9f0
...@@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_device *dev) ...@@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_device *dev)
dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM; dev->hw_features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
spin_lock_init(&vxlan->hash_lock); spin_lock_init(&vxlan->hash_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册