0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-10 13:18:42 +00:00
bird/proto/ospf
Maria Matejka f0507f05ce Route sources have an explicit owner
This commit prevents use-after-free of routes belonging to protocols
which have been already destroyed, delaying also all the protocols'
shutdown until all of their routes have been finally propagated through
all the pipes down to the appropriate exports.

The use-after-free was somehow hypothetic yet theoretically possible in
rare conditions, when one BGP protocol authors a lot of routes and the
user deletes that protocol by reconfiguring in the same time as next hop
update is requested, causing rte_better() to be called on a
not-yet-pruned network prefix while the owner protocol has been already
freed.

In parallel execution environments, this would happen an inter-thread
use-after-free, causing possible heisenbugs or other nasty problems.
2021-11-22 19:05:44 +01:00
..
config.Y Nest: Clean up main channel handling 2021-09-10 17:32:05 +02:00
dbdes.c OSPF: Packets on PtP networks should be always sent to AllSPFRouters 2021-05-09 15:26:13 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
hello.c OSPFv3: Update neighbor authentication state from Hello packets 2021-03-16 16:34:42 +01:00
iface.c OSPF: Setting a list node NULL before use 2021-09-10 17:38:22 +02:00
lsack.c OSPF: Packets on PtP networks should be always sent to AllSPFRouters 2021-05-09 15:26:13 +02:00
lsalib.c OSPF: Fix handling of NSSA option flags 2019-07-10 18:25:36 +02:00
lsalib.h OSPF: Support for graceful restart 2019-06-30 21:30:41 +02:00
lsreq.c OSPF: Packets on PtP networks should be always sent to AllSPFRouters 2021-05-09 15:26:13 +02:00
lsupd.c OSPF: Packets on PtP networks should be always sent to AllSPFRouters 2021-05-09 15:26:13 +02:00
Makefile Unit Testing for BIRD 2016-11-09 16:36:34 +01:00
neighbor.c BFD: Allow per-request session options 2020-11-08 15:33:22 +01:00
ospf.c Route sources have an explicit owner 2021-11-22 19:05:44 +01:00
ospf.h Route sources have an explicit owner 2021-11-22 19:05:44 +01:00
packet.c OSPF: Allow ifaces with host address as unnumbered PtP or PtMP ifaces 2021-05-10 13:39:55 +02:00
rt.c Split route data structure to storage (ro) / manipulation (rw) structures. 2021-11-09 19:20:41 +01:00
rt.h OSPF: Support for graceful restart 2019-06-30 21:30:41 +02:00
topology.c Split route data structure to storage (ro) / manipulation (rw) structures. 2021-11-09 19:20:41 +01:00
topology.h Split route data structure to storage (ro) / manipulation (rw) structures. 2021-11-09 19:20:41 +01:00