Skip to content

Commit

Permalink
Merge pull request #10498 from FRRouting/mergify/bp/stable/8.0/pr-10473
Browse files Browse the repository at this point in the history
ospfd: Core in ospf_if_down during shutdown. (backport #10473)
  • Loading branch information
ton31337 committed Feb 6, 2022
2 parents e267ad9 + 1892f23 commit 3ef18fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ospfd/ospf_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,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;

Expand Down

0 comments on commit 3ef18fe

Please sign in to comment.