CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2023/03/28 06:15:23
Modified files: usr.sbin/bgpd : bgpd.h rtr.c rtr_proto.c session.h Log message: Introduce a semaphore to protect intermediate state from different RTR sessions to leak into the RDE via rtr_recalc. Only run rtr_recalc when the last or only RTR session is done with the update. Run a new timer along to ensure that the semaphore is not hold forever. The timeout is currently a very generous 60sec, no RTR cache should be that slow. OK tb@