| To: | yoshfuji@xxxxxxxxxxxxxx, <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] IPV6: Fix incorrect dst_entry handling in ip6_tunnel.c |
| From: | Ville Nuorvala <vnuorval@xxxxxxxxxx> |
| Date: | Fri, 4 Jul 2003 16:14:18 +0300 (EEST) |
| Cc: | netdev@xxxxxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi,
I noticed a bug in ip6ip6_err(), please apply this patch!
Thanks,
Ville
diff -Nur linux-2.5.OLD/net/ipv6/ip6_tunnel.c linux-2.5/net/ipv6/ip6_tunnel.c
--- linux-2.5.OLD/net/ipv6/ip6_tunnel.c Fri Jul 4 14:48:21 2003
+++ linux-2.5/net/ipv6/ip6_tunnel.c Fri Jul 4 14:54:53 2003
@@ -506,7 +506,7 @@
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);
}
--
Ville Nuorvala
Research Assistant, Institute of Digital Communications,
Helsinki University of Technology
email: vnuorval@xxxxxxxxxx, phone: +358 (0)9 451 5257
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH][1/3] IPV6: split CONFIG_IPV6_SUBTREES fix, Ville Nuorvala |
|---|---|
| Next by Date: | [PATCH][2/3] IPV6: split CONFIG_IPV6_SUBTREES fix, Ville Nuorvala |
| Previous by Thread: | [PATCH][1/3] IPV6: split CONFIG_IPV6_SUBTREES fix, Ville Nuorvala |
| Next by Thread: | Re: [PATCH] IPV6: Fix incorrect dst_entry handling in ip6_tunnel.c, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |