From: Pavel Emelyanov Date: Mon, 21 Apr 2008 21:23:03 +0000 (-0700) Subject: [NETNS]: The ip6_fib_timer can work with garbage on net namespace stop. X-Git-Tag: v2.6.26-rc1~1095^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aed2827dfc2e7d2e385fc1580529a8fc7f33d47;p=pandora-kernel.git [NETNS]: The ip6_fib_timer can work with garbage on net namespace stop. 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed