]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Fix DST handling bug in ip6ip6_err().
authorVille Nuorvala <vnuorval@tcs.hut.fi>
Wed, 9 Jul 2003 13:49:51 +0000 (06:49 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Wed, 9 Jul 2003 13:49:51 +0000 (06:49 -0700)
net/ipv6/ip6_tunnel.c

index 58dfe07c6b40b2f8478047c0a5591c16d2b8df88..ea081957c5d8c5c57478a5f38c8ce13248c3c06b 100644 (file)
@@ -506,7 +506,7 @@ void ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
                icmpv6_send(skb2, rel_type, rel_code, rel_info, skb2->dev);
 
                if (rt)
-                       dst_free(&rt->u.dst);
+                       dst_release(&rt->u.dst);
 
                kfree_skb(skb2);
        }