diff options
author | 2020-07-20 13:55:32 +0000 | |
---|---|---|
committer | 2020-07-20 13:55:32 +0000 | |
commit | b447f8a0813dbb12008a72102cbdeec1869b1ef1 (patch) | |
tree | 9b67674d93a2ee5f8e2de09cdb136823c57af7b0 /sys/dev/softraid.c | |
parent | Update Spleen kernel fonts to version 1.8.1, bringing the following (diff) | |
download | wireguard-openbsd-b447f8a0813dbb12008a72102cbdeec1869b1ef1.tar.xz wireguard-openbsd-b447f8a0813dbb12008a72102cbdeec1869b1ef1.zip |
Move insertions to `if_list' out of NET_LOCK() because KERNEL_LOCK()
protects this list. Also corresponding assertion added to be sure the
required lock was held.
This is the step to clean locking mess around `if_list'.
Also we are going to protect `if_list' by it's own lock and this will
allow us to avoid lock order issues in future.
ok dlg@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions