0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/proto/rpki
Ondrej Zajicek 6d1ae197d1 Nest: Fix several issues with pflags
There were some confusion about validity and usage of pflags, which
caused incorrect usage after some flags from (now removed) protocol-
specific area were moved to pflags.

We state that pflags:

 - Are secondary data used by protocol-specific hooks
 - Can be changed on an existing route (in contrast to copy-on-write
   for primary data)
 - Are irrelevant for propagation (not propagated when changed)
 - Are specific to a routing table (not propagated by pipe)

The patch did these fixes:

 - Do not compare pflags in rte_same(), as they may keep cached values
   like BGP_REF_STALE, causing spurious propagation.

 - Initialize pflags to zero in rte_get_temp(), avoid initialization in
   protocol code, fixing at least two forgotten initializations (krt
   and one case in babel).

 - Improve documentation about pflags
2023-01-01 20:10:23 +01:00
..
config.Y RPKI: Add 'ignore max length' option 2020-10-11 01:00:54 +02:00
Doc RPKI protocol with one cache server per protocol 2016-12-07 09:35:24 +01:00
Makefile Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
packets.c RPKI: Add contextual out-of-bound checks in RTR Prefix PDU handler 2021-12-18 16:35:28 +01:00
packets.h RPKI: fixed some of the extended warnings 2016-12-07 15:35:35 +01:00
rpki.c Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00
rpki.h RPKI: Add 'ignore max length' option 2020-10-11 01:00:54 +02:00
ssh_transport.c RPKI: Remove port (and SSH username) from 'Cache server' output line 2021-01-07 06:04:31 +01:00
tcp_transport.c RPKI: Remove port (and SSH username) from 'Cache server' output line 2021-01-07 06:04:31 +01:00
transport.c RPKI: Implement VRF support 2022-05-19 19:43:59 +02:00
transport.h RPKI: Allow build without libSSH 2020-02-04 10:15:35 +01:00