mirror_frr/tests
Olivier Dugeon 731271b0bd ospfd: Solve crash after removing and adding conf.
Issue number #6291 describes how OSPFd crashes after being deleted and then
added again with configuration when segment routing is used.

The problem occurs in ospf_ri.c because the OspfRI structures retains
the reference to the old area pointer which is mofified when ospfd is
reactivated by configuration. When segment routing is activated, the LSA Router
Information is sent with reference to the old area pointer, instead the new one,
which causes the crash. The same problem is also present in ospf_ext.c with
OspfEXT structure and Extended Link/Prefix structure.

This commit introduces Extended Link/Prefix and Router Information LSAs flusing
when OSPFd is stopped when configuration is removed and adds the correct
initialization to the area pointer in OspfRI and Extended Link/Prefix structure
when OSPFd is re-enabled with the configuration. Area pointer has been removed
from the OspfEXT structure as it is never used with this commit.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
2020-05-26 11:57:04 +02:00
..
bgpd tests: fix size confusion 2020-04-28 11:11:46 +02:00
helpers lib, tools: silence harmless warnings in the northbound tools 2020-04-03 22:34:55 -03:00
isisd tests/isisd: Update expected output to match corrected spelling 2020-03-16 15:36:34 +01:00
lib Merge pull request #6279 from opensourcerouting/nb-cb-args 2020-04-24 08:09:16 -04:00
ospf6d build: non-recursive tests 2018-09-08 21:26:54 +02:00
topotests ospfd: Solve crash after removing and adding conf. 2020-05-26 11:57:04 +02:00
.gitignore lib: add frr_version_cmp() 2019-12-06 15:13:32 +01:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
subdir.am build: make clippy Makefile rules nicer 2020-04-27 09:52:41 +02:00