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 Aug 24 16:45:05 UTC 2024

Modified Files:
        src/sys/netinet [netbsd-10]: if_arp.c in.c
        src/tests/net/arp [netbsd-10]: t_arp.sh t_dad.sh

Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #812):

        tests/net/arp/t_dad.sh: revision 1.16
        sys/netinet/in.c: revision 1.248
        tests/net/arp/t_arp.sh: revision 1.46
        sys/netinet/if_arp.c: revision 1.314

arp: fix the behavior on detecting an address duplication without IPv4 DAD

On receiving an ARP request that has the same source protocol address as
the own address, i.e., address duplication, the original behavior of
a kernel prior to supporing IPv4 DAD is to send an ARP reply.   It is
the same with a latest kernel with DAD enabled.  However, a latest
kernel without DAD sends back an GARP packet.  Restore the original
behavior.

inet: send GARP on link up if DAD is disabled

This behavior was accidentally removed at rev 1.233.

tests, arp: add tests of address duplications without DAD

tests, arp: add tests for GARP on link up


To generate a diff of this commit:
cvs rdiff -u -r1.311.2.1 -r1.311.2.2 src/sys/netinet/if_arp.c
cvs rdiff -u -r1.247 -r1.247.2.1 src/sys/netinet/in.c
cvs rdiff -u -r1.45 -r1.45.6.1 src/tests/net/arp/t_arp.sh
cvs rdiff -u -r1.15 -r1.15.22.1 src/tests/net/arp/t_dad.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