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
390006c70f
commit
c4765d2743
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301898
@ -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