summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_vops.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-12-20 18:33:44 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-12-20 18:33:44 +0000
commit224769b48e66fb93384e8bf2e225552d3706a2c7 (patch)
treece9b82c59578aba2b6b21289f3dcba94d2515ee1 /sys/kern/vfs_vops.c
parente5175244e0715bec617be80d08e27d4d5daa2978 (diff)
A NET_LOCK() was is missing in tcp_sysctl() which shows up as spl
softnet assert failures. It is better to place the lock into net_sysctl() where all the protocol sysctls are called via pr_sysctl. As calling sysctl(2) is in the slow path, doing fine grained locking has no benefit. Many sysctl cases copy out a struct. Having a lock around that keeps the struct consistent. Put assertions in the protocol sysctls that need it. OK mpi@
Diffstat (limited to 'sys/kern/vfs_vops.c')
0 files changed, 0 insertions, 0 deletions