Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src



Module Name:    src
Committed By:   martin
Date:           Sat Sep 21 12:26:49 UTC 2024

Modified Files:
        src/sbin/ifconfig [netbsd-10]: carp.c ifconfig.8
        src/sys/netinet [netbsd-10]: ip_carp.c
        src/tests/net/carp [netbsd-10]: t_basic.sh

Log Message:
Pull up following revision(s) (requested by rin in ticket #902):

        sbin/ifconfig/carp.c: revision 1.15
        sbin/ifconfig/ifconfig.8: revision 1.125
        tests/net/carp/t_basic.sh: revision 1.9
        sys/netinet/ip_carp.c: revision 1.118
        sys/netinet/ip_carp.c: revision 1.119

Fix parser for carp state.

The state values are uppercase words INIT, BACKUP and MASTER.

Use backing device to send advertisements. Otherwise the packets originate
from the virtual MAC address, which confuses switches.

Select virtual address as sender if backing interface is anonymous.

Use correct scope for IPv6.

Don't expect the net/carp/t_basic/carp_handover_ipv6_halt_nocarpdevip
and carp_handover_ipv6_ifdown_nocarpdevip test cases to fail.  At
least on the TNF i386 and amd64 testbeds, they pass more often than
not since the commit of src/sys/netinet/ip_carp.c 1.119 by mlelstv on
2023.04.07.06.44.08.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.6.1 src/sbin/ifconfig/carp.c
cvs rdiff -u -r1.124.2.2 -r1.124.2.3 src/sbin/ifconfig/ifconfig.8
cvs rdiff -u -r1.117 -r1.117.4.1 src/sys/netinet/ip_carp.c
cvs rdiff -u -r1.8 -r1.8.8.1 src/tests/net/carp/t_basic.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index