summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2011-07-07 18:11:23 +0000
committerart <art@openbsd.org>2011-07-07 18:11:23 +0000
commit22bce29c5f9a889e73b7b15a16f9b2c974ce4862 (patch)
tree6fe2c40648127dcc8f672801d4db46d874a7df41 /sys/net/if_tun.c
parenteffectively revert 1.44. we don't need the compat_43 syscall returns ever. (diff)
downloadwireguard-openbsd-22bce29c5f9a889e73b7b15a16f9b2c974ce4862.tar.xz
wireguard-openbsd-22bce29c5f9a889e73b7b15a16f9b2c974ce4862.zip
There is a bunch of places in the kernel entry points where we don't
hold the kernel lock, but still need call one function that needs it. Instead of grabbing the lock all over the place, move the locks into the affected functions: trapsignal, scdebug*, ktrsyscall, ktrsysret, systrace_redirect and ADDUPROF. In the cases we already hold the biglock we'll just recurse. kettenis@, beck@ ok
Diffstat (limited to 'sys/net/if_tun.c')
0 files changed, 0 insertions, 0 deletions