diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-09-28 01:23:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-30 22:46:42 -0400 |
commit | 2d40557cc702ed8e5edd9bd422233f86652d932e (patch) | |
tree | 192318057e8660e52877b36969dd98b79d30c65c | |
parent | d51711c0557d6dbd26c63144aef32c7b3ec264b9 (diff) |
ip6_gre: ip6gre_tap device should keep dst
The patch 'ip_gre: ipgre_tap device should keep dst' fixed
a issue that ipgre_tap mtu couldn't be updated in tx path.
The same fix is needed for ip6gre_tap as well.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv6/ip6_gre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index 20f66f4c9460..1602b491b281 100644 --- a/net/ipv6/ip6_gre.c +++ b/net/ipv6/ip6_gre.c | |||
@@ -1311,6 +1311,7 @@ static void ip6gre_tap_setup(struct net_device *dev) | |||
1311 | dev->features |= NETIF_F_NETNS_LOCAL; | 1311 | dev->features |= NETIF_F_NETNS_LOCAL; |
1312 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; | 1312 | dev->priv_flags &= ~IFF_TX_SKB_SHARING; |
1313 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; | 1313 | dev->priv_flags |= IFF_LIVE_ADDR_CHANGE; |
1314 | netif_keep_dst(dev); | ||
1314 | } | 1315 | } |
1315 | 1316 | ||
1316 | static bool ip6gre_netlink_encap_parms(struct nlattr *data[], | 1317 | static bool ip6gre_netlink_encap_parms(struct nlattr *data[], |