diff options
author | 2016-02-10 04:34:14 +0000 | |
---|---|---|
committer | 2016-02-10 04:34:14 +0000 | |
commit | dc4f548cbc8faa4b1140a9a576e1241a5d57c117 (patch) | |
tree | db152759c541d338bca8ced421bdbb528d48aea0 /sys/dev/usb/uts.c | |
parent | bring in dlg's fix from rev 1.10 of the equivalent hppa file: (diff) | |
download | wireguard-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