From: "Denis V. Lunev" <den@openvz.org>
To: den@openvz.org, adobriyan@openvz.org, xemul@openvz.org,
dev@openvz.org, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org,
davem@davemloft.net
Cc: netdev@vger.kernel.org, devel@openvz.org
Subject: [PATCH] Freeing alive inet6 address
Date: Fri, 7 Sep 2007 14:21:18 +0400 [thread overview]
Message-ID: <20070907102118.GA27780@iris.sw.ru> (raw)
From: Denis V. Lunev <den@openvz.org>
addrconf_dad_failure calls addrconf_dad_stop which takes referenced address
and drops the count. So, in6_ifa_put perrformed at out: is extra. This
results in message: "Freeing alive inet6 address" and not released dst entries.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
--- ./net/ipv6/ndisc.c.ipv6dad 2007-09-03 16:54:32.000000000 +0400
+++ ./net/ipv6/ndisc.c 2007-09-07 13:34:30.000000000 +0400
@@ -736,7 +736,7 @@ static void ndisc_recv_ns(struct sk_buff
* so fail our DAD process
*/
addrconf_dad_failure(ifp);
- goto out;
+ return;
} else {
/*
* This is not a dad solicitation.
next reply other threads:[~2007-09-07 11:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-07 10:21 Denis V. Lunev [this message]
2007-09-11 9:08 ` [PATCH] Freeing alive inet6 address David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070907102118.GA27780@iris.sw.ru \
--to=den@openvz.org \
--cc=adobriyan@openvz.org \
--cc=davem@davemloft.net \
--cc=dev@openvz.org \
--cc=devel@openvz.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.org \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).