Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144295
b: refs/heads/master
c: c11470f
h: refs/heads/master
i:
  144293: 8077b1d
  144291: ab9462b
  144287: 1484827
v: v3
  • Loading branch information
Faisal Latif authored and Roland Dreier committed Apr 27, 2009
1 parent a0aad55 commit 7801363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53094c388f11d79f742eaf743c9fd740a881f2c0
refs/heads/master: c11470f9f4d4490cd7e9563f604c4c7868caf6de
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/hw/nes/nes_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include <net/neighbour.h>
#include <net/route.h>
#include <net/ip_fib.h>
#include <net/tcp.h>

#include "nes.h"

Expand Down Expand Up @@ -1514,7 +1515,7 @@ static int check_seq(struct nes_cm_node *cm_node, struct tcphdr *tcph,
rcv_wnd = cm_node->tcp_cntxt.rcv_wnd;
if (ack_seq != loc_seq_num)
err = 1;
else if ((seq + rcv_wnd) < rcv_nxt)
else if (!between(seq, rcv_nxt, (rcv_nxt+rcv_wnd)))
err = 1;
if (err) {
nes_debug(NES_DBG_CM, "%s[%u] create abort for cm_node=%p "
Expand Down

0 comments on commit 7801363

Please sign in to comment.