Skip to contentSkip to conversation

gre: allow changing mac address when device is up

PATCH Applied Stephen Hemminger 2 participants 2 messages Jun 6, 2014 – Jun 11, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gre: allow changing mac address when device is up

There is no need to require forcing device down on a Ethernet GRE (gretap) tunnel to change the MAC address.

net/ipv4/ip_gre.c +1 -0
@@ -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);
 }