Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d40557c authored by Xin Long's avatar Xin Long Committed by David S. Miller
Browse files

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: default avatarXin Long <lucien.xin@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d51711c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1311,6 +1311,7 @@ static void ip6gre_tap_setup(struct net_device *dev)
	dev->features |= NETIF_F_NETNS_LOCAL;
	dev->priv_flags &= ~IFF_TX_SKB_SHARING;
	dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
	netif_keep_dst(dev);
}

static bool ip6gre_netlink_encap_parms(struct nlattr *data[],