cxgbe/t4_tom: Fix inverted assertion in r300895. It is RDMA
connections and not others that are allowed to fail the receive window check. Approved by: re (gjb@)
This commit is contained in:
parent
7faa4a7b6d
commit
a2946b6b1b
@ -1418,7 +1418,7 @@ do_rx_data(struct sge_iq *iq, const struct rss_header *rss, struct mbuf *m)
|
||||
|
||||
tp->rcv_nxt += len;
|
||||
if (tp->rcv_wnd < len) {
|
||||
KASSERT(toep->ulp_mode != ULP_MODE_RDMA,
|
||||
KASSERT(toep->ulp_mode == ULP_MODE_RDMA,
|
||||
("%s: negative window size", __func__));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user