diff options
author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2013-04-08 00:19:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-08 23:16:57 +0200 |
commit | 65d8013cbdc661f9cb7645148de1facfe3d0c88a (patch) | |
tree | e2a977f555e08b420b9f4c926792d21cd10aba8a /lib/locking-selftest.c | |
parent | af_iucv: fix recvmsg by replacing skb_pull() function (diff) | |
download | linux-65d8013cbdc661f9cb7645148de1facfe3d0c88a.tar.xz linux-65d8013cbdc661f9cb7645148de1facfe3d0c88a.zip |
qeth: fix qeth_wait_for_threads() deadlock for OSN devices
Any recovery thread will deadlock when calling qeth_wait_for_threads(), most
notably when triggering a recovery on an OSN device.
This patch will store the recovery thread's task pointer on recovery
invocation and check in qeth_wait_for_threads() respectively to avoid
deadlocks.
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Reviewed-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions