summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv6/ip6_gre.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv6/ip6_gre.c')
-rw-r--r--kernel/net/ipv6/ip6_gre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/net/ipv6/ip6_gre.c b/kernel/net/ipv6/ip6_gre.c
index a38d3ac0f..69f4f689f 100644
--- a/kernel/net/ipv6/ip6_gre.c
+++ b/kernel/net/ipv6/ip6_gre.c
@@ -361,6 +361,7 @@ static void ip6gre_tunnel_uninit(struct net_device *dev)
struct ip6gre_net *ign = net_generic(t->net, ip6gre_net_id);
ip6gre_tunnel_unlink(ign, t);
+ ip6_tnl_dst_reset(t);
dev_put(dev);
}