diff options
author | Thomas Graf <tgraf@suug.ch> | 2012-06-18 12:08:33 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-07-12 04:32:16 +0100 |
commit | bb6c2337ae71d5eb2e0c8106d6be2a209f2599df (patch) | |
tree | c298f06429eac31bb1d0328cf188fff23a6930b1 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | b83d32ea5e66121fcf169ac1629836f87658fdcf (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions