summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uts.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-02-10 04:34:14 +0000
committerdlg <dlg@openbsd.org>2016-02-10 04:34:14 +0000
commitdc4f548cbc8faa4b1140a9a576e1241a5d57c117 (patch)
treedb152759c541d338bca8ced421bdbb528d48aea0 /sys/dev/usb/uts.c
parentbring in dlg's fix from rev 1.10 of the equivalent hppa file: (diff)
downloadwireguard-openbsd-dc4f548cbc8faa4b1140a9a576e1241a5d57c117.tar.xz
wireguard-openbsd-dc4f548cbc8faa4b1140a9a576e1241a5d57c117.zip
protect the bpf ring with splnet as well as the kernel lock.
kernel lock protects it against other cpus, but splnet prevents bpf code running at splsoftnet (eg, like bridge does) from having the rings trampled by a hardware interrupt on the same cpu. ok mpi@ jmatthew@
Diffstat (limited to 'sys/dev/usb/uts.c')
0 files changed, 0 insertions, 0 deletions