Update the function name in several assertions in soreceive_dgram().
Approved by: rwatson MFC after: 3 days
This commit is contained in:
parent
a0cc7208a8
commit
3eb652b1c7
@ -1959,7 +1959,7 @@ soreceive_dgram(struct socket *so, struct sockaddr **psa, struct uio *uio,
|
||||
SOCKBUF_LOCK_ASSERT(&so->so_rcv);
|
||||
if (uio->uio_td)
|
||||
uio->uio_td->td_ru.ru_msgrcv++;
|
||||
KASSERT(m == so->so_rcv.sb_mb, ("soreceive: m != so->so_rcv.sb_mb"));
|
||||
KASSERT(m == so->so_rcv.sb_mb, ("soreceive_dgram: m != sb_mb"));
|
||||
SBLASTRECORDCHK(&so->so_rcv);
|
||||
SBLASTMBUFCHK(&so->so_rcv);
|
||||
nextrecord = m->m_nextpkt;
|
||||
@ -1980,12 +1980,12 @@ soreceive_dgram(struct socket *so, struct sockaddr **psa, struct uio *uio,
|
||||
return (0);
|
||||
}
|
||||
KASSERT(m->m_nextpkt == nextrecord,
|
||||
("soreceive: post-control, nextrecord !sync"));
|
||||
("soreceive_dgram: post-control, nextrecord !sync"));
|
||||
if (nextrecord == NULL) {
|
||||
KASSERT(so->so_rcv.sb_mb == m,
|
||||
("soreceive: post-control, sb_mb!=m"));
|
||||
("soreceive_dgram: post-control, sb_mb!=m"));
|
||||
KASSERT(so->so_rcv.sb_lastrecord == m,
|
||||
("soreceive: post-control, lastrecord!=m"));
|
||||
("soreceive_dgram: lastrecord != m"));
|
||||
}
|
||||
|
||||
SOCKBUF_LOCK_ASSERT(&so->so_rcv);
|
||||
|
Loading…
Reference in New Issue
Block a user