commit | 2aed2827dfc2e7d2e385fc1580529a8fc7f33d47 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Mon Apr 21 14:23:03 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 21 14:23:03 2008 -0700 |
tree | 29adbd9b866df063583fb438118c1c73e7e26013 | |
parent | f25c3d613b12b4b6219d03e9930cac5f59541468 [diff] |
[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 <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>