Date: Tue, 14 Jun 2016 21:09:01 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301898 - head/sys/dev/cxgbe/tom Message-ID: <201606142109.u5EL91xm016643@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Jun 14 21:09:00 2016 New Revision: 301898 URL: https://svnweb.freebsd.org/changeset/base/301898 Log: 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@) Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c ============================================================================== --- head/sys/dev/cxgbe/tom/t4_cpl_io.c Tue Jun 14 21:02:36 2016 (r301897) +++ head/sys/dev/cxgbe/tom/t4_cpl_io.c Tue Jun 14 21:09:00 2016 (r301898) @@ -1418,7 +1418,7 @@ do_rx_data(struct sge_iq *iq, const stru 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__)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606142109.u5EL91xm016643>