]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_flood.c
ospfd, ospf6d: perform GR consistency check only when necessary
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 1 Mar 2023 20:31:56 +0000 (17:31 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Thu, 2 Mar 2023 22:38:03 +0000 (19:38 -0300)
commitcb1f47c2eb46c3ca7bd485c15fed024f31c50be6
tree3597e37abb9aea4eff6516c695a7465418af8d69
parent3d2533ed58d299b64505e055a824ab0396af9be4
ospfd, ospf6d: perform GR consistency check only when necessary

The GR code should check for topology changes only upon the receipt
of Router-LSAs and Network-LSAs. Other LSAs types don't affect the
topology as far as a restarting router is concerned.

This optimization reduces unnecessary computations when the
restarting router receives thousands of inter-area LSAs or external
LSAs while coming back up.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ospf6d/ospf6_flood.c
ospfd/ospf_packet.c