[Bug 296944] sys/netpfil/common/rdr:ipfnat_local_redirect test failing in CI

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Aug 2026 05:37:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296944

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

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

commit 008259bb83551cf3d61f273b9bab682e00fa7940
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-08-17 23:23:32 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-08-24 05:35:13 +0000

    ipfilter: Fix checksum update for NAT_DIVERTOUT

    When taking a snapshot of the before ip_len (s1) for comparison with the
    after-translated ip_len (s2), we must convert it from network to host
    byte order before we can use it. Add the missing ntohs() call.

    PR:             296944
    MFC after:      3 days

    (cherry picked from commit c08a97fa27b914988ef092352872b2f455abb7c3)

 sys/netpfil/ipfilter/netinet/ip_nat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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