0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00
bird/proto
Ondrej Zajicek 42eb4a1972 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
2024-05-30 12:29:59 +02:00
..
babel Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
bfd Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
bgp Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
mrt Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
ospf Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
perf Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
pipe Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
radv Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
rip Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
rpki Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
static Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00