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

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

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

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

commit 1776633438f24df09cb9815650891bcef0152874
Author:     Zhenlei Huang <[email protected]>
AuthorDate: 2025-02-22 19:26:33 +0000
Commit:     Zhenlei Huang <[email protected]>
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 <[email protected]>
    Reviewed by:    Franco Fichtner <[email protected]>, 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.
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.