aboutsummaryrefslogtreecommitdiff
path: root/lib/kref.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-11-15 00:19:21 -0800
committerRoland Dreier <rolandd@cisco.com>2005-11-15 00:19:21 -0800
commit47f2bce9021b4974ed33b072ebb8348c8145c946 (patch)
tree2d17f2cdc77646d07cb2a598e3d2bcbdf94675ad /lib/kref.c
parent5f068992a1bccda5574b4f6d33458ef806686d7f (diff)
[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>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions