summaryrefslogtreecommitdiff
path: root/sys/net/route.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-07 08:47:29 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-10-07 08:47:29 +0000
commit760f776a7ddeb43d69746282cc5b3f03a86d10d3 (patch)
tree985eee6f0952dc7bdebef9ab5347a2f9e92afd1c /sys/net/route.h
parentf65cbbd9acc27d42ed33838bbf0bac14a7b80b2b (diff)
Do not protect the SIOCSIFADDR call by splnet(). Drivers already
raise it inside their ioctl handler (except for carp(4), what else?). In general, global structures manipulated in the softnet codepath only require a splsoftnet() protection when they are modified in process (ioctl) context. Also put some IPL_SOFNET asserts in functions accessing global structures. Previous version diff ok mikeb@, with inputs from and ok bluhm@
Diffstat (limited to 'sys/net/route.h')
0 files changed, 0 insertions, 0 deletions