summaryrefslogtreecommitdiff
path: root/zebra/zebra_ns.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-10-16 15:23:38 -0400
committerGitHub <noreply@github.com>2024-10-16 15:23:38 -0400
commitd8fc147d2c2d19a5a21bd6c8caf13d98100b55a8 (patch)
treec82e0b3c4828f9735b3b7a5111b78ff1884c736a /zebra/zebra_ns.h
parenta8c5175284997f6ae28f1d9bf75ffaa4d4f521d5 (diff)
parentbcdc8249b97b6aab7b9609c1cdfdf83e10e1b9e7 (diff)
Merge pull request #17143 from FRRouting/mergify/bp/dev/10.2/pr-17020
zebra: fix heap-use-after free on ns shutdown (backport #17020)
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r--zebra/zebra_ns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h
index 8d988c3f82..d5fd5869bc 100644
--- a/zebra/zebra_ns.h
+++ b/zebra/zebra_ns.h
@@ -70,6 +70,8 @@ int zebra_ns_early_shutdown(struct ns *ns,
int zebra_ns_final_shutdown(struct ns *ns,
void *param_in __attribute__((unused)),
void **param_out __attribute__((unused)));
+int zebra_ns_kernel_shutdown(struct ns *ns, void *param_in __attribute__((unused)),
+ void **param_out __attribute__((unused)));
void zebra_ns_startup_continue(struct zebra_dplane_ctx *ctx);