projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e5b38a
)
veth: allow changing the mac address while interface is up
author
Hannes Frederic Sowa
<hannes@stressinduktion.org>
Tue, 30 Oct 2012 16:22:01 +0000
(16:22 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Nov 2012 16:26:10 +0000
(12:26 -0400)
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
patch
|
blob
|
history
diff --git
a/drivers/net/veth.c
b/drivers/net/veth.c
index e522ff70444cd0d7e8f1ce34132055e438ded7ce..24f6b27e169fd18ab14002544de4e71fe6897f7d 100644
(file)
--- 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;