Skip to content

Commit

Permalink
vxlan: allow live mac address change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stephen hemminger authored and David S. Miller committed Jan 3, 2013
1 parent 3ec8e9f commit 6602d00
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 @@ -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);

Expand Down

0 comments on commit 6602d00

Please sign in to comment.