0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-16 18:35:19 +00:00
bird/proto
Toke Høiland-Jørgensen dc4c5f51f8 Babel: Initialise source seqno from incoming message
When creating a new babel_source object we initialise the seqno to 0. The
caller will update the source object with the right metric and seqno value,
for both newly created and old source objects. However if we initialise the
source object seqno to 0 that may actually turn out to be a valid (higher)
seqno than the one in the routing table, because of seqno wrapping. In this
case the source metric will not be set properly, which breaks feasibility
tracking for subsequent updates.

To fix this, add a new initial_seqno argument to babel_get_source() which
is used when allocating a new object, and set that to the seqno value of
the update we're sending.

Thanks to Juliusz Chroboczek for the bugreport.
2023-01-31 15:52:14 +01:00
..
babel Babel: Initialise source seqno from incoming message 2023-01-31 15:52:14 +01:00
bfd BFD: Improve incoming packet matching 2023-01-22 23:42:08 +01:00
bgp BGP: Add received role value to role mismatch log message 2023-01-20 15:55:47 +01:00
mrt Minor cleanups 2023-01-13 13:32:29 +01:00
ospf VRF: Fix issues with reconfiguration 2023-01-22 18:21:08 +01:00
perf Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00
pipe BGP: Add received role value to role mismatch log message 2023-01-20 15:55:47 +01:00
radv VRF: Fix issues with reconfiguration 2023-01-22 18:21:08 +01:00
rip VRF: Fix issues with reconfiguration 2023-01-22 18:21:08 +01:00
rpki Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00
static Nest: Fix several issues with pflags 2023-01-01 20:10:23 +01:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00