| To: | davem@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH] IPV6: fix a possible dst leakage in ndisc_send_redirect() |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Tue, 03 Feb 2004 16:27:54 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx, yoshfuji@xxxxxxxxxxxxxx |
| Organization: | USAGI Project |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hello.
D: fix a dst leakage in error path in ndisc_send_redirect().
Thanks.
===== net/ipv6/ndisc.c 1.64 vs edited =====
--- 1.64/net/ipv6/ndisc.c Thu Jan 22 15:38:40 2004
+++ edited/net/ipv6/ndisc.c Tue Feb 3 16:18:36 2004
@@ -1365,6 +1365,7 @@
1, &err);
if (buff == NULL) {
ND_PRINTK1("ndisc_send_redirect: alloc_skb failed\n");
+ dst_release(dst);
return;
}
--
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@xxxxxxxxxxxxxx>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Deadlock problem with dev->refcnt somewhere in netlink/multicast... [PATCH], Willy Tarreau |
|---|---|
| Next by Date: | Re: Conntrack leak (2.6.2rc2), Andi Kleen |
| Previous by Thread: | Patchlet 2.6 iucv, Pete Zaitcev |
| Next by Thread: | Re: [PATCH] IPV6: fix a possible dst leakage in ndisc_send_redirect(), David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |