aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/crc32c.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-06-05 11:17:37 -0600
committerRusty Russell <rusty@rustcorp.com.au>2010-06-05 11:17:37 +0930
commitbe593f4ce4eb1bd40e38fdc403371f149f6f12eb (patch)
tree693aee53e2d87a8ae92b6276d2aef766e8154814 /crypto/crc32c.c
parent3bafeb6247042dcbb72b0141ec7c7107de9f0b99 (diff)
downloadkernel_samsung_smdk4412-be593f4ce4eb1bd40e38fdc403371f149f6f12eb.tar.gz
kernel_samsung_smdk4412-be593f4ce4eb1bd40e38fdc403371f149f6f12eb.tar.bz2
kernel_samsung_smdk4412-be593f4ce4eb1bd40e38fdc403371f149f6f12eb.zip
module: verify_export_symbols under the lock
It disabled preempt so it was "safe", but nothing stops another module slipping in before this module is added to the global list now we don't hold the lock the whole time. So we check this just after we check for duplicate modules, and just before we put the module in the global list. (find_symbol finds symbols in coming and going modules, too). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'crypto/crc32c.c')
0 files changed, 0 insertions, 0 deletions