gre: allow live address change
Subsystems (3)
PATCH 1/1 gre: allow live address change
The GRE tap device supports Ethernet over GRE, but doesn't care about the source address of the tunnel, therefore it can be changed without bring device down.
Signed-off-by Stephen Hemminger <[email protected]>
net/ipv4/ip_gre.c +1 -0
@@ -673,6 +673,7 @@ static bool ipgre_netlink_encap_parms(ststatic int gre_tap_init (struct net_device *dev) {__gre_tunnel_init (dev); + dev->priv_flags |=IFF_LIVE_ADDR_CHANGE ;return ip_tunnel_init (dev); }
From: Stephen Hemminger <[email protected]>
Date: Sat, 27 Dec 2014 10:01:42 -0800
Quoted 5 lines
The GRE tap device supports Ethernet over GRE, but doesn't care about the source address of the tunnel, therefore it can be changed without bring device down.
Signed-off-by Stephen Hemminger <[email protected]>
Applied.