linux-stable/drivers/isdn
Arnd Bergmann e5b3fa1547 isdn: pcbit: fix interruptible_sleep_on race
interruptible_sleep_on is racy and going away. In case of pcbit,
the driver would run into a timeout if the card is initialized
before we start waiting for it. This uses wait_event to fix the
race. In order to do this, the state machine handling for the
timeout case has to get trivially reorganized so we actually know
whether the timeout has occorred or not.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-02-26 16:06:12 -05:00
..
act2000
capi isdn/kcapi: fix a small underflow 2013-05-20 13:38:14 -07:00
divert ISDN:divert: beautify code: useless 'break', 'return (0)', additional comments. 2013-04-02 14:31:24 -04:00
gigaset Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
hardware isdn: remove deprecated IRQF_DISABLED 2013-10-17 15:13:20 -04:00
hisax isdn/hisax: hex vs decimal typo in prfeatureind() 2014-02-06 21:18:06 -08:00
hysdn procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
i4l isdn: slight optimization of addr compare 2013-12-26 13:31:34 -05:00
icn isdn: icn: NULL dereference printing error message 2013-11-07 19:11:13 -05:00
isdnloop isdnloop: use strlcpy() instead of strcpy() 2013-11-14 16:50:20 -05:00
mISDN Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
pcbit isdn: pcbit: fix interruptible_sleep_on race 2014-02-26 16:06:12 -05:00
sc isdn: use strlcpy() instead strcpy() 2013-12-18 17:53:59 -05:00
Kconfig
Makefile