1
linux/drivers/infiniband/ulp
Roland Dreier 47f2bce902 [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 <rolandd@cisco.com>
2005-11-15 00:19:21 -08:00
..
ipoib [IPoIB] no need to set skb->dev right before freeing skb 2005-11-10 10:22:50 -08:00
srp [IB] srp: don't post receive if no send buf available 2005-11-15 00:19:21 -08:00