summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-07-29 05:52:14 +0930
committerRusty Russell <rusty@rustcorp.com.au>2015-07-29 06:13:22 +0930
commitfe0d34d242fa1e0dec059e774d146a705420bc9a (patch)
treea6e1fcef9810938b32af5079207143fe72bdbd5e /fs/char_dev.c
parentd61be4b3f2684b6d76ef8c1d28ecdeb9bb20fa8f (diff)
downloadop-kernel-dev-fe0d34d242fa1e0dec059e774d146a705420bc9a.zip
op-kernel-dev-fe0d34d242fa1e0dec059e774d146a705420bc9a.tar.gz
module: weaken locking assertion for oops path.
We don't actually hold the module_mutex when calling find_module_all from module_kallsyms_lookup_name: that's because it's used by the oops code and we don't want to deadlock. However, access to the list read-only is safe if preempt is disabled, so we can weaken the assertion. Keep a strong version for external callers though. Fixes: 0be964be0d45 ("module: Sanitize RCU usage and locking") Reported-by: He Kuang <hekuang@huawei.com> Cc: stable@kernel.org Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud