summaryrefslogtreecommitdiff
path: root/bgpd/bgp_updgrp_packet.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-12-04 23:38:34 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-12-20 23:09:32 +0200
commit5b51fbda0cf7a1085c2b8629551753247bb71a51 (patch)
tree14d0da253be4e122a65faf76bb55c552dfc65ee5 /bgpd/bgp_updgrp_packet.c
parent80f5df3f09a19c4a8f52b43c55fe9885b9ce42a1 (diff)
bgpd: Validate only affected RPKI prefixes instead of a full RIB
Before this fix, if rpki_sync_socket_rtr socket returns EAGAIN, then ALL routes in the RIB are revalidated which takes lots of CPU and some unnecessary traffic, e.g. if using BMP servers. With a full feed it would waste 50-80Mbps. Instead we should try to drain an existing pipe (another end), and revalidate only affected prefixes. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
0 files changed, 0 insertions, 0 deletions