]> git.puffer.fish Git - mirror/frr.git/commit
nhrpd: fixes core dump on shutdown
authordleroy <dleroy@labn.net>
Mon, 29 Apr 2024 16:40:21 +0000 (09:40 -0700)
committerDave LeRoy <dleroy@labn.net>
Thu, 30 May 2024 19:25:07 +0000 (12:25 -0700)
commita4ee9762734332697ba186ae7223da1eb0445cb2
treefb4750fe00c14e96e6fb48107ada338faf5613b6
parentfd8a2c400aa972f6a38db50a7a27cdb3714538e1
nhrpd: fixes core dump on shutdown

When nhrpd is shutdown via nhrp_request_stop() the shutdown
sequence was not handling the case where there are active
shortcut routes installed. The zebra client and shortcut rib
were being cleaned up before vrf_terminate() had an opportunity
to delete the active routes.

Signed-off-by: dleroy <dleroy@labn.net>
nhrpd/nhrp_main.c