[Bug 297307] if_pfsync: pfsync_sendout() silently and permanently fails to transmit when pfsync MTU exceeds MJUMPAGESIZE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 08 Aug 2026 09:08:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297307

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=7e2781fdcfdbe489cc07572d33dc36bca06a342d

commit 7e2781fdcfdbe489cc07572d33dc36bca06a342d
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-08-07 14:07:09 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-08-08 09:02:50 +0000

    pfsync: handle large MTU pfsync interfaces

    pfsync packets were allocated with m_get2(), which can't return packets
    larger than MJUMPAGESIZE. As a result 9k MTU pfsync interfaces simply
didn't work.

    Use m_get3(), which can allocate sufficiently large mbufs.

    Extend the pfsync:bulk test case to provoke this problem.

    PR:             297307
    MFC after:      2 weeks
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 sys/netpfil/pf/if_pfsync.c     |  2 +-
 tests/sys/netpfil/pf/pfsync.sh | 11 ++++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.