Skip to contentSkip to conversation

vxlan: allow live mac address change

PATCH Applied Stephen Hemminger 3 participants 3 messages Dec 31, 2012 – Jan 3, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vxlan: allow live mac address change

The VXLAN pseudo-device doesn't care if the mac address changes when device is up.

drivers/net/vxlan.c +1 -0
@@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_devic
 
 	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);
 
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Mon, Dec 31, 2012 at 11:00:21PM CET, [email protected] wrote:

The VXLAN pseudo-device doesn't care if the mac address changes when device is up.

drivers/net/vxlan.c static void vxlan_setup(struct net_devic · line 1197

Quoted 7 lines
drivers/net/vxlan.c +1 -0
@@ -1191,6 +1191,7 @@ static void vxlan_setup(struct net_devic
 
 	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);
 
Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html