Re: [PATCH] fix bad locking in drivers/base/driver.c

From: Chris Wright
Date: Mon Jan 24 2005 - 14:08:00 EST


* Jirka Kosina (jikos@xxxxxxxx) wrote:
> there has been (for quite some time) a bug in function driver_unregister()
> - the lock/unlock sequence is protecting nothing and the actual
> bus_remove_driver() is called outside critical section.

Re-read the comment. It's intentionally done that way.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/