diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2012-10-30 17:22:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 17:26:10 +0100 |
commit | 23ea5a963768ff162a9ff8654589d7f7e1dfb780 (patch) | |
tree | 9648571e6c4a8dfd254af18bb7098260863a5c97 /drivers/net/veth.c | |
parent | cpsw: support the HWTSTAMP ioctl and the CPTS (diff) | |
download | linux-23ea5a963768ff162a9ff8654589d7f7e1dfb780.tar.xz linux-23ea5a963768ff162a9ff8654589d7f7e1dfb780.zip |
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>
Diffstat (limited to 'drivers/net/veth.c')
-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) 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; |