]> git.hungrycats.org Git - linux/commit
[PATCH] module removal race fix
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 13:08:26 +0000 (05:08 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 13:08:26 +0000 (05:08 -0800)
commit52db2a960277bf8b0e90320f6394da1d54bb553c
treebacf2e2cf2db1b3401bc2c174b1df9eef50f7982
parentfaab2e128788b29b53a231b1c150e91cb1a6cadd
[PATCH] module removal race fix

From: Rusty Russell <rusty@au1.ibm.com>

Vatsa spotted this: you can remove a module while it's being initialized,
and that will be bad.  Hole was opened when I dropped the sem around the
init routine (which can probe for other modules).
kernel/module.c