remarkable-linux/drivers/isdn
Jan Kiszka 88c896ef87 CAPI: Rework application locking
Drop the application rw-lock in favour of RCU. This synchronizes
capi20_release against capi_ctr_handle_message which may dereference an
application from (soft-)IRQ context. Any other access to the application
list is now protected by the capi_controller_lock as well. This also
allows to safely inspect applications for /proc dumping by holding
capi_controller_lock.

At this chance, drop some useless release_in_progress checks where we
obtained the application pointer from the list (which becomes NULL on
release_in_progress).

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 16:01:22 -08:00
..
act2000 Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
capi CAPI: Rework application locking 2010-02-16 16:01:22 -08:00
divert headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
gigaset proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
hardware mISDN: positive error return should be negative in mode_hfcmulti() 2010-02-03 20:16:48 -08:00
hisax hisax: timeout off by one in waitrecmsg() 2010-02-03 20:16:46 -08:00
hysdn proc_fops: convert drivers/isdn/ to seq_file 2010-01-14 03:10:54 -08:00
i4l Merge branch 'for-next' into for-linus 2009-12-07 18:36:35 +01:00
icn Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
mISDN mISDN: use DECLARE_COMPLETION_ONSTACK for non-constant completion 2009-12-18 20:30:11 -08:00
pcbit Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
sc Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile mISDN fix main ISDN Makefile 2008-08-02 16:28:20 +02:00