[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080421.142315.226236627.davem@davemloft.net>
Date: Mon, 21 Apr 2008 14:23:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH][NETNS]: The ip6_fib_timer can work with garbage on net
namespace stop.
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Mon, 21 Apr 2008 17:05:50 +0400
> 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>
Applied, thanks Pavel.
--
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