summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-06-23 04:26:51 +0000
committerdlg <dlg@openbsd.org>2010-06-23 04:26:51 +0000
commitd11a1a20c287aa3da960efc1e619956584747c6d (patch)
treeb4636f9ebf385d21ddd49985cfc9388f2a5cb92e /sys/kern/kern_physio.c
parentswitch ami over to using mutexes instead of splbio to protect itself. this (diff)
downloadwireguard-openbsd-d11a1a20c287aa3da960efc1e619956584747c6d.tar.xz
wireguard-openbsd-d11a1a20c287aa3da960efc1e619956584747c6d.zip
fetchifs and fetchtable return -1 on error, not !0. in fact, they return
the number of bytes they processed from the kernel on success, so testing against 0 meant that the fib reload code always dropped out early. found by andrew sallaway ok claudio@
Diffstat (limited to 'sys/kern/kern_physio.c')
0 files changed, 0 insertions, 0 deletions