CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2017/06/07 07:28:02

Modified files:
        sys/net        : route.c 
        sys/netinet    : in_pcb.c 
        sys/netinet6   : nd6_rtr.c 

Log message:
Grab the KERNEL_LOCK() around rtm*() functions.  Routing sockets globals
aren't protected by the NET_LOCK().

While here change lock assertions in rt_{set,put}gwroute(), the NET_LOCK()
is enough.

Tested by Hrvoje Popovski.

ok jmatthew@, claudio@

Reply via email to