Source-Changes archive

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

CVS commit: [netbsd-9] src/sys



Module Name:    src
Committed By:   martin
Date:           Mon Sep 30 15:55:40 UTC 2019

Modified Files:
        src/sys/net [netbsd-9]: rtsock_shared.c
        src/sys/netinet [netbsd-9]: if_arp.c
        src/sys/netinet6 [netbsd-9]: nd6.c nd6.h nd6_nbr.c

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

        sys/netinet6/nd6.h: revision 1.88
        sys/net/rtsock_shared.c: revision 1.10
        sys/netinet6/nd6_nbr.c: revision 1.174
        sys/netinet6/nd6.c: revision 1.264
        sys/netinet/if_arp.c: revision 1.283
        sys/netinet/if_arp.c: revision 1.288

Initialize DAD components properly

The original code initialized each component in non-init functions such as
arp_dad_start and nd6_dad_find, conditionally based on a global flag for each.
However, it was racy because the flag and the code around it were not
protected by a lock and could cause a kernel panic at worst.

Fix the issue by initializing the components in bootup as usual.

 -

Initialize dom_mowner for MBUFTRACE


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.9.4.1 src/sys/net/rtsock_shared.c
cvs rdiff -u -r1.282.2.3 -r1.282.2.4 src/sys/netinet/if_arp.c
cvs rdiff -u -r1.256.2.6 -r1.256.2.7 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.86.6.1 -r1.86.6.2 src/sys/netinet6/nd6.h
cvs rdiff -u -r1.166.2.3 -r1.166.2.4 src/sys/netinet6/nd6_nbr.c

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