Source-Changes archive

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

CVS commit: [netbsd-9] src



Module Name:    src
Committed By:   martin
Date:           Sat Aug 24 16:46:35 UTC 2024

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

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

        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.282.2.6 -r1.282.2.7 src/sys/netinet/if_arp.c
cvs rdiff -u -r1.234.2.1 -r1.234.2.2 src/sys/netinet/in.c
cvs rdiff -u -r1.37.2.1 -r1.37.2.2 src/tests/net/arp/t_arp.sh
cvs rdiff -u -r1.15 -r1.15.14.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