]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] IB/iser: return error code when PDUs may not be sent
authorErez Zilber <erezz@voltaire.com>
Mon, 22 Jan 2007 13:03:53 +0000 (15:03 +0200)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Feb 2007 16:31:41 +0000 (08:31 -0800)
commit98069cdda7cc8bae988855a3071ba3b88a3a25ec
treeba87413ff51b341ecf15dc4e639d94b26cb0acb1
parent10c06e62e2840202a739c4ca0260d297d3fc50b8
[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: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_initiator.c