[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080424.011406.109706186.yoshfuji@linux-ipv6.org>
Date: Thu, 24 Apr 2008 01:14:06 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [PATCH][NETNS]: The ip6_fib_timer can work with garbage on net
namespace stop.
In article <480C912E.70900@...nvz.org> (at Mon, 21 Apr 2008 17:05:50 +0400), Pavel Emelyanov <xemul@...nvz.org> says:
> The del_timer() function doesn't guarantee, that the timer callback
> is not active by the time it exits.
>
> Thus, the fib6_net_exit() may kfree() all the data, that is required
> by the fib6_run_gc(). The race window is tiny, but slab poisoning can
> trigger this bug.
>
> Using del_timer_sync() will cure this.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@...ux-ipv6.org>
Also suitable for -stable.
--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