OpenBSD/src pWxtSjrusr.sbin/bgpd timer.c session.c

   Change timer_nextisdue() and timer_nextduein() to take the current time
   as an argument. This way getmonotime() can be called once at the start
   of looping over all peers instead of twice during the loop.
   Makes a big difference with many peers.
   OK florian@ sthen@
VersionDeltaFile
1.18+5-5usr.sbin/bgpd/timer.c
1.381+5-3usr.sbin/bgpd/session.c
1.138+3-3usr.sbin/bgpd/session.h
+13-113 files

UnifiedSplitRaw