diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2012-10-30 12:22:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 12:26:10 -0400 |
commit | 23ea5a963768ff162a9ff8654589d7f7e1dfb780 (patch) | |
tree | 9648571e6c4a8dfd254af18bb7098260863a5c97 | |
parent | 2e5b38abcfad3049608a051826a5aaec2122cdac (diff) |
veth: allow changing the mac address while interface is up
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/veth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index e522ff70444c..24f6b27e169f 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c | |||
@@ -264,6 +264,7 @@ static void veth_setup(struct net_device *dev) | |||
264 | ether_setup(dev); | 264 | ether_setup(dev); |
265 | 265 | ||
266 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; | 266 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; |
267 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; | ||
267 | 268 | ||
268 | dev->netdev_ops = &veth_netdev_ops; | 269 | dev->netdev_ops = &veth_netdev_ops; |
269 | dev->ethtool_ops = &veth_ethtool_ops; | 270 | dev->ethtool_ops = &veth_ethtool_ops; |