[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080612.024203.04460597.yoshfuji@linux-ipv6.org>
Date: Thu, 12 Jun 2008 02:42:03 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: tgraf@...g.ch
Cc: yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv6 addrconf: Fix memory leak when deleting addresses
In article <20080605.112646.51075203.yoshfuji@...ux-ipv6.org> (at Thu, 05 Jun 2008 11:26:46 +0900 (JST)), YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org> says:
> In article <20080604234934.GI20815@...tel.suug.ch> (at Thu, 5 Jun 2008 01:49:34 +0200), Thomas Graf <tgraf@...g.ch> says:
>
> > ip6_del_rt() may fail in which case the dst/route is not released.
>
> If prefix is ::/64 and ...
>
> The only case ip6_del_rt() does not call dst_release() is when rt is
> ip6_null_entry. In that case we should skip whole the logic in the
> caller, anyway.
Well, actually, I've found that this cannot even happen
because rt6_lookup() return NULL whenever it hits
ipv6_null_entry.
So, I'm going to drop this.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists