]>
git.ipfire.org Git - thirdparty/bird.git/log
Maria Matejka [Fri, 17 May 2024 21:21:38 +0000 (23:21 +0200)]
Loop run waits until pingers finish
This ensures that if somebody passes an event to a loop which
has just started executing, then the event gets picked up. Otherwise
there is a race condition causing stray events pending in queue
but without the ping (because the run actually finishes too fast
to pickup the later events).
Maria Matejka [Thu, 16 May 2024 08:22:19 +0000 (10:22 +0200)]
Avoiding RCU synchronization deadlock when locking in critical section
Explicitly marking domains eligible for RCU synchronization. It's then
forbidden to lock these domains in RCU critical section to avoid
possible deadlock.
Maria Matejka [Tue, 14 May 2024 08:46:10 +0000 (10:46 +0200)]
RCU Unwinder refactored from route table to a separate structure
Maria Matejka [Fri, 10 May 2024 14:32:08 +0000 (16:32 +0200)]
RIP partial reload never worked properly, running full reload always
Maria Matejka [Fri, 10 May 2024 14:22:16 +0000 (16:22 +0200)]
Dropping obsolete protocol Perf
We have now better methods how to measure overall performance
and this obsolete protocol has basically rotten away. If anybody
needs its features, feel free to revive it in future.
Maria Matejka [Fri, 10 May 2024 14:14:54 +0000 (16:14 +0200)]
OSPF partial reload never worked properly, running full reload always
Maria Matejka [Wed, 8 May 2024 16:55:01 +0000 (18:55 +0200)]
Simplified temporary resources
Also TMP_SAVED now uses the CLEANUP hook to allow for breaks and returns
Maria Matejka [Fri, 26 Apr 2024 10:14:33 +0000 (12:14 +0200)]
SKIP_BACK_DECLARE: easier embedded-to-parent typecasting
Maria Matejka [Tue, 23 Apr 2024 16:50:22 +0000 (18:50 +0200)]
Lockless feed of a single net
Maria Matejka [Tue, 23 Apr 2024 16:28:34 +0000 (18:28 +0200)]
Using ea_lookup_tmp() for temporarily keeping attribute references
To avoid needs for keeping local temporary references for attributes,
now one can use ea_lookup_tmp() to ensure that the attributes are
valid and stored until the task ends. After that, the attributes are
automatically unref'd and also deallocated if needed.
Maria Matejka [Tue, 23 Apr 2024 15:35:00 +0000 (17:35 +0200)]
Refactored the deferring framework into a separate structure
Maria Matejka [Wed, 3 Apr 2024 12:47:15 +0000 (14:47 +0200)]
Table feeds are now lockless
This commit makes the route chains in the tables atomic. This allows not
only standard exports but also feeds and bulk exports to be processed
without ever locking the table.
Design note: the overall data structures are quite brittle. We're using
RCU read-locks to keep track about readers, and we're indicating ongoing
work on the data structures by prepending a REF_OBSOLETE sentinel node
to make every reader go waiting.
All the operations are intended to stay inside nest/rt-table.c and it
may be even best to further refactor the code to hide the routing table
internal structure inside there. Nobody shall definitely write any
routines manipulating live routes in tables from outside.
Maria Matejka [Sat, 20 Apr 2024 16:10:42 +0000 (18:10 +0200)]
Fixed flush condition when stale cycle valid/set indicators wrap around
Maria Matejka [Wed, 10 Apr 2024 14:14:40 +0000 (16:14 +0200)]
BGP: Fixed corking of RX
If cork occurred after some incoming data had been already processed,
BGP incorrectly processed them again after uncorking because it forgot
to store the actual socket state.
Now storing the socket state (done at the end of bgp_rx()) and
therefore the bug is fixed.
Maria Matejka [Tue, 9 Apr 2024 17:14:30 +0000 (19:14 +0200)]
Fixed in-table route refresh counter to not randomly add 256
Maria Matejka [Sun, 7 Apr 2024 20:27:13 +0000 (22:27 +0200)]
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
Maria Matejka [Sun, 7 Apr 2024 12:11:27 +0000 (14:11 +0200)]
Fixed announcement inconsistency between feeds and regular exports
Maria Matejka [Wed, 3 Apr 2024 11:31:36 +0000 (13:31 +0200)]
Kernel: replaced synchronous prune by a refeed
Maria Matejka [Sun, 7 Apr 2024 11:23:59 +0000 (13:23 +0200)]
Fixed best route announcements after NHU
When more routes in one net changed at once, the best route
announcements were inconsistent which confused exporters.
Maria Matejka [Sun, 7 Apr 2024 09:43:52 +0000 (11:43 +0200)]
Fixed reporting about exported routes
Maria Matejka [Thu, 4 Apr 2024 09:38:52 +0000 (11:38 +0200)]
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.
Maria Matejka [Wed, 3 Apr 2024 16:27:09 +0000 (18:27 +0200)]
Fixed annoying undefined values with nexthops
Maria Matejka [Thu, 4 Apr 2024 10:01:35 +0000 (12:01 +0200)]
Cached route attributes now have explicitly marked layers
Also the rta_* functions renamed to ea_* functions
Maria Matejka [Wed, 3 Apr 2024 10:05:02 +0000 (12:05 +0200)]
IO Loop: provide information about current loop and task time limit
Maria Matejka [Wed, 3 Apr 2024 07:45:40 +0000 (09:45 +0200)]
Locking: forcefully unwinding locks to a previously stored state
Maria Matejka [Mon, 1 Apr 2024 18:04:14 +0000 (20:04 +0200)]
Netindex: Dropping tmp handle mechanism in favor of deferred lfuc_unlock
Maria Matejka [Mon, 1 Apr 2024 14:01:26 +0000 (16:01 +0200)]
Fixed all implicit seq_cst warnings caused by the previous commit
Maria Matejka [Mon, 1 Apr 2024 13:24:28 +0000 (15:24 +0200)]
Enabling warnings for implicit seq_cst in atomic access
Maria Matejka [Mon, 1 Apr 2024 13:03:24 +0000 (15:03 +0200)]
IO loop: fixed local hot page cache flushing condition
Maria Matejka [Sat, 11 May 2024 14:36:49 +0000 (16:36 +0200)]
lib/printf_test.c: test on strcmp fixed
we mistakenly required the return value to be only -1, 0 or 1
Maria Matejka [Wed, 27 Mar 2024 11:17:31 +0000 (12:17 +0100)]
Doc: short migration info for BIRD 2 -> 3
Maria Matejka [Wed, 13 Mar 2024 12:46:16 +0000 (13:46 +0100)]
Route flag REF_OBSOLETE
Marking routes obsolete when being removed from table, just to be sure.
Maria Matejka [Tue, 12 Mar 2024 20:08:29 +0000 (21:08 +0100)]
Bitops: bitflip function
to flip order of bits in 32b numbers
Maria Matejka [Tue, 5 Mar 2024 13:52:50 +0000 (14:52 +0100)]
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.
Maria Matejka [Tue, 5 Mar 2024 13:48:37 +0000 (14:48 +0100)]
Simplified table deletion (one less step)
Maria Matejka [Tue, 5 Mar 2024 13:25:52 +0000 (14:25 +0100)]
Hostentry usecount converted to lfuc
Maria Matejka [Tue, 5 Mar 2024 12:57:11 +0000 (13:57 +0100)]
Lockfree usecount: deferring unlocks to the metaloop
This allows us for easy temporary locks without additional burden of explicit cleanup.
Maria Matejka [Fri, 5 Apr 2024 12:11:38 +0000 (14:11 +0200)]
Allowing to send events to the metaloop's priority list
Maria Matejka [Tue, 5 Mar 2024 11:17:56 +0000 (12:17 +0100)]
Static: Unlock IGP tables on cleanup to avoid problems with hostentry unlocking
Maria Matejka [Fri, 1 Mar 2024 15:31:18 +0000 (16:31 +0100)]
Net: explicit generic-to-specific typecast with checking
Maria Matejka [Thu, 29 Feb 2024 13:04:05 +0000 (14:04 +0100)]
Route table export journal converted to the generic structure
Maria Matejka [Thu, 29 Feb 2024 13:03:30 +0000 (14:03 +0100)]
Lock free journal refactored into a separate data structure
Maria Matejka [Tue, 27 Feb 2024 13:25:04 +0000 (14:25 +0100)]
Event: fixed race condition between ev_send and ev_postpone
Maria Matejka [Thu, 22 Feb 2024 12:31:11 +0000 (13:31 +0100)]
Replacing the NHU table loop flag with a proper event
Maria Matejka [Thu, 22 Feb 2024 11:00:05 +0000 (12:00 +0100)]
Undefined behavior fix
Maria Matejka [Thu, 22 Feb 2024 10:38:13 +0000 (11:38 +0100)]
CLang compilation fix
Maria Matejka [Sun, 11 Feb 2024 21:58:29 +0000 (22:58 +0100)]
Flowspec links don't peruse the all-hooks list for lookup
Maria Matejka [Thu, 21 Mar 2024 22:37:04 +0000 (23:37 +0100)]
Typed list: macro for list length
Maria Matejka [Sun, 11 Feb 2024 21:57:55 +0000 (22:57 +0100)]
Typed lists: enabled defining the list structure independently on the node
Maria Matejka [Fri, 9 Feb 2024 16:02:44 +0000 (17:02 +0100)]
Refactoring: back-merged export data structures
Table-specific structures inheriting commons are too crazy.
Maria Matejka [Fri, 9 Feb 2024 14:52:26 +0000 (15:52 +0100)]
Export table dump temporarily switched off
Maria Matejka [Thu, 8 Feb 2024 13:34:54 +0000 (14:34 +0100)]
Added and explicit target table to the ROA subscription object
Maria Matejka [Wed, 7 Feb 2024 16:30:43 +0000 (17:30 +0100)]
Refactoring of struct rt_pending_export
Now it stores const rte * instead of struct rte_storage * to allow for
different storage backends.
Maria Matejka [Tue, 23 Jan 2024 19:25:48 +0000 (20:25 +0100)]
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.
Maria Matejka [Tue, 30 Jan 2024 22:13:49 +0000 (23:13 +0100)]
Hostentry eattrs are now properly zeroed
Maria Matejka [Tue, 30 Jan 2024 20:29:00 +0000 (21:29 +0100)]
Fixed regression in route feeding.
We were, once again, forgetting to mark empty-net journal entries as
processed, as was fixed in
32bb548c116b40f79d077c10356c037770ed1005 .
Introduced in
548dbb2252e80362789b8c98355f468491d47b34 .
Caught by cf-ebgp-graceful.
Maria Matejka [Mon, 29 Jan 2024 21:59:49 +0000 (22:59 +0100)]
Temporarily disabling L3VPN netlab test, has no data for v3
Maria Matejka [Mon, 29 Jan 2024 15:56:22 +0000 (16:56 +0100)]
Showing MPLS labels in hostentry display
Maria Matejka [Mon, 29 Jan 2024 12:58:23 +0000 (13:58 +0100)]
BGP: fixed MPLS setting in nexthops
bug introduced somewhere during conversion of nexthops to eattrs
Maria Matejka [Sun, 28 Jan 2024 22:37:08 +0000 (23:37 +0100)]
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.
Maria Matejka [Sun, 28 Jan 2024 22:09:54 +0000 (23:09 +0100)]
Maria Matejka [Sun, 28 Jan 2024 22:09:47 +0000 (23:09 +0100)]
Maria Matejka [Sun, 28 Jan 2024 22:08:51 +0000 (23:08 +0100)]
Maria Matejka [Sun, 28 Jan 2024 22:03:54 +0000 (23:03 +0100)]
Config: Moved hostname check before any other commit is done
This was sending <none> hostname via UDP while reconfiguring.
Maria Matejka [Sun, 28 Jan 2024 22:01:39 +0000 (23:01 +0100)]
Merge commit '
2c7555cf2ac8439713dd9148b348128c57222a38 ' into thread-next
The UDP logging had to be substantially rewritten due to a different
logging backend and reconfiguration mechanisms.
Conflicts:
doc/bird.sgml
sysdep/unix/config.Y
sysdep/unix/io.c
sysdep/unix/log.c
sysdep/unix/unix.h
Maria Matejka [Sun, 28 Jan 2024 20:42:39 +0000 (21:42 +0100)]
Logging: uses writev instead of in-buffer magic
Maria Matejka [Sun, 28 Jan 2024 14:05:50 +0000 (15:05 +0100)]
Merge commit '
v2.14-101-g58d2846e ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 14:05:42 +0000 (15:05 +0100)]
Merge commit '
v2.14-42-g94310c53 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 14:05:37 +0000 (15:05 +0100)]
Maria Matejka [Sun, 28 Jan 2024 14:05:16 +0000 (15:05 +0100)]
Merge commit '
v2.14-98-gd020a7c7 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 14:04:53 +0000 (15:04 +0100)]
Merge commit '
v2.14-40-g355d8610 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 14:04:51 +0000 (15:04 +0100)]
Maria Matejka [Sun, 28 Jan 2024 14:04:45 +0000 (15:04 +0100)]
Merge commit '
v2.14-95-g6d453c16 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 14:00:59 +0000 (15:00 +0100)]
Merge commit '
v2.14-92-gf27b05de ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 14:00:48 +0000 (15:00 +0100)]
Merge commit '
v2.14-38-g422f795f ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 14:00:47 +0000 (15:00 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:58:04 +0000 (14:58 +0100)]
Merge commit '
v2.14-36-g5fdfbf61 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:58:03 +0000 (14:58 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:57:52 +0000 (14:57 +0100)]
Merge commit '
v2.14-89-g74de3858 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:57:46 +0000 (14:57 +0100)]
Merge commit '
v2.14-34-g23025ab5 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:57:45 +0000 (14:57 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:57:15 +0000 (14:57 +0100)]
Merge commit '
v2.14-86-g9b731089 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:57:10 +0000 (14:57 +0100)]
Merge commit '
v2.14-32-gcaa9460a ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:57:09 +0000 (14:57 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:56:01 +0000 (14:56 +0100)]
Merge commit '
v2.14-83-g1709843f ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:55:59 +0000 (14:55 +0100)]
Merge commit '
v2.14-80-g94a95a69 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:55:50 +0000 (14:55 +0100)]
Merge commit '
v2.14-30-g41d6002f ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:55:49 +0000 (14:55 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:54:06 +0000 (14:54 +0100)]
Merge commit '
v2.14-28-g87fcb810 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:54:05 +0000 (14:54 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:53:47 +0000 (14:53 +0100)]
Merge commit '
v2.14-76-ge728c60b ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:53:38 +0000 (14:53 +0100)]
Merge commit '
v2.14-25-gb5378447 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:53:36 +0000 (14:53 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:52:38 +0000 (14:52 +0100)]
Merge commit '
v2.14-73-g07e4750a ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:52:33 +0000 (14:52 +0100)]
Merge commit '
v2.14-23-gf9bef5b9 ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:52:32 +0000 (14:52 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:52:07 +0000 (14:52 +0100)]
Maria Matejka [Sun, 28 Jan 2024 13:45:33 +0000 (14:45 +0100)]
Merge commit '
v2.14-66-ga5e32759 ' into thread-next
Maria Matejka [Sun, 28 Jan 2024 13:45:06 +0000 (14:45 +0100)]
Merge commit '
v2.14-21-gbd56a41b ' into mq-merge-step-2
Maria Matejka [Sun, 28 Jan 2024 13:45:04 +0000 (14:45 +0100)]