aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-06-18 12:08:33 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 08:47:37 -0700
commit5eceb057268c275e8193a03ed159bf540038feac (patch)
treeb6ffd2d8578febb613c69ef38a6267ba9189a357 /net/lapb/lapb_out.c
parent76886430203577bfa3b437630058aa0346cb3168 (diff)
ipv6: Move ipv6 proc file registration to end of init order
[ Upstream commit d189634ecab947c10f6f832258b103d0bbfe73cc ] /proc/net/ipv6_route reflects the contents of fib_table_hash. The proc handler is installed in ip6_route_net_init() whereas fib_table_hash is allocated in fib6_net_init() _after_ the proc handler has been installed. This opens up a short time frame to access fib_table_hash with its pants down. Move the registration of the proc files to a later point in the init order to avoid the race. Tested :-) Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions