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

[email protected]
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297307

--- Comment #4 from [email protected] ---
A commit in branch main references this bug:

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

commit 7e2781fdcfdbe489cc07572d33dc36bca06a342d
Author:     Kristof Provost <[email protected]>
AuthorDate: 2026-08-07 14:07:09 +0000
Commit:     Kristof Provost <[email protected]>
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.
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.