{"push_id":730578585,"size":1,"distinct_size":1,"ref":"refs/heads/lollipop_staging","head":"973d938d3517f0365e4b7531b717d13f0e2732be","before":"fab20de07ffdf6a36b8d1a4f944b49daa83feee9","commits":[{"sha":"973d938d3517f0365e4b7531b717d13f0e2732be","author":{"email":"978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","name":"Nicholas Bellinger"},"message":"iser-target: Add missing target_put_sess_cmd for ImmedateData failure\n\ncommit 6cc44a6fb46e1ecc1c28125aa8fa34d317aa9ea7 upstream.\n\nThis patch addresses a bug where an early exception for SCSI WRITE\nwith ImmediateData=Yes was missing the target_put_sess_cmd() call\nto drop the extra se_cmd->cmd_kref reference obtained during the\nnormal iscsit_setup_scsi_cmd() codepath execution.\n\nThis bug was manifesting itself during session shutdown within\nisert_cq_rx_comp_err() where target_wait_for_sess_cmds() would\nend up waiting indefinately for the last se_cmd->cmd_kref put to\noccur for the failed SCSI WRITE + ImmediateData descriptors.\n\nThis fix follows what traditional iscsi-target code already does\nfor the same failure case within iscsit_get_immediate_data().\n\nReported-by: Sagi Grimberg <sagig@dev.mellanox.co.il>\nCc: Sagi Grimberg <sagig@dev.mellanox.co.il>\nCc: Or Gerlitz <ogerlitz@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","distinct":true,"url":"https://api.github.com/repos/Starship-Android/android_kernel_moto_shamu/commits/973d938d3517f0365e4b7531b717d13f0e2732be"}]}