0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00
bird/nest
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
..
a-path_test.c Merge remote-tracking branch 'origin/master' into backport 2022-07-11 11:08:10 +02:00
a-path.c Merge remote-tracking branch 'origin/master' into backport 2022-07-11 11:08:10 +02:00
a-set_test.c Fixed resource initialization in unit tests 2022-03-09 10:30:42 +01:00
a-set.c Filter: Implement for loops 2022-06-27 21:13:32 +02:00
attrs.h Filter: Add some minor functions for f_tree and EC 2022-10-03 20:18:12 +02:00
bfd.h BFD: Allow per-request session options 2020-11-08 15:33:22 +01:00
bird.h Initial commit on integrated BIRD 2015-11-05 12:48:52 +01:00
cli.c CLI: Fix continuation lines after final one 2019-11-26 16:43:09 +01:00
cli.h CLI: Fix for long-lived sessions during high loads 2022-12-10 17:32:42 +01:00
cmds.c Moved config-related allocations to config_pool and showing its size in memory usage 2022-11-01 16:38:24 +01:00
cmds.h Filter refactoring: dropped the recursion from the interpreter 2019-02-20 22:30:54 +01:00
config.Y Doc: Add documentation for "show route (import|export) table" 2022-10-18 04:25:29 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
iface.c Nest: Do not ignore secondary flag changes in ifa updates 2021-12-18 01:09:52 +01:00
iface.h Nest: Fix neighbor handling for colliding ranges 2020-05-11 04:29:36 +02:00
locks.c Lib: Add and use ev_new_init() 2018-10-01 15:55:23 +02:00
locks.h Nest: VRF support for neighbor cache and olock code 2017-09-12 15:49:36 +02:00
Makefile Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
neighbor.c Slab allocator can free the blocks without knowing the parent structure 2022-04-06 18:14:08 +02:00
password.c Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
password.h Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
proto-hooks.c Dropping rte-local dumper entries 2021-10-13 19:09:05 +02:00
proto.c Nest: Add channel config flag to distinguish new or copy 2022-10-03 20:18:12 +02:00
proto.sgml Channels - explicit links between protocols and tables 2016-02-01 10:28:50 +01:00
protocol.h Nest: Add channel config flag to distinguish new or copy 2022-10-03 20:18:12 +02:00
route.h Revert "Export table: Delay freeing of old stored route." 2022-07-22 15:37:21 +02:00
rt-attr.c Unsetting route attributes without messing with type system 2022-04-06 18:14:08 +02:00
rt-dev.c Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00
rt-dev.h Nest: SADR support for Direct 2018-03-18 02:56:51 +01:00
rt-fib.c Slab allocator can free the blocks without knowing the parent structure 2022-04-06 18:14:08 +02:00
rt-show.c Merge commit 'beb5f78a' into backport 2022-07-11 10:41:17 +02:00
rt-table.c Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00