[openib-general] [PATCH] mad_rmpp: fix check for old ACK
Jack Morgenstein
jackm at mellanox.co.il
Tue Feb 28 06:34:04 PST 2006
Test for old ACK does not include most recent ACK.
Signed-off-by: Jack Morgenstein <jackm at mellanox.co.il>
Index: drivers/infiniband/core/mad_rmpp.c
===================================================================
--- drivers/infiniband/core/mad_rmpp.c (revision 5525)
+++ drivers/infiniband/core/mad_rmpp.c (working copy)
@@ -666,7 +666,7 @@ static void process_rmpp_ack(struct ib_m
return;
}
- if (newwin < mad_send_wr->newwin || seg_num < mad_send_wr->last_ack)
+ if (newwin < mad_send_wr->newwin || seg_num <= mad_send_wr->last_ack)
goto out; /* Old ACK */
if (seg_num > mad_send_wr->last_ack) {
More information about the general
mailing list