CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/07/17 13:57:32
Modified files:
sys/net : rtsock.c
Log message:
Convert struct rtpcb malloc(9) to pool_get(9). PCB for routing
socket is only used in process context, so pass PR_WAITOK to
pool_init(9). The possible sleep in pool_put(9) should not hurt
as route_detach() is only called by soclose(9). As both pr_attach()
and pr_detach() are always called with kernel lock, PR_RWLOCK is
not needed.
OK mpi@
