Merge pull request #10497 from FRRouting/mergify/bp/dev/8.2/pr-10473

ospfd: Core in ospf_if_down during shutdown. (backport #10473)
This commit is contained in:
Donatas Abraitis 2022-02-04 17:39:54 +02:00 committed by GitHub
commit 19e928746c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -845,6 +845,8 @@ int ospf_if_down(struct ospf_interface *oi)
/* Shutdown packet reception and sending */
ospf_if_stream_unset(oi);
if (!ospf->new_table)
return 1;
for (rn = route_top(ospf->new_table); rn; rn = route_next(rn)) {
or = rn->info;