[PATCH] veth: allow changing the mac address while interface is up
From: Hannes Frederic Sowa <hidden>
Date: 2012-10-31 02:28:53
Signed-off-by: Hannes Frederic Sowa <redacted> --- drivers/net/veth.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 5852361..9f87718 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c@@ -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;