]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Handle TCP connection errors with connection callbacks for RPKI
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Thu, 27 Jan 2022 09:14:11 +0000 (11:14 +0200)
committermergify-bot <noreply@mergify.com>
Thu, 24 Feb 2022 06:56:39 +0000 (06:56 +0000)
commitdb3aca462b7d721da85dde12bcc5808f9c32c981
tree5cd269a227fd70fe69acb15b55ac889374c4e8eb
parent892a96beee59e9036a2ccc3354c113ffd7096118
bgpd: Handle TCP connection errors with connection callbacks for RPKI

Before this patch, if the first server crashed or was terminated, RPKI
connection keeps _active_ forever.

With this patch, if we catch connection problem (FATAL), we reset RPKI, to
switch to another available RTR-Server by using configured preference.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
(cherry picked from commit 38775a3c5fdfece7002f0495a76e3c96a7d6417c)
bgpd/bgp_rpki.c