CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/07/02 04:01:37
Modified files:
usr.sbin/bgpd : rde_decide.c
Log message:
Fix bug in prefix_evaluate handling of new prefixes.
If new is not eligible then prefix_peer(new) will blow up since new is NULL.
If the new prefix is eligible then clear old and old_pathid_tx and set
peer - the new path will be recorded in rde_enqueue_updates().
If the new prefix is not eligible then clear new but keep old and
old_pathid_tx. If old is also NULL then nothing changed and an early exit
happens. Else old sets peer and rde_enqueue_updates() records the withdraw.
Found by jsg@, OK tb@