summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uts.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2016-02-09 06:46:02 +0000
committerdlg <dlg@openbsd.org>2016-02-09 06:46:02 +0000
commit219fa1133a6cab8f5c345bfbe2016ac4da803913 (patch)
tree9ec361b5d64187684c1c9b055f5e36975ce89b74 /sys/dev/usb/uts.c
parentturn off more old crypto in the client: hmac-md5, ripemd, truncated (diff)
downloadwireguard-openbsd-219fa1133a6cab8f5c345bfbe2016ac4da803913.tar.xz
wireguard-openbsd-219fa1133a6cab8f5c345bfbe2016ac4da803913.zip
make __cpu_simple_lock provide serialisation of the critical section.
that in turn makes atomic sequences actually atomic, which in turn means the refcnt api asserts wont fire erronously when if_get and if_put are actually used correctly. such embarrassment. reported by landry@ who also let me debug on the affected machines ok jmatthew@
Diffstat (limited to 'sys/dev/usb/uts.c')
0 files changed, 0 insertions, 0 deletions