CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2019/05/12 13:53:22
Modified files: sys/net : bridgectl.c if_bridge.c if_bridge.h Log message: Switch the list of span interfaces and interfaces to SMR. This removes the KERNEL_LOCK() around the list iteration in bridge_enqueue(). Since the NET_LOCK() isn't protecting any data structure, release it early in all the code paths coming from the Network Stack to prevent possible deadlock situations with smr_barrier(). bridge_input() is still KERNEL_LOCK()ed as well as bridge_filterrule(). ok visa@