diff options
author | 2017-10-16 13:24:26 +0000 | |
---|---|---|
committer | 2017-10-16 13:24:26 +0000 | |
commit | fab9427f478f4e834b8d6af73a3606731530ec53 (patch) | |
tree | ab1b0aad8da287f37ac1c41a360969e785b38e17 /lib/libc | |
parent | Handle the case where the parent of a carp(4) is being destroyed (diff) | |
download | wireguard-openbsd-fab9427f478f4e834b8d6af73a3606731530ec53.tar.xz wireguard-openbsd-fab9427f478f4e834b8d6af73a3606731530ec53.zip |
Multiple tweaks:
- Assert that all drivers declare a if_ioctl function pointer and stop
checking it against NULL.
- Do not use return statements in ifioctl() where a lock is needed.
- Call if_setlladdr() only if the underlying driver did not report an
error.
ok bluhm@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions