aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAnton Vorontsov <[email protected]>2012-05-31 16:26:24 -0700
committerLinus Torvalds <[email protected]>2012-05-31 17:49:30 -0700
commitaf1be5a578a1ccc9961c55290f8c509a00a69036 (patch)
treef8659ba36228582a114c7809bdf580640eb626cf /net/lapb/lapb_out.c
parent2214f707de257c35773d5cd68cec9e31b91e01ca (diff)
blackfin: fix possible deadlock in decode_address()
Oleg Nesterov found an interesting deadlock possibility: > sysrq_showregs_othercpus() does smp_call_function(showacpu) > and showacpu() show_stack()->decode_address(). Now suppose that IPI > interrupts the task holding read_lock(tasklist). To fix this, blackfin should not grab the write_ variant of the tasklist lock, read_ one is enough. Suggested-by: Oleg Nesterov <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]> Cc: Mike Frysinger <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions