Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-8] src/sys
Module Name: src
Committed By: snj
Date: Tue Jan 2 10:56:58 UTC 2018
Modified Files:
src/sys/netinet [netbsd-8]: in.c ip_output.c
src/sys/netinet6 [netbsd-8]: in6.c in6_pcb.c
src/sys/sys [netbsd-8]: lwp.h
Log Message:
Pull up following revision(s) (requested by ozaki-r in ticket #463):
sys/netinet/in.c: revision 1.212
sys/netinet/ip_output.c: revision 1.288
sys/netinet6/in6.c: revision 1.256
sys/netinet6/in6_pcb.c: revision 1.163
sys/sys/lwp.h: revision 1.176
Add missing curlwp_bindx
--
Add missing curlwp_bindx
--
Check LP_BOUND is surely set in curlwp_bindx
This may find an extra call of curlwp_bindx.
--
Fix usage of curlwp_bind in ip_output
curlwp_bindx must be called in LIFO order, i.e., we can't call curlwp_bind
and curlwp_bindx like this:
bound1 = curlwp_bind();
bound2 = curlwp_bind();
curlwp_bindx(bound1);
curlwp_bindx(bound2);
ip_outout did so if NET_MPSAFE. Fix it.
--
Fix wrong usage of psref_held
We can't use it for checking if a caller does NOT hold a given target.
If you want to do it you should have psref_not_held or something.
To generate a diff of this commit:
cvs rdiff -u -r1.203.2.4 -r1.203.2.5 src/sys/netinet/in.c
cvs rdiff -u -r1.279.2.3 -r1.279.2.4 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.245.2.4 -r1.245.2.5 src/sys/netinet6/in6.c
cvs rdiff -u -r1.161.4.1 -r1.161.4.2 src/sys/netinet6/in6_pcb.c
cvs rdiff -u -r1.174 -r1.174.4.1 src/sys/sys/lwp.h
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