]> git.puffer.fish Git - mirror/frr.git/commit
isisd: per-instance dynamic hostname cache
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 11 Jun 2021 15:27:46 +0000 (18:27 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 18 Jun 2021 14:00:15 +0000 (17:00 +0300)
commit7eb0f285d57840e3cbcd20da7074286273b2ad80
tree76574e0dbdf69dce56476afa2163c85885a1378d
parent2545bbc9e013612e6b52bb5390250a78f8abba22
isisd: per-instance dynamic hostname cache

Currently, the dynamic hostname cache is global. It is incorrect because
neighbors in different VRFs may have the same system ID and different
hostnames.

This also fixes a memory leak - when the instance is deleted, the cache
must be cleaned up and the cleanup thread must be cancelled.

Fixes #8832.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_adjacency.c
isisd/isis_dynhn.c
isisd/isis_dynhn.h
isisd/isis_lsp.c
isisd/isis_misc.c
isisd/isis_nb_notifications.c
isisd/isis_snmp.c
isisd/isisd.c
isisd/isisd.h
tests/isisd/test_common.c
tests/isisd/test_isis_spf.c