From: Roland Dreier Date: Tue, 15 Nov 2005 08:19:21 +0000 (-0800) Subject: [IB] srp: don't post receive if no send buf available X-Git-Tag: v2.6.15-rc2~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47f2bce9021b4974ed33b072ebb8348c8145c946;p=pandora-kernel.git [IB] srp: don't post receive if no send buf available Have __srp_get_tx_iu() fail if the target port's request limit will not allow the initiator to post a send. This avoids continuing on and posting a receive, and then failing to post a corresponding send. If that happens, then the initiator will end up with an extra receive posted, and if this happens to much, the receive queue will overflow. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed