]> git.hungrycats.org Git - linux/commit
[PATCH] Modules race fix
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 25 Feb 2003 10:26:20 +0000 (02:26 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 25 Feb 2003 10:26:20 +0000 (02:26 -0800)
commit69508a7cd793db94c8af3e221802a3bb0d9a611f
treeacc969dd77f7bc9b72ba654c49ccd38c3ac34366
parentf9970fe9e9e735867f6e8d81196aea1fc58f0951
[PATCH] Modules race fix

Bob Miller points out that the try_module_get in use_module() can, of
course, fail.  Secondly, there is a race between setting the module
live, and a simultaneous removal of it.
kernel/module.c