CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2020/04/12 00:59:54
Modified files: sys/net : if_aggr.c Log message: take NET_LOCK in aggr_clone_destroy() before calling aggr_p_dtor() aggr_p_dtor() calls ifpromisc(), and ifpromisc() callers need to be holding NET_LOCK to make changes to if_flags and if_pcount, and before calling the interfaces ioctl to apply the flag change. i found this while reading code with my eyes, and was able to trigger the NET_ASSERT_LOCKED in the vlan_ioctl path. ok visa@