[Bug 268246] crash and panic using pfsync on 13.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Jan 2023 06:29:28 UTC

--- Comment #16 from Kristof Provost <kp@freebsd.org> ---
So my current guess is that there's something wrong with the mbuf that the
pfsync code produced. Presumably that it's not as long as we're expecting it to
be, which causes the fragmentation code to run off the end of the mbuf chain
and blow up.

It's not clear to me how that'd happen, but it would be useful to experiment
with the pfsync interface MTU. Try setting it to less than 4k (maybe back down
to 1500) and see if the panic goes away.

m_get2() allocates external storage for > MCLBYTES (4k) allocations, but that
should still just work, at least according to my reading of the relevant code.
It may be that I'm missing something. The above experiment should provide a
nice data point for that.

You are receiving this mail because:
You are the assignee for the bug.