CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/20 07:53:17

Modified files:
        usr.sbin/bgpd  : rtr_proto.c 

Log message:
Respect RTR min-version in the implicit downgrade path and release
activity lock when closing the connection.

Check min_version in the implict downgrade case and error out if the
suggested version is too low. Also trigger the RTR_EVNT_NEGOTIATION_DONE
event only after parsing all of the header. If the PDU was bad don't
trigger this event.

In the rtr_fsm() when closing a connection check the state of the
active_lock and if the lock is held, reset the cache, release the lock and
recalculate the sets. The internal state is corrupt if a connection error
triggerd during an exchange so it makes no sense to carry a bad cache
around.

OK tb@

Reply via email to