Commit 2314091
northd: Fix Crash when deleting ports with BFD session.
When deleting ports with BFD sessions without removing the BFD
northbound object northd will crash after recompute because the
southbound BFD object does get removed when all ports are deleted.
Fix by checking for the southbound objects existence for stale BFD
entries before attempting to delete them.
Reported-at: https://redhat.atlassian.net/browse/FDP-4218
Fixes: 15c9c9f ("northd: Add bfd, static_routes, route_policies and bfd_sync nodes to I-P engine.")
Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
Signed-off-by: Ales Musil <amusil@redhat.com>
(cherry picked from commit 0f75487)1 parent 2a5c6b5 commit 2314091
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10757 | 10757 | | |
10758 | 10758 | | |
10759 | 10759 | | |
10760 | | - | |
| 10760 | + | |
10761 | 10761 | | |
10762 | 10762 | | |
10763 | 10763 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4167 | 4167 | | |
4168 | 4168 | | |
4169 | 4169 | | |
| 4170 | + | |
| 4171 | + | |
| 4172 | + | |
| 4173 | + | |
| 4174 | + | |
4170 | 4175 | | |
4171 | 4176 | | |
4172 | 4177 | | |
| |||
0 commit comments