commit | e346ab343f4f58c12a96725c7b13df9cc2ad56f6 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagig@mellanox.com> | Mon May 19 17:44:22 2014 +0300 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon May 19 14:32:58 2014 -0700 |
tree | 56838c9dc004b3af44b3346118310ed2940dc609 | |
parent | 1e1110c43b1cda9fe77fc4a04835e460550e6b3c [diff] |
Target/iser: Bail from accept_np if np_thread is trying to close In case np_thread state is in RESET/SHUTDOWN/EXIT states, no point for isert to stall there as we may get a hang in case no one will wake it up later. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>