git: 4a7d15ebb6af - main - cxgbei: Remove invalid assertion.
John Baldwin
jhb at FreeBSD.org
Mon Jul 19 22:39:27 UTC 2021
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=4a7d15ebb6afe1b662afd2fde0ed2725790a1ba1
commit 4a7d15ebb6afe1b662afd2fde0ed2725790a1ba1
Author: John Baldwin <jhb at FreeBSD.org>
AuthorDate: 2021-07-19 22:36:31 +0000
Commit: John Baldwin <jhb at FreeBSD.org>
CommitDate: 2021-07-19 22:36:31 +0000
cxgbei: Remove invalid assertion.
A non-placed PDU can be delivered by CPL_RX_ISCSI_CMP in the middle of
a burst of placed PDUs (received via DDP) in which case the rcv_nxt
will not match the start of the non-placed PDU.
Reported by: Jithesh Arakkan @ Chelsio
Sponsored by: Chelsio Communications
---
sys/dev/cxgbe/cxgbei/cxgbei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/dev/cxgbe/cxgbei/cxgbei.c b/sys/dev/cxgbe/cxgbei/cxgbei.c
index c70bda7e0436..5135fc68d197 100644
--- a/sys/dev/cxgbe/cxgbei/cxgbei.c
+++ b/sys/dev/cxgbe/cxgbei/cxgbei.c
@@ -592,7 +592,6 @@ do_rx_iscsi_cmp(struct sge_iq *iq, const struct rss_header *rss, struct mbuf *m)
} else {
MPASS(icp->icp_flags & (ICPF_RX_FLBUF));
MPASS(ip->ip_data_len == ip->ip_data_mbuf->m_pkthdr.len);
- MPASS(icp->icp_seq == tp->rcv_nxt);
}
tp->rcv_nxt = icp->icp_seq + pdu_len;
More information about the dev-commits-src-all
mailing list