* [PATCH net-next] gre: allow changing mac address when device is up
@ 2014-06-06 15:10 Stephen Hemminger
2014-06-11 5:46 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2014-06-06 15:10 UTC (permalink / raw)
To: David Miller; +Cc: netdev
There is no need to require forcing device down on a Ethernet GRE (gretap)
tunnel to change the MAC address.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
--- a/net/ipv4/ip_gre.c 2014-04-23 18:38:21.908598483 -0700
+++ b/net/ipv4/ip_gre.c 2014-06-05 09:51:19.319503953 -0700
@@ -649,6 +649,7 @@ static void ipgre_tap_setup(struct net_d
{
ether_setup(dev);
dev->netdev_ops = &gre_tap_netdev_ops;
+ dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
ip_tunnel_setup(dev, gre_tap_net_id);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] gre: allow changing mac address when device is up
2014-06-06 15:10 [PATCH net-next] gre: allow changing mac address when device is up Stephen Hemminger
@ 2014-06-11 5:46 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-06-11 5:46 UTC (permalink / raw)
To: stephen; +Cc: netdev
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Fri, 6 Jun 2014 08:10:00 -0700
> There is no need to require forcing device down on a Ethernet GRE (gretap)
> tunnel to change the MAC address.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Applied, thanks Stephen.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-11 5:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 15:10 [PATCH net-next] gre: allow changing mac address when device is up Stephen Hemminger
2014-06-11 5:46 ` 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).