mirror_frr/isisd
zhou-run f145648d0a isisd: Fix memory leaks when the transition of neighbor state from non-UP to DOWN
When receiving a hello packet, if the neighbor state transitions directly from a non-ISIS_ADJ_UP state (such as ISIS_ADJ_INITIALIZING) to ISIS_ADJ_DOWN state, the neighbor entry cannot be deleted. If the neighbor is removed or the neighbor's System ID changes, it may result in memory leakage in the neighbor entry.

Test Scenario:
LAN link between Router A and Router B is established. Router A does not configure neighbor authentication, while Router B is configured with neighbor authentication. When the neighbor entry on Router B ages out, the neighbor state on Router A transitions to INIT. If Router B is then removed, the neighbor state on Router A transitions to DOWN and persists.

Signed-off-by: zhou-run <166502045+zhou-run@users.noreply.github.com>

fix frrbot styling issues found.

fix frrbot styling issues found.

Signed-off-by: zhou-run <166502045+zhou-run@users.noreply.github.com>
(cherry picked from commit 5009f7539a)
2024-10-29 15:19:54 +00:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
AUTHORS Add support of Traffic Engineering to IS-IS 2016-09-03 11:05:50 -04:00
fabricd.c isisd: update struct isis_spftree with algorithm id 2023-04-17 11:06:08 +02:00
fabricd.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_adjacency.c isisd: Fix memory leaks when the transition of neighbor state from non-UP to DOWN 2024-10-29 15:19:54 +00:00
isis_adjacency.h isisd: fix memory handling in isis_adj_process_threeway() 2024-08-12 19:02:07 +00:00
isis_affinitymap.c lib: validate affinity-map reference using yang model 2024-01-19 03:46:56 +02:00
isis_affinitymap.h isisd: add affinity-map configuration hooks 2023-04-18 11:33:15 +02:00
isis_bfd.c *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
isis_bfd.h *: Convert struct event_master to struct event_loop 2023-03-24 08:32:17 -04:00
isis_bpf.c *: zebra.h should not have fcntl.h 2024-01-09 12:50:40 -05:00
isis_circuit.c *: convert struct interface->connected to DLIST 2023-11-22 23:00:30 +01:00
isis_circuit.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_cli.c isisd: Add missing exit statement 2024-09-04 05:16:22 +00:00
isis_common.h isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_constants.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_csm.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_csm.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_dlpi.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_dr.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_dr.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_dynhn.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_dynhn.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_errors.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_errors.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_events.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_events.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_flags.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_flags.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_flex_algo.c Revert "lib: add a frr_each_const macro" 2023-09-07 12:08:50 +02:00
isis_flex_algo.h isisd: calculate flex-algo constraint spf 2023-04-18 11:33:15 +02:00
isis_ldp_sync.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_ldp_sync.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_lfa.c isisd: fix crash when obtaining the next hop to calculate LFA on LAN links 2024-07-02 12:02:13 +00:00
isis_lfa.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_lsp.c Merge pull request #11906 from louis-6wind/show_isis_db_json 2024-06-06 16:27:57 -04:00
isis_lsp.h *: Rename struct thread to struct event 2023-03-24 08:32:17 -04:00
isis_main.c *: Modify agentx to be allowed to be called 2024-05-10 10:16:29 -04:00
isis_misc.c isisd: replace gmtime with gmtime_r 2023-07-10 17:06:17 -04:00
isis_misc.h isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_mt.c isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_mt.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_nb_config.c isisd: fix wrong check for MT commands 2024-10-08 05:11:10 +00:00
isis_nb_notifications.c isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_nb_state.c isisd: Update to the new printfrr ISO format 2023-03-21 15:21:47 +01:00
isis_nb.c isisd: Add missing exit statement 2024-09-04 05:16:22 +00:00
isis_nb.h isisd: Add missing exit statement 2024-09-04 05:16:22 +00:00
isis_network.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_pdu_counter.c isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pdu_counter.h isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pdu.c isisd: fix memory handling in isis_adj_process_threeway() 2024-08-12 19:02:07 +00:00
isis_pdu.h isisd: Add log-pdu-drops log functionality 2023-04-04 09:23:21 -07:00
isis_pfpacket.c isisd: pfpacket BPF filter with IS-IS over tunnel support 2023-03-12 16:15:27 +01:00
isis_redist.c isisd: add the 'redistribute table' internal support 2023-07-12 14:06:00 +02:00
isis_redist.h isisd: add the 'redistribute table' internal support 2023-07-12 14:06:00 +02:00
isis_route.c isisd: remove unused router_address fields 2023-11-16 17:09:38 +01:00
isis_route.h isisd: merge algorithm tables 2023-04-18 11:33:15 +02:00
isis_routemap.c *: Convert event.h to frrevent.h 2023-03-24 08:32:17 -04:00
isis_routemap.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_snmp.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_spf_private.h isisd: calculate flex-algo constraint spf 2023-04-18 11:33:15 +02:00
isis_spf.c isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP 2024-07-16 14:07:50 +00:00
isis_spf.h isisd: add option to display isis routes as json 2023-04-18 11:33:15 +02:00
isis_sr.c isisd: fix show isis segment-routing node algorithm 2024-05-22 13:42:19 +02:00
isis_sr.h isisd: fix mispelling with ISIS_SR_LAN_BACKUP 2024-04-04 15:10:47 +02:00
isis_srv6.c isisd: fix renaming backup define for ENDX SID 2024-04-22 10:00:07 +02:00
isis_srv6.h isisd: fix renaming backup define for ENDX SID 2024-04-22 10:00:07 +02:00
isis_te.c isisd: fix update link params after circuit is up 2024-09-03 14:56:40 +00:00
isis_te.h isisd, lib: add link state support for srv6 adjacencies 2024-04-23 14:27:01 +02:00
isis_tlvs.c isisd: fix rcap tlv double-free crash 2024-09-17 12:35:15 +00:00
isis_tlvs.h isisd: fix crash when reading asla 2024-09-10 14:49:45 +00:00
isis_tx_queue.c Merge pull request #12698 from Orange-OpenSource/isisd 2023-04-11 09:49:01 -04:00
isis_tx_queue.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_vty_fabricd.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
isis_zebra.c isisd: fix mispelling with ISIS_SR_LAN_BACKUP 2024-04-04 15:10:47 +02:00
isis_zebra.h isisd: Add functions to install/remove adj SIDs 2023-09-11 22:11:47 +02:00
isisd.c isisd: fix non present level display is show isis database detail json 2024-05-23 14:43:21 +02:00
isisd.h isisd: Add YANG path for SRv6 2023-08-04 09:29:15 +02:00
iso_checksum.c *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
iso_checksum.h *: auto-convert to SPDX License IDs 2023-02-09 14:09:11 +01:00
Makefile build: non-recursive isisd 2017-08-04 11:09:50 +02:00
README More cleanup in isisd. 2005-01-01 21:12:56 +00:00
subdir.am isisd: staticd: need to link directly against libyang 2023-10-26 22:53:44 -04:00

Constraints

  o Maximum number of interfaces 255