Maria Matejka
c8342aecbf
Fixed in-table route refresh counter to not randomly add 256
2024-05-17 09:12:51 +02:00
Maria Matejka
a95773bc1b
Fixed hostcache notifier pool
...
This pool has to be the service pool to allow the seq bitmaps to grow
from the exporter and feeder routines
2024-05-17 09:12:51 +02:00
Maria Matejka
51e5b705e1
Fixed announcement inconsistency between feeds and regular exports
2024-05-13 08:52:49 +02:00
Maria Matejka
047f45e698
Kernel: replaced synchronous prune by a refeed
2024-05-13 08:52:48 +02:00
Maria Matejka
cf4c91a07e
Fixed best route announcements after NHU
...
When more routes in one net changed at once, the best route
announcements were inconsistent which confused exporters.
2024-05-13 08:52:48 +02:00
Maria Matejka
4fc6d75e88
Fixed reporting about exported routes
2024-05-13 08:52:48 +02:00
Maria Matejka
068b1520d4
Lockless hostentry resolution
...
Now the hostentry doesn't need to lock table, instead it tracks the
hostentry version and retries if the hostentry changed while updating.
2024-05-13 08:52:48 +02:00
Maria Matejka
75f2369589
Fixed annoying undefined values with nexthops
2024-05-13 08:52:48 +02:00
Maria Matejka
3fa23c3b53
Cached route attributes now have explicitly marked layers
...
Also the rta_* functions renamed to ea_* functions
2024-05-13 08:52:48 +02:00
Maria Matejka
178ea41e84
IO Loop: provide information about current loop and task time limit
2024-05-13 08:52:48 +02:00
Maria Matejka
5ba5cdd9f9
Locking: forcefully unwinding locks to a previously stored state
2024-05-13 08:52:48 +02:00
Maria Matejka
d1652138ca
Netindex: Dropping tmp handle mechanism in favor of deferred lfuc_unlock
2024-05-13 08:52:48 +02:00
Maria Matejka
a0df74780a
Fixed all implicit seq_cst warnings caused by the previous commit
2024-05-13 08:52:48 +02:00
Maria Matejka
6a82c6b90c
Enabling warnings for implicit seq_cst in atomic access
2024-05-13 08:52:48 +02:00
Maria Matejka
23bad456cb
IO loop: fixed local hot page cache flushing condition
2024-05-13 08:52:48 +02:00
Maria Matejka
a3daf69cd1
lib/printf_test.c: test on strcmp fixed
...
we mistakenly required the return value to be only -1, 0 or 1
2024-05-13 08:52:48 +02:00
Maria Matejka
a0a592e673
Doc: short migration info for BIRD 2 -> 3
2024-04-06 18:28:43 +02:00
Maria Matejka
bb35c4f9dc
Route flag REF_OBSOLETE
...
Marking routes obsolete when being removed from table, just to be sure.
2024-04-06 18:28:43 +02:00
Maria Matejka
b6853989ac
Bitops: bitflip function
...
to flip order of bits in 32b numbers
2024-04-06 18:28:43 +02:00
Maria Matejka
27f2fd4aa9
Removed the obsolete birdloop flagger
...
This was useful when events were locking. As now sending events is lockless,
we can drop this obsolete routine for good.
2024-04-06 18:28:43 +02:00
Maria Matejka
8527bb6bf3
Simplified table deletion (one less step)
2024-04-06 18:28:43 +02:00
Maria Matejka
cacf743dcb
Hostentry usecount converted to lfuc
2024-04-06 18:28:43 +02:00
Maria Matejka
622d406087
Lockfree usecount: deferring unlocks to the metaloop
...
This allows us for easy temporary locks without additional burden of explicit cleanup.
2024-04-06 18:28:43 +02:00
Maria Matejka
422ecddaae
Allowing to send events to the metaloop's priority list
2024-04-06 18:28:43 +02:00
Maria Matejka
b114aa0073
Static: Unlock IGP tables on cleanup to avoid problems with hostentry unlocking
2024-04-06 18:28:43 +02:00
Maria Matejka
233004988b
Net: explicit generic-to-specific typecast with checking
2024-04-06 18:28:43 +02:00
Maria Matejka
0dd6ec566d
Route table export journal converted to the generic structure
2024-04-06 18:28:43 +02:00
Maria Matejka
a5eb8e0f9f
Lock free journal refactored into a separate data structure
2024-04-06 18:28:43 +02:00
Maria Matejka
d020cc7e26
Event: fixed race condition between ev_send and ev_postpone
2024-04-06 18:28:43 +02:00
Maria Matejka
d1c337f235
Replacing the NHU table loop flag with a proper event
2024-04-06 18:28:43 +02:00
Maria Matejka
6bc1490f30
Undefined behavior fix
2024-04-03 13:58:41 +02:00
Maria Matejka
84c8f24241
CLang compilation fix
2024-04-03 13:58:41 +02:00
Maria Matejka
ec5d9d49ab
Flowspec links don't peruse the all-hooks list for lookup
2024-04-03 13:58:41 +02:00
Maria Matejka
76e43b405f
Typed list: macro for list length
2024-04-03 13:58:41 +02:00
Maria Matejka
59304b2f91
Typed lists: enabled defining the list structure independently on the node
2024-03-27 14:28:37 +01:00
Maria Matejka
d516cea44a
Refactoring: back-merged export data structures
...
Table-specific structures inheriting commons are too crazy.
2024-03-27 14:28:37 +01:00
Maria Matejka
721f09a78d
Export table dump temporarily switched off
2024-03-27 14:28:37 +01:00
Maria Matejka
facc9197c9
Added and explicit target table to the ROA subscription object
2024-02-08 14:34:54 +01:00
Maria Matejka
83b92a355d
Refactoring of struct rt_pending_export
...
Now it stores const rte * instead of struct rte_storage * to allow for
different storage backends.
2024-02-08 09:20:40 +01:00
Maria Matejka
3b217f2984
Fixed L3VPN after merge to v3.
...
Semantics of rt_get_source() has changed between v2 and v3. Also other
minor fixes were needed to make it run.
2024-01-30 23:14:10 +01:00
Maria Matejka
06030d8bf0
Hostentry eattrs are now properly zeroed
2024-01-30 23:14:10 +01:00
Maria Matejka
95adf7b0fa
Fixed regression in route feeding.
...
We were, once again, forgetting to mark empty-net journal entries as
processed, as was fixed in 32bb548c11
.
Introduced in 548dbb2252
.
Caught by cf-ebgp-graceful.
2024-01-30 21:31:13 +01:00
Maria Matejka
000dbf737c
Temporarily disabling L3VPN netlab test, has no data for v3
2024-01-29 22:59:57 +01:00
Maria Matejka
29e7cd4a7c
Showing MPLS labels in hostentry display
2024-01-29 22:12:38 +01:00
Maria Matejka
058984bc86
BGP: fixed MPLS setting in nexthops
...
bug introduced somewhere during conversion of nexthops to eattrs
2024-01-29 22:12:38 +01:00
Maria Matejka
2e5cf618ef
Hack-fix of IPv6 SADR literal parsing
...
This should be probably once done better, not by ad-hoc disabling
the attribute symbol table when parsing SADR literals.
2024-01-28 23:37:08 +01:00
Maria Matejka
a0041dd236
Merge commit '472be46f7ab211f38e7662543f1436df30dca753' into thread-next
2024-01-28 23:09:54 +01:00
Maria Matejka
d615633437
Merge commit '13c6cf8a7430a6b133e46525256eb5554b3f0a2b' into thread-next
2024-01-28 23:09:47 +01:00
Maria Matejka
c119d6ef55
Merge commit '7d2c7d59a363e690995eb958959f0bc12445355c' into thread-next
2024-01-28 23:08:51 +01:00
Maria Matejka
b7400f73a4
Config: Moved hostname check before any other commit is done
...
This was sending <none> hostname via UDP while reconfiguring.
2024-01-28 23:03:54 +01:00