CVSROOT: /cvs Module name: src Changes by: [email protected] 2025/03/06 16:09:02
Modified files:
sys/net : route.c route.h
Log message:
Protect route entry cache count with mutex.
rtdeletemsg() may be called concurrently. Protect the rt_cachecnt
field of the next hop route with per rtentry mutex. Move all the
RTF_CACHED logic into rt_putgwroute() to handle it in a single
place.
OK mvs@; begrudgingly OK claudio@ on a previous diff
