CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2023/04/25 10:24:25

Modified files:
        sys/netinet    : if_ether.c 

Log message:
Exclusive net lock or mutex arp_mtx protect the llinfo_arp fields.
So kernel lock is only needed for changing the route rt_flags.  In
arpresolve() protect rt_llinfo lookup and llinfo_arp modification
with arp_mtx.  Grab kernel lock for rt_flags reject modification
only when needed.
Tested by Hrvoje Popovski; OK patrick@ kn@

Reply via email to