Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/netinet6
Module Name: src
Committed By: ozaki-r
Date: Wed Nov 18 05:16:22 UTC 2015
Modified Files:
src/sys/netinet6: nd6.c nd6.h nd6_nbr.c
Log Message:
Stop passing llinfo_nd6 to nd6_ns_output
This is a restructuring for coming changes to nd6 (replacing
llinfo_nd6 with llentry). Once we have a lock of llinfo_nd6,
we need to pass it to nd6_ns_output with holding the lock.
However, in a function subsequent to nd6_ns_output, the llinfo_nd6
may be looked up, i.e., its lock would be acquired again.
To avoid such a situation, pass only required data (in6_addr) to
nd6_ns_output instead of passing whole llinfo_nd6.
Inspired by FreeBSD
To generate a diff of this commit:
cvs rdiff -u -r1.178 -r1.179 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.66 -r1.67 src/sys/netinet6/nd6.h
cvs rdiff -u -r1.110 -r1.111 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