diff options
author | 2010-06-23 04:26:51 +0000 | |
---|---|---|
committer | 2010-06-23 04:26:51 +0000 | |
commit | d11a1a20c287aa3da960efc1e619956584747c6d (patch) | |
tree | b4636f9ebf385d21ddd49985cfc9388f2a5cb92e /sys/kern/kern_physio.c | |
parent | switch ami over to using mutexes instead of splbio to protect itself. this (diff) | |
download | wireguard-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