0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 09:58:43 +00:00
bird/sysdep
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
..
bsd Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
bsd-netlink Netlink: move OS-specific headers and defines to sysdep 2022-12-16 19:21:51 +01:00
cf Alloc: Disable transparent huge pages 2023-01-17 17:13:50 +01:00
linux Configuration obstacles made a separate, explicit structure 2024-06-14 23:16:07 +02:00
unix Kernel: protocol shuts down synchronously 2024-09-30 10:04:36 +02:00
config.h NEWS and version update 2024-07-01 15:34:06 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
sysdep.sgml Spelling fixes to progdoc. 2000-06-07 12:29:08 +00:00