Module Name: src
Committed By: ozaki-r
Date: Thu Apr 12 04:38:13 UTC 2018
src/sys/net: if.h route.c route.h rtsock.c
Resolve tangled lock dependencies in route.c
This change sweeps remaining lock decisions based on if locked or not by moving
utility functions of rtentry updates from rtsock.c and ensuring holding the
rt_lock. It also improves the atomicity of a update of a rtentry.
To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 src/sys/net/if.h
cvs rdiff -u -r1.208 -r1.209 src/sys/net/route.c
cvs rdiff -u -r1.117 -r1.118 src/sys/net/route.h
cvs rdiff -u -r1.239 -r1.240 src/sys/net/rtsock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.