Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-23 | Merge commit '6d1ae197d189d50e60279796441c6e74272ddc54' into thread-next | Maria Matejka | |
2023-01-21 | Merge commit '1e47b9f203aaaad0fb658d40a1670f1d0437f1f8' into thread-next | Maria Matejka | |
2023-01-20 | Fixed various build problems on FreeBSD and/or CLang | Maria Matejka | |
2023-01-19 | Table prune routine doesn't walk over lists unless needed. | Maria Matejka | |
If no channel is flushing, table prune doesn't walk over routes in nets and also doesn't walk over importing channel lists. This helps to alleviate the memory caching burdens a lot. | |||
2023-01-19 | CLI closing fix when its action is run asynchronously. | Maria Matejka | |
Some CLI actions, notably "show route", are run by queuing an event somewhere else. If the user closes the socket, in case such an action is being executed, the CLI must free the socket immediately from the error hook but the pool must remain until the asynchronous event finishes and cleans everything up. | |||
2023-01-01 | Nest: Fix several issues with pflags | Ondrej Zajicek | |
There were some confusion about validity and usage of pflags, which caused incorrect usage after some flags from (now removed) protocol- specific area were moved to pflags. We state that pflags: - Are secondary data used by protocol-specific hooks - Can be changed on an existing route (in contrast to copy-on-write for primary data) - Are irrelevant for propagation (not propagated when changed) - Are specific to a routing table (not propagated by pipe) The patch did these fixes: - Do not compare pflags in rte_same(), as they may keep cached values like BGP_REF_STALE, causing spurious propagation. - Initialize pflags to zero in rte_get_temp(), avoid initialization in protocol code, fixing at least two forgotten initializations (krt and one case in babel). - Improve documentation about pflags | |||
2022-12-10 | CLI: Fix for long-lived sessions during high loads | Ondrej Zajicek | |
When there is a continuos stream of CLI commands, cli_get_command() always returns 1 (there is a new command). Anyway, the socket receive buffer was reset only when there was no command at all, leading to a strange behavior: after a while, the CLI receive buffer came to its end, then read() was called with zero size buffer, it returned 0 which was interpreted as EOF. The patch fixes that by resetting the buffer position after each command and moving remaining data at the beginning of buffer. Thanks to Maria Matejka for examining the bug and for the original bugfix. | |||
2022-12-06 | Nest: Avoid spurious announcements triggered by filtered routes | Ondrej Zajicek | |
When filtered routes (enabled by 'import keep filtered' option) are updated, they trigger announcements by rte_announce(). For regular channels (e.g. type RA_OPTIMAL or RA_ANY) such announcement is just ignored, but in case of RA_ACCEPTED (BGP peer with 'secondary' option) it just reannounces the old (and still valid) best route. The patch ensures that such no-change is ignored even for these channels. | |||
2022-11-07 | Merge commit '37b64441' into thread-next | Maria Matejka | |
2022-11-07 | Merge commit '8f79e6b9' into thread-next | Maria Matejka | |
2022-11-07 | Merge commit '8478de88' into thread-next | Maria Matejka | |
2022-11-07 | Merge commit '54430df9' into thread-next | Maria Matejka | |
2022-11-01 | Moved config-related allocations to config_pool and showing its size in ↵ | Maria Matejka | |
memory usage | |||
2022-10-18 | Doc: Add documentation for "show route (import|export) table" | Alexander Zubkov | |
2022-10-12 | Attribute blocks are now allocated from slabs instead of malloc() | Maria Matejka | |
2022-10-12 | Removed an accidentally merged debug call introduced in ↵ | Maria Matejka | |
5395880908fdb264b5b78ccc455dced49eb29915 | |||
2022-10-12 | Merge commit '53958809' into thread-next | Maria Matejka | |
2022-10-12 | Merge commit '4ba991f1' into thread-next | Maria Matejka | |
2022-10-12 | BGP refeed and reload with Adj-RIB-In/Out is done without route refresh | Maria Matejka | |
2022-10-12 | TES_HUNGRY doesn't inhibit export cleanup any more | Maria Matejka | |
2022-10-12 | More thorough logging of route update corner cases | Maria Matejka | |
2022-10-12 | Fixed BGP reload limits | Maria Matejka | |
2022-10-12 | Limited value must never go under zero | Maria Matejka | |
2022-10-12 | CLI fix to break busy-loop waiting for corked show-route exports | Maria Matejka | |
2022-10-12 | Fixed export hook stopping in some corner cases. | Maria Matejka | |
Notably, it's in a corked state and also when refeed is pending. | |||
2022-10-10 | BGP: Add option 'next hop prefer global' | Ondrej Zajicek | |
Add BGP channel option 'next hop prefer global' that modifies BGP recursive next hop resolution to use global next hop IPv6 address instead of link-local next hop IPv6 address for immediate next hop of received routes. | |||
2022-10-05 | Fixed previously untested paths in RPKI | Maria Matejka | |
2022-10-04 | Merge commit '67256d50' into HEAD | Maria Matejka | |
2022-10-04 | Merge commit 'fb7fb674' into HEAD | Maria Matejka | |
2022-10-04 | Merge commit 'a32cee78' into HEAD | Maria Matejka | |
2022-10-04 | Merge commit '71b434a9' into HEAD | Maria Matejka | |
2022-10-03 | Nest: Add channel config flag to distinguish new or copy | Ondrej Zajicek | |
It is useful to distinguish whehter channel config returned from channel_config_get() was allocated new, or existing from template. Caller may want to initialize new ones. | |||
2022-10-03 | BGP: Do not assume that all channels are struct bgp_channel | Ondrej Zajicek | |
In principle, the channel list is a list of parent struct proto and can contain general structures of type struct channel, That is useful e.g. for adding MPLS channels to BGP. | |||
2022-10-03 | Filter: Add some minor functions for f_tree and EC | Ondrej Zajicek | |
Add some supportive functions for f_tree and EC. These functions are used by L3VPN code. | |||
2022-09-26 | Higher export settle times when route refresh is running. | Maria Matejka | |
This helps the route refresh procedures to finish or at least do more work before the exporters jump in and steal all the CPU time for themselves. | |||
2022-09-23 | More verbose logging of table auxiliary export states | Maria Matejka | |
2022-09-23 | Fixed possible race condition in hostcache trie matching code not triggering HCU | Maria Matejka | |
2022-09-21 | Fixed the export settle timer to be actually a settle timer | Maria Matejka | |
2022-09-21 | Local page allocation | Maria Matejka | |
2022-09-20 | Fixed display of standby memory | Maria Matejka | |
2022-09-20 | Route export may get corked on refeed startup | Maria Matejka | |
2022-09-20 | Merge commit 'adf37d8e' into thread-next | Maria Matejka | |
2022-09-18 | Merge commit '4f3fa162' into HEAD | Maria Matejka | |
2022-09-18 | Fix for table hostcache corking and shutdown race conditions | Maria Matejka | |
2022-09-18 | Table: Re-scheduling prune event when another prune loop is pending | Maria Matejka | |
2022-09-18 | Export event doesn't have to be postponed before requeuing as an export-stop ↵ | Maria Matejka | |
event | |||
2022-09-18 | Converted simple table events to loop flags | Maria Matejka | |
2022-09-18 | Routing tables have their own service loops. | Maria Matejka | |
2022-09-18 | Memory pages allocator is now a global simple lockless structure | Maria Matejka | |
2022-09-09 | Table export announcer needs both an event and a timer to do export bundling ↵ | Maria Matejka | |
the right way |