CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2022/08/06 09:57:59

Modified files:
        sys/net        : if.c pf_ioctl.c 
        sys/netinet    : in.c in_pcb.c ip_input.c ip_ipsp.c ip_mroute.c 
                         raw_ip.c udp_usrreq.c 
        sys/netinet6   : in6.c in6_pcb.c ip6_input.c ip6_mroute.c nd6.c 
                         raw_ip6.c 
        sys/sys        : systm.h 

Log message:
Clean up the netlock macros.  Merge NET_RLOCK_IN_SOFTNET and
NET_RLOCK_IN_IOCTL, which have the same implementation.  The R and
W are hard to see, call the new macro NET_LOCK_SHARED.  Rename the
opposite assertion from NET_ASSERT_WLOCKED to NET_ASSERT_LOCKED_EXCLUSIVE.
Update some outdated comments about net locking.
OK mpi@ mvs@

Reply via email to