netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] veth: allow changing the mac address while interface is up
@ 2012-10-31  2:22 Hannes Frederic Sowa
  2012-11-01 16:26 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Frederic Sowa @ 2012-10-31  2:22 UTC (permalink / raw)
  To: netdev

Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
---
 drivers/net/veth.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index 5852361..9f87718 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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] veth: allow changing the mac address while interface is up
  2012-10-31  2:22 [PATCH] veth: allow changing the mac address while interface is up Hannes Frederic Sowa
@ 2012-11-01 16:26 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-11-01 16:26 UTC (permalink / raw)
  To: hannes; +Cc: netdev

From: Hannes Frederic Sowa <hannes@stressinduktion.org>
Date: Wed, 31 Oct 2012 03:22:01 +0100

> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>

Applied to net-next, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-01 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31  2:22 [PATCH] veth: allow changing the mac address while interface is up Hannes Frederic Sowa
2012-11-01 16:26 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).