[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080128.162104.132600552.davem@davemloft.net>
Date: Mon, 28 Jan 2008 16:21:04 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yoshfuji@...ux-ipv6.org
Cc: mitch@...ux.vnet.ibm.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-2.6.25] [IPV6] ADDRLABEL: Fix double free on label
deletion.
From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@...ux-ipv6.org>
Date: Mon, 28 Jan 2008 21:02:22 +0900 (JST)
> If an entry is being deleted because it has only one reference,
> we immediately delete it and blindly register the rcu handler for it,
> This results in oops by double freeing that object.
>
> This patch fixes it by consolidating the code paths for the deletion;
> let its rcu handler delete the object if it has no more reference.
>
> Bug was found by Mitsuru Chinen <mitch@...ux.vnet.ibm.com>
>
> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Applied, thank you.
--
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