aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_mbuf.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-05-03 00:27:41 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2020-05-03 00:27:41 +0000
commit365e8da44ad4282dfe56c25a651d48d371741026 (patch)
tree0a8d547d9952716133275dc2456f1d80dfeec0b1 /sys/kern/uipc_mbuf.c
parent6edfd179c86cb468242d314a7615c503cc42025b (diff)
downloadsrc-365e8da44ad4282dfe56c25a651d48d371741026.tar.gz
src-365e8da44ad4282dfe56c25a651d48d371741026.zip
Notes
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r--sys/kern/uipc_mbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index cec69d2fd7a2..eaf772e9f7a1 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1628,7 +1628,7 @@ mb_free_mext_pgs(struct mbuf *m)
{
vm_page_t pg;
- MBUF_EXT_PGS_ASSERT(m);
+ M_ASSERTEXTPG(m);
for (int i = 0; i < m->m_epg_npgs; i++) {
pg = PHYS_TO_VM_PAGE(m->m_epg_pa[i]);
vm_page_unwire_noq(pg);
@@ -1775,7 +1775,7 @@ m_unmappedtouio(const struct mbuf *m, int m_off, struct uio *uio, int len)
vm_page_t pg;
int error, i, off, pglen, pgoff, seglen, segoff;
- MBUF_EXT_PGS_ASSERT(m);
+ M_ASSERTEXTPG(m);
error = 0;
/* Skip over any data removed from the front. */