Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: ozaki-r
Date: Wed Sep 25 09:52:32 UTC 2019
Modified Files:
src/sys/netinet: if_arp.c
src/sys/netinet6: nd6.c nd6.h nd6_nbr.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.287 -r1.288 src/sys/netinet/if_arp.c
cvs rdiff -u -r1.263 -r1.264 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.87 -r1.88 src/sys/netinet6/nd6.h
cvs rdiff -u -r1.173 -r1.174 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