CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2025/08/21 02:49:21
Modified files: sys/net : rtsock.c Log message: Do not take reference on route socket in route_attach(). It is useless, because the rtptable.rtp_lk rwlock protects this socket during rtptable.rtp_list list traversal. Otherwise this reference should be taken just before the rtptable.rtp_list release release in corresponding foreach loop, but not in socket PCB attach. Also, do rtptable.rtp_lk lock release before solock(so) acquisition in route_attach(). ok dlg