]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_lsa.c
ospfd: RFC conformance test case 25.23 issue fix
authorMobashshera Rasool <mrasool@vmware.com>
Fri, 3 Sep 2021 12:10:26 +0000 (05:10 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Fri, 3 Sep 2021 13:44:56 +0000 (06:44 -0700)
commit3cb62bb387d0630e8b2e3fe053de155563bac077
tree3bfd80861dee3c0414cb66566a51b97c508ce08c
parent44d1115ad6e7c01090d95480a27bd4484c91ffc5
ospfd: RFC conformance test case 25.23 issue fix

Problem Statement :
===================
LSA with InitialSequenceNumber is not originated
after MaxSequenceNumber.

ANVL Test case 25.33 states:
============================
As soon as this flooding of a LSA with LS sequence number
MaxSequenceNumber has been acknowledged by all adjacent neighbors,
a new instance can be originated with sequence number of InitialSequenceNumber.

RCA :
=====
DUT did not originated LSA with INITIAL_SEQUENCE number even
after receiving ACK for max sequence LSA.
Code is not present to handle this situation in the lsa ack flow.

Fix :
=====
Add code to originate LSA with initial sequence number in the
LSA ack flow in case of wrap around sequence number.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
ospfd/ospf_lsa.c
ospfd/ospf_lsa.h
ospfd/ospf_packet.c