[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:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297307

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

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

commit b92d13ab60dc0eb929e66edddf6f389e5b56e50d
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:33 +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 on the CC list for the bug.
You are the assignee for the bug.