IB/iser: Fix missing return status check in iser_send_data_out
authorSagi Grimberg <sagig@mellanox.com>
Thu, 6 Aug 2015 15:32:48 +0000 (18:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:27 +0000 (18:12 -0400)
commitd16739055bd1f562ae4d83e69f7f7f1cefcfbe16
tree1237d9aabf17bec668ad6f3edc1adb6df37bdae4
parent1156cc80f8fc31f8c52740a9c8051afd8d70faf3
IB/iser: Fix missing return status check in iser_send_data_out

Since commit "IB/iser: Fix race between iser connection teardown..."
iser_initialize_task_headers() might fail, so we need to check that.

Fixes: 7414dde0a6c3a958e (IB/iser: Fix race between iser connection ...)
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_initiator.c