From: Sagi Grimberg Date: Wed, 2 Jul 2014 13:19:26 +0000 (+0300) Subject: Target/iser: Avoid calling rdma_disconnect twice X-Git-Tag: fixes-for-v3.18-merge-window~98^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38a8316b5d80ddee071d493bae567185c07de359;p=pandora-kernel.git Target/iser: Avoid calling rdma_disconnect twice rdma_disconnect may be called in 2 code flows: - isert_wait_conn: disconnect initiated be the target - disconnected_handler: disconnect invoked by the initiator In case isert_conn->disconnect is true then rdma_disconnect was called in disconnected handler, no need to call it again from isert_wait_conn. Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed