Commit 98069cdd authored by Erez Zilber's avatar Erez Zilber Committed by Chris Wright
Browse files

[PATCH] IB/iser: return error code when PDUs may not be sent



iSER limits the number of outstanding PDUs to send. When this threshold is
reached, it should return an error code (-ENOBUFS) instead of setting the
suspend_tx bit (which should be used only by libiscsi). Without this fix,
during logout, open-iscsi over iSER tries to logout forever.

Signed-off-by: default avatarErez Zilber <erezz@voltaire.com>
Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
parent 10c06e62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment