]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix incorrect vrf lookups
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 8 Oct 2020 16:23:08 +0000 (19:23 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 8 Oct 2020 20:14:54 +0000 (23:14 +0300)
commit0bcdb96bb183bed8d9145a3586a2193b4b1364b4
tree8111d059f77f0bcf93c4da1de29ba306e338ec98
parent733c4db58726a54ac0fe46b1a18def9dbe133cbc
isisd: fix incorrect vrf lookups

Lookup in C_STATE_NA must be made before the new circuit creation, or it
will be leaked if the isis instance is not found. All other lookups are
unnecessary - we just need to remember the previously used instance.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_circuit.h
isisd/isis_csm.c