Skip to content

Commit

Permalink
veth: allow changing the mac address while interface is up
Browse files Browse the repository at this point in the history
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hannes Frederic Sowa authored and David S. Miller committed Nov 1, 2012
1 parent 2e5b38a commit 23ea5a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23ea5a9

Please sign in to comment.