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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Nov 2026 22:21:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296944

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

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

commit 72cc9e3766f4222fa7fc462bc669dcf668e8b334
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2026-08-26 05:27:28 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2026-11-09 22:20:49 +0000

    ipfilter: Only recalculate the UDP header when we have one

    When ipf_nat_out processes NAT_DIVERTOUT (ipnat rdr statements)
    it also fixes the checksum in the UDP header. Test for a UDP header
    before adjusting its length.

    While we are here, the length in the UDP header must be converted
    from network byte order to host byte order. Add the missing ntohs().

    PR:             296944
    MFC after:      3 days

 sys/netpfil/ipfilter/netinet/ip_nat.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

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