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: Stephen Hemminger <shemminger@vyatta.com> Reviewed-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3ec8e9f085
commit
6602d00789
|
@ -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->priv_flags &= ~IFF_XMIT_DST_RELEASE;
|
||||
dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
|
||||
|
||||
spin_lock_init(&vxlan->hash_lock);
|
||||
|
||||
|
|
Loading…
Reference in New Issue