diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2012-10-30 16:22:01 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 12:26:10 -0400 |
commit | 23ea5a963768ff162a9ff8654589d7f7e1dfb780 (patch) | |
tree | 9648571e6c4a8dfd254af18bb7098260863a5c97 /drivers/net/veth.c | |
parent | 2e5b38abcfad3049608a051826a5aaec2122cdac (diff) | |
download | linux-3.10-23ea5a963768ff162a9ff8654589d7f7e1dfb780.tar.gz linux-3.10-23ea5a963768ff162a9ff8654589d7f7e1dfb780.tar.bz2 linux-3.10-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 e522ff70444..24f6b27e169 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; |