linux_dsm_epyc7002/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
..
boardergo.c
boardergo.h
hycapi.c
hysdn_boot.c
hysdn_defs.h
hysdn_init.c
hysdn_net.c
hysdn_pof.h
hysdn_procconf.c
hysdn_proclog.c
hysdn_sched.c
ince1pc.h
Kconfig
Makefile