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:
np 2016-06-14 21:09:00 +00:00
parent 7faa4a7b6d
commit a2946b6b1b

View File

@ -1418,7 +1418,7 @@ do_rx_data(struct sge_iq *iq, const struct rss_header *rss, struct mbuf *m)
tp->rcv_nxt += len; tp->rcv_nxt += len;
if (tp->rcv_wnd < 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__)); ("%s: negative window size", __func__));
} }