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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 Feb 2025 19:29:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284872

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

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

commit 1776633438f24df09cb9815650891bcef0152874
Author:     Zhenlei Huang <zlei@FreeBSD.org>
AuthorDate: 2025-02-22 19:26:33 +0000
Commit:     Zhenlei Huang <zlei@FreeBSD.org>
CommitDate: 2025-02-22 19:26:33 +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

 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.