git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RDS/IW+IB: Allow max credit advertise window.
[safe/jmp/linux-2.6]
/
net
/
rds
/
iw_recv.c
diff --git
a/net/rds/iw_recv.c
b/net/rds/iw_recv.c
index
fde470f
..
8683f5f
100644
(file)
--- a/
net/rds/iw_recv.c
+++ b/
net/rds/iw_recv.c
@@
-524,7
+524,7
@@
void rds_iw_attempt_ack(struct rds_iw_connection *ic)
}
/* Can we get a send credit? */
}
/* Can we get a send credit? */
- if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0)) {
+ if (!rds_iw_send_grab_credits(ic, 1, &adv_credits, 0
, RDS_MAX_ADV_CREDIT
)) {
rds_iw_stats_inc(s_iw_tx_throttle);
clear_bit(IB_ACK_IN_FLIGHT, &ic->i_ack_flags);
return;
rds_iw_stats_inc(s_iw_tx_throttle);
clear_bit(IB_ACK_IN_FLIGHT, &ic->i_ack_flags);
return;