linux/drivers/isdn/hysdn
Anton Volkov b925ef37b0 hysdn: fix to a race condition in put_log_buffer
The synchronization type that was used earlier to guard the loop that
deletes unused log buffers may lead to a situation that prevents any
thread from going through the loop.

The patch deletes previously used synchronization mechanism and moves
the loop under the spin_lock so the similar cases won't be feasible in
the future.

Found by by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Anton Volkov <avolkov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-07 11:25:14 -07:00
..
Kconfig Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile
boardergo.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
boardergo.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hycapi.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
hysdn_boot.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
hysdn_defs.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hysdn_init.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hysdn_net.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
hysdn_pof.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hysdn_procconf.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
hysdn_proclog.c hysdn: fix to a race condition in put_log_buffer 2017-08-07 11:25:14 -07:00
hysdn_sched.c isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ince1pc.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00