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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Aug 2026 07:27:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297307

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit ef676ecff1c36b9273394c5628313e65ba420a20
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-08-07 14:07:09 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-08-24 07:17:28 +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")

    (cherry picked from commit 7e2781fdcfdbe489cc07572d33dc36bca06a342d)

 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 the assignee for the bug.
You are on the CC list for the bug.