https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284872

--- Comment #5 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

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

commit 93fbdef51a13b8facac3633f55804a59ca27f635
Author:     Zhenlei Huang <z...@freebsd.org>
AuthorDate: 2025-02-22 19:26:32 +0000
Commit:     Zhenlei Huang <z...@freebsd.org>
CommitDate: 2025-02-22 19:26:32 +0000

    tests: carp: Update test case unicast_v4 to catch PR 284872

    In the current test case unicast_v4, host one acts as a router, but it
    uses if_bridge(4) to verify the reachability to CARP master.
    Unfortunately, if_bridge(4) brings the two CARP hosts into the same
    broadcast domain, thus with an unusual (undocumented) setup, one host
    is in unicast mode but another one in multicast, or two hosts are both
    in multicast mode, the test case can falsely report success.

    Fix that by propagating route via routed(8).

    PR 284872 shows that CARP(4) happens to send packets with multicast
    destination when the unicast peer address is in the range x.x.x.224 ~
    x.x.x.239. Update the peer address in test case to catch that bug.

    PR:             284872
    Reviewed by:    kp
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D49076

 tests/sys/netinet/carp.sh | 38 +++++++++++++++++++++-----------------
 1 file changed, 21 insertions(+), 17 deletions(-)

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

Reply via email to