0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00
bird/proto
Toke Høiland-Jørgensen d3ea843389 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.
2024-05-30 12:30:00 +02:00
..
babel Babel: Initialise source seqno from incoming message 2024-05-30 12:30:00 +02:00
bfd BFD: Improve incoming packet matching 2024-05-30 12:30:00 +02:00
bgp BGP: Add received role value to role mismatch log message 2024-05-30 12:30:00 +02:00
mrt Minor cleanups 2024-05-30 12:30:00 +02:00
ospf VRF: Fix issues with reconfiguration 2024-05-30 12:30:00 +02:00
perf Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
pipe BGP: Add received role value to role mismatch log message 2024-05-30 12:30:00 +02:00
radv VRF: Fix issues with reconfiguration 2024-05-30 12:30:00 +02:00
rip VRF: Fix issues with reconfiguration 2024-05-30 12:30:00 +02:00
rpki Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
static Nest: Fix several issues with pflags 2024-05-30 12:29:59 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00