mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Actually show the values that tripped the assertion "receive 1"
This commit is contained in:
parent
c59eb7cfb5
commit
3abedb4e01
1 changed files with 3 additions and 1 deletions
|
|
@ -730,7 +730,9 @@ restart:
|
|||
(so->so_rcv.sb_cc < so->so_rcv.sb_lowat ||
|
||||
((flags & MSG_WAITALL) && uio->uio_resid <= so->so_rcv.sb_hiwat)) &&
|
||||
m->m_nextpkt == 0 && (pr->pr_flags & PR_ATOMIC) == 0)) {
|
||||
KASSERT(m != 0 || !so->so_rcv.sb_cc, ("receive 1"));
|
||||
KASSERT(m != 0 || !so->so_rcv.sb_cc,
|
||||
("receive: m == %p so->so_rcv.sb_cc == %lu",
|
||||
m, so->so_rcv.sb_cc));
|
||||
if (so->so_error) {
|
||||
if (m)
|
||||
goto dontblock;
|
||||
|
|
|
|||
Loading…
Reference in a new issue