CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/07/20 07:55:33
Modified files:
sys/net : if.c
Log message:
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@
