]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: Check for MinLSInterval timer when adding to LSUpdate list 11030/head
authorYash Ranjan <ranjany@vmware.com>
Mon, 21 Mar 2022 11:30:22 +0000 (04:30 -0700)
committerYash Ranjan <ranjany@vmware.com>
Mon, 18 Apr 2022 04:55:22 +0000 (21:55 -0700)
commitec58bf6f244ea7c23bc33693f036249113fe8de7
treeb3f73c064ac373c34e33bf6bb02326b07c36234d
parenteb3bd824516e52823ef15bf77002a02ccd263738
ospf6d: Check for MinLSInterval timer when adding to LSUpdate list

A router has some static routes and redistributes turned on.
"clear ipv6 ospf process" command is applied. Then static routes
are deleted. In 1 in 5 runs, AS-External LSAs are not getting removed
from the neighbors even though it gets removed from its own LSDB.

Because of the clear process command, MAX_AGE LSAs are advertised and
fresh LSAs are installed in the LSDB. When the MAX_LSAs are advertised
back to the same router as part of the flooding process, it gets added
to the LSUpdate list even though it comes inside the MinLSArrival time.
When the static routes get deleted, it removed the LSA from the
LSRetrans list but not from LSUpdate list. The LSAs present in the
LSUpdate list gets advertised when sending LS Updates.

When an old copy of an LSA is more recent than the new LSA, check if it
has come inside the MinLSArrival time before adding to the LSUpdate
list.

Signed-off-by: Yash Ranjan <ranjany@vmware.com>
ospf6d/ospf6_flood.c