]> git.hungrycats.org Git - linux/commit
[PATCH] USB: race condition in open of w9968cf
authorOliver Neukum <oliver@neukum.org>
Thu, 25 Mar 2004 08:53:25 +0000 (00:53 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 25 Mar 2004 08:53:25 +0000 (00:53 -0800)
commitaf6f5064170ebb6472c9d21928b58d324ae9e544
treea58baf910818a16168bea06cbdc76c77a593e6df
parentc107b960d49099e5fd0863134df42db2ca2e4e3b
[PATCH] USB: race condition in open of w9968cf

there's a race in how open handles multiple openers.
You implement exclusive opening and wait for close
in case of further openers. However if there are more than one
waiter, only one of them must be allowed to proceed.
drivers/usb/media/w9968cf.c