CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2018/04/30 13:07:44

Modified files:
        sys/dev/usb    : if_umb.c 
        sys/netinet    : in.c ip_mroute.c 

Log message:
Reduce the scope of the NET_LOCK() in in_control(). Two functions were
protected: mrt_ioctl() and in_ioctl(). The former has no other callers
and only needs a read lock. The latter will need refactoring to reduce
the lock's scope further. In a first step, establish a single exit point
and protect most of the function body with the NET_LOCK() while removing
the NET_LOCK() from a handful of callers.

suggested by & ok mpi, ok visa

Reply via email to