0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00
bird/sysdep/unix
Katerina Kubecova 716472957b Kernel: protocol shuts down synchronously
Before this commit, on kernel shutdown, the routes were re-exported by
the regular export but treated as withdraw. This was too hairy and
caused unnecessary complexity of the protocol's state machine.

Instead of that, we found out that it makes more sense to just refeed
the routes synchronously and convert to withdraw. This is done by the
direct export access instead of the channel.

It would (maybe) make more sense to run export filters on this in case
the export filter updates the krt_metric attribute, but as this doesn't
work on regular withdraw anyway, it's better for now to just let it be
and maybe somebody in the future fixes this issue.
2024-09-30 10:04:36 +02:00
..
alloc_test.c Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
alloc.c Forbid locking altogether when RCU reader is active 2024-06-28 22:03:45 +02:00
config.Y Allocator now reports cold pages 2024-06-26 20:45:54 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
domain.c Forbid locking altogether when RCU reader is active 2024-06-28 22:03:45 +02:00
endian.h OpenBSD port related changes. 2009-05-11 01:32:49 +02:00
io-loop.c show threads: displaying the same thread id's as in log 2024-06-28 22:03:45 +02:00
io-loop.h Flush deferred calls directly after the loop finished its one run 2024-06-28 22:03:45 +02:00
io.c Merge commit 'b95dc8f29f18eb177f91fdc4bf0716fac9b15366' into mq-config-ref 2024-06-26 17:19:24 +02:00
krt.c Kernel: protocol shuts down synchronously 2024-09-30 10:04:36 +02:00
krt.h Kernel: protocol shuts down synchronously 2024-09-30 10:04:36 +02:00
krt.Y Merge commit 'v2.13.1-189-g105e50f6' into thread-next 2024-01-28 14:42:36 +01:00
log.c Global runtime values separated from config 2024-06-14 23:16:07 +02:00
main.c Configuration obstacles made a separate, explicit structure 2024-06-14 23:16:07 +02:00
Makefile Fixed a bug in hot page global storage 2023-05-06 10:50:32 +02:00
random.c sysdep: Add wrapper to get random bytes - update 2021-06-06 16:26:06 +02:00
unix.h Merge commit '2c7555cf2ac8439713dd9148b348128c57222a38' into thread-next 2024-01-28 23:01:39 +01:00