[Bug 284872] [carp] Missing byte order correction causing certain unicast announcements to have invalid destination MAC address

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Feb 2025 04:02:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284872

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

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

commit cad2df3e90d19b083de11f940b20678716811459
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-02-22 19:26:33 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-02-25 04:01:22 +0000

    carp: Fix checking IPv4 multicast address

    An IPv4 address stored in `struct in_addr` is in network byte order but
    `IN_MULTICAST` wants host order.

    PR:             284872
    Reported by:    Steven Perreau
    Reported by:    Brett Merrick <brett.merrick@itcollective.nz>
    Reviewed by:    Franco Fichtner <franco@opnsense.org>, ae, kp, glebius
    Tested by:      Steven Perreau
    Fixes:          137818006de5 carp: support unicast
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D49053

    (cherry picked from commit 1776633438f24df09cb9815650891bcef0152874)

 sys/netinet/ip_carp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.