summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-06-18 14:08:33 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-19 03:38:50 +0200
commitd189634ecab947c10f6f832258b103d0bbfe73cc (patch)
tree22d89d2747004ecdfaa7093734fb3bd96366f59a /net/sctp
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadlinux-d189634ecab947c10f6f832258b103d0bbfe73cc.tar.xz
linux-d189634ecab947c10f6f832258b103d0bbfe73cc.zip
ipv6: Move ipv6 proc file registration to end of init order
/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>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions