veth: allow changing the mac address while interface is up
Subsystems (2)
PATCH 1/1 veth: allow changing the mac address while interface is up
Signed-off-by Hannes Frederic Sowa <[email protected]>
--- drivers/net/veth.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/veth.c +1 -0
@@ -264,6 +264,7 @@ static void veth_setup(struct net_device *dev)ether_setup (dev); dev->priv_flags &= ~IFF_TX_SKB_SHARING ; + dev->priv_flags |=IFF_LIVE_ADDR_CHANGE ; dev->netdev_ops = &veth_netdev_ops; dev->ethtool_ops = &veth_ethtool_ops;
From: Hannes Frederic Sowa <[email protected]>
Date: Wed, 31 Oct 2012 03:22:01 +0100
Quoted 1 line
Signed-off-by Hannes Frederic Sowa <[email protected]>
Applied to net-next, thanks.