Stop processing UPDATES if the peer is not up.
authorclaudio <claudio@openbsd.org>
Thu, 27 May 2021 16:32:13 +0000 (16:32 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 27 May 2021 16:32:13 +0000 (16:32 +0000)
commitc28a7c1aa6a8ddc853753517489889a60d6313dc
tree393d0956c2c95e8e06eeefcc3d86b4c02b71641c
parent7d88c65b12453634cfedf430d34c9c019c4fd009
Stop processing UPDATES if the peer is not up.
When the RDE issues an UPDATE NOTIFICATION because of some fatal error
like max-prefix count reached the peer is put into state PEER_ERR by
rde_update_err() and all UDPDATEs that are still queued should be dropped.
Noticed and OK deraadt@, OK job@
usr.sbin/bgpd/rde.c