https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297307
--- Comment #1 from Kristof Provost <[email protected]> ---
I've not yet managed to reproduce this, but your analysis appears correct.
Fortunately the fix should be trivial:
diff --git a/sys/netpfil/pf/if_pfsync.c b/sys/netpfil/pf/if_pfsync.c
index a64d0ef64a61..db7db987197b 100644
--- a/sys/netpfil/pf/if_pfsync.c
+++ b/sys/netpfil/pf/if_pfsync.c
@@ -2039,7 +2039,7 @@ pfsync_sendout(int schedswi, int c)
return;
}
- m = m_get2(max_linkhdr + b->b_len, M_NOWAIT, MT_DATA, M_PKTHDR);
+ m = m_get3(max_linkhdr + b->b_len, M_NOWAIT, MT_DATA, M_PKTHDR);
if (m == NULL) {
if_inc_counter(sc->sc_ifp, IFCOUNTER_OERRORS, 1);
V_pfsyncstats.pfsyncs_onomem++;
That's against main, but I expect it to just apply to 14 and 15 as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.