mirror_frr/ospfd
rgirada ab31275cf6 ospfd: Default route becomes stale route in nbrs even after flush from originator.
Description:
	Default route is not getting flushed from neighbours though originator
        triggered flush and deleted LSA from its database. It become as stale
        LSA in  neighbours databse forever. This could seen in the following
        sequence of configurations with less than a second interval b/w configs.
        And this could happen only when originator shouldnt have default route
        in its rib so it originates default route only when configure with 'always'
        option.

        step-1:default-information originate always
        step-2:no default-information originate always
        step-3:default-information originate

        In step-1, default route will be originated to AS.
        In step-2, default route will be flushed to AS, but neighbours will be
                   discarding this update due to minlsainterval condition.
                   And it is expected that DUT need to keep send this update
                   until it receives the ack from neighbours by adding each
                   neighbour's retransmission list.
        In Step-3: It is deleting the lsas from nbr's retransmission list
                   by assuming it initiated the flush. This is cuasing to not
                   send the lsa update anymore to neighbours which makes
                   stale lsa in nbrs forever.

Fix:
        Allowed to delete the lsa from retransmission list only when lsa is
        not in maxage during flushing procedure.

Signed-off-by: Rajesh Girada <rgirada@vmware.com>
2022-03-21 02:55:29 -07:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
ChangeLog.opaque.txt
Makefile build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
ospf_abr.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_abr.h ospfd: fix NSSA translator 2020-11-18 23:23:14 -08:00
ospf_api.c ospfd: Correct Coverity defects 2021-05-19 09:48:54 +02:00
ospf_api.h ospfd: Correct Coverity defects 2021-05-19 09:48:54 +02:00
ospf_apiserver.c ospfd: Convert enum event to enum ospf_apiserver_event 2022-03-02 09:17:57 -05:00
ospf_apiserver.h ospfd: Convert enum event to enum ospf_apiserver_event 2022-03-02 09:17:57 -05:00
ospf_asbr.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_asbr.h ospfd: adjust type of "aggr_delay_interval" 2022-01-28 20:11:40 -05:00
ospf_ase.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_ase.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_bfd.c lib: remove enabled flag for bfd sessions 2021-04-22 16:39:29 +03:00
ospf_bfd.h ospfd: rework BFD integration 2021-03-23 10:18:42 -03:00
ospf_dump_api.c ospfd: replace inet_ntoa 2020-10-22 13:37:25 -04:00
ospf_dump_api.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_dump.c ospfd: Convert output to host order from network order for route_tag 2022-01-31 12:51:18 -05:00
ospf_dump.h ospfd: Adding apropriate ism state in ptop neighbors. 2021-10-26 05:36:20 -07:00
ospf_errors.c ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_errors.h ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_ext.c Merge pull request #9683 from volta-networks/sr-minor-fixes 2021-11-20 14:53:09 +03:00
ospf_ext.h ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_flood.c ospfd: Summarised External LSA is not flushed in one scenario 2021-08-17 02:15:42 -07:00
ospf_flood.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
ospf_gr_helper.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_gr.c ospfd,ospf6d: Add missing newline for graceful-restart prepare CLI 2022-03-09 22:56:53 +02:00
ospf_gr.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
ospf_ia.c ospfd: replace inet_ntoa 2020-10-22 13:37:25 -04:00
ospf_ia.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_interface.c ospfd: Core in ospf_if_down during shutdown. 2022-02-04 10:26:54 +02:00
ospf_interface.h ospfd: Cleanup ospf_interface.h to work with our standards 2021-08-06 10:46:48 -04:00
ospf_ism.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_ism.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_ldp_sync.c Merge pull request #10447 from ton31337/fix/json_with_whitespaces 2022-03-13 18:19:33 -04:00
ospf_ldp_sync.h ldpd, isisd, ospfd: Remove periodic ldp-sync hello message 2020-12-09 14:11:38 -05:00
ospf_lsa.c ospfd: Default route becomes stale route in nbrs even after flush from originator. 2022-03-21 02:55:29 -07:00
ospf_lsa.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_lsdb.c ospfd: Use AF_UNSPEC instead of setting to 0 2022-02-07 13:20:43 -05:00
ospf_lsdb.h ospfd: replace pqueue_* with DECLARE_SKIPLIST 2019-04-27 19:33:45 +02:00
ospf_main.c *: Convert quagga_signal_X to frr_signal_X 2021-11-11 14:41:27 -05:00
ospf_memory.c *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
ospf_memory.h *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
ospf_neighbor.c ospfd: Fix assert related to capability opaque 2021-09-29 19:37:33 +00:00
ospf_neighbor.h ospfd: rename the graceful restart header 2021-07-05 11:43:02 -03:00
ospf_network.c ospfd: don't exit when socket is not created 2021-07-27 16:10:35 +03:00
ospf_network.h ospfd: basic support for VRF NETNS backend 2018-02-27 11:11:24 +01:00
ospf_nsm.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_nsm.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_opaque.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_opaque.h Merge pull request #9368 from donaldsharp/ospf_ensure_lsa_length 2021-10-29 13:37:09 +03:00
ospf_packet.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_packet.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_ri.c ospfd: fix display of plain-text data on "show ... json" commands 2021-10-08 10:03:01 -03:00
ospf_ri.h ospfd: Correct Coverity defects 2021-05-19 09:48:54 +02:00
ospf_route.c lib, ospfd, ospf6d, zebra: add OSPF opaque route attributes 2022-01-15 17:22:27 +01:00
ospf_route.h lib, ospfd, ospf6d, zebra: add OSPF opaque route attributes 2022-01-15 17:22:27 +01:00
ospf_routemap_nb_config.c *: make sure config.h or zebra.h is first 2021-04-23 12:06:35 +02:00
ospf_routemap_nb.c *: make sure config.h or zebra.h is first 2021-04-23 12:06:35 +02:00
ospf_routemap_nb.h ospfd: North-bound implementation for ospfd rmaps 2021-03-30 22:59:30 +03:00
ospf_routemap.c ospfd: don't use if_lookup_by_name_all_vrf 2021-10-15 03:44:42 +03:00
ospf_snmp.c ospfd: Use AF_UNSPEC instead of setting to 0 2022-02-07 13:20:43 -05:00
ospf_spf.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_spf.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
ospf_sr.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_sr.h ospfd: validate input SRGB and SRLB 2021-09-28 10:40:32 +02:00
ospf_te.c *: Remove redundand braces for single statement blocks 2021-11-27 11:20:59 +02:00
ospf_te.h ospfd: Add Link-State support 2021-03-23 15:39:29 +01:00
ospf_ti_lfa.c *: Replace IPV4_MAX_PREFIXLEN to IPV4_MAX_BITLEN 2021-07-01 17:44:09 +03:00
ospf_ti_lfa.h ospfd: Add support for TI-LFA node protection 2021-01-19 15:32:13 +00:00
ospf_vty.c ospfd: better error messages when not enabled in a vrf 2022-03-16 00:59:26 -05:00
ospf_vty.h ospfd: TI-LFA basic infrastructure and algorithms 2021-01-19 15:32:13 +00:00
ospf_zebra.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_zebra.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
OSPF-ALIGNMENT.txt *: Remove cvs control points 2017-12-05 17:28:12 -05:00
ospfd.c *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospfd.h ospfd: adjust type of "aggr_delay_interval" 2022-01-28 20:11:40 -05:00
subdir.am build: fix AM_LDFLAGS usage (and gcov) 2021-07-21 17:10:08 +02:00