diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-06-06 11:10:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 01:46:42 -0400 |
commit | f8c1b7ce00254a5bb75d5b5e5ef1601326a0e08e (patch) | |
tree | aa28a0d1e82a3d48a48079365ff168846774c576 /net/ipv4 | |
parent | 6cc55e096f1f2a8585cf8dc9049862f2376f66d4 (diff) |
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.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_gre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ip_gre.c b/net/ipv4/ip_gre.c index c5a557a06a31..9b842544aea3 100644 --- a/net/ipv4/ip_gre.c +++ b/net/ipv4/ip_gre.c | |||
@@ -649,6 +649,7 @@ static void ipgre_tap_setup(struct net_device *dev) | |||
649 | { | 649 | { |
650 | ether_setup(dev); | 650 | ether_setup(dev); |
651 | dev->netdev_ops = &gre_tap_netdev_ops; | 651 | dev->netdev_ops = &gre_tap_netdev_ops; |
652 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; | ||
652 | ip_tunnel_setup(dev, gre_tap_net_id); | 653 | ip_tunnel_setup(dev, gre_tap_net_id); |
653 | } | 654 | } |
654 | 655 | ||