summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
committerjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
commit6d4278dde7bbd44ebf209900ed30094580ca9dd2 (patch)
tree679203df2879430d05268b1347f4f262cb4afc37 /sys/net/if_pfsync.c
parent056fb48734bba89aad9ad9db65ec02886cd2f21a (diff)
Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.
OK dlg@, bluhm@ No Opinion mpi@ Not against it claudio@
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index ccb3772d57c..01acf4cb394 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.278 2020/08/24 15:30:58 kn Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.279 2020/12/12 11:49:02 jan Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -1627,7 +1627,7 @@ pfsync_sendout(void)
}
if (max_linkhdr + sc->sc_len > MHLEN) {
- MCLGETI(m, M_DONTWAIT, NULL, max_linkhdr + sc->sc_len);
+ MCLGETL(m, M_DONTWAIT, max_linkhdr + sc->sc_len);
if (!ISSET(m->m_flags, M_EXT)) {
m_free(m);
sc->sc_if.if_oerrors++;