{"push_id":883351434,"size":1,"distinct_size":1,"ref":"refs/heads/bullhead","head":"db409e2d0e8e4c25dcf6925fcf598cd6eefd04b6","before":"217141dadd2831a424be107b5ceea36e2e0cd33a","commits":[{"sha":"db409e2d0e8e4c25dcf6925fcf598cd6eefd04b6","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"iscsi-target: Fix rx_login_comp hang after login failure\n\nThis patch addresses a case where iscsi_target_do_tx_login_io()\nfails sending the last login response PDU, after the RX/TX\nthreads have already been started.\n\nThe case centers around iscsi_target_rx_thread() not invoking\nallow_signal(SIGINT) before the send_sig(SIGINT, ...) occurs\nfrom the failure path, resulting in RX thread hanging\nindefinately on iscsi_conn->rx_login_comp.\n\nNote this bug is a regression introduced by:\n\n  commit e54198657b65625085834847ab6271087323ffea\n  Author: Nicholas Bellinger <nab@linux-iscsi.org>\n  Date:   Wed Jul 22 23:14:19 2015 -0700\n\n      iscsi-target: Fix iscsit_start_kthreads failure OOPs\n\nTo address this bug, complete ->rx_login_complete for good\nmeasure in the failure path, and immediately return from\nRX thread context if connection state did not actually reach\nfull feature phase (TARG_CONN_STATE_LOGGED_IN).\n\nCc: Sagi Grimberg <sagig@mellanox.com>\nCc: <stable@vger.kernel.org> # v3.10+\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>","distinct":true,"url":"https://api.github.com/repos/hohoxu/n5kernel/commits/db409e2d0e8e4c25dcf6925fcf598cd6eefd04b6"}]}