summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2025-03-11 14:03:14 -0400
committerGitHub <noreply@github.com>2025-03-11 14:03:14 -0400
commitd0cb3ad7cb3ce5ac25c159e43f2cb1ccde2e2e14 (patch)
treee1c744749d75ef96339fb04c15be9dcf829af3a3 /lib/zclient.h
parentb1711c010fbb016b982b1d7471ae62a44c00e93c (diff)
parentc50fe2104567358fd6ce5d9cbec624fa0490c1af (diff)
Merge pull request #16614 from louis-6wind/fix-otable-heap-after-free
zebra: fix table heap-after-free crash
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 43521d6e2e..8719af1d03 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -578,6 +578,12 @@ struct zapi_route {
* kernel (NLM_F_APPEND at the very least )
*/
#define ZEBRA_FLAG_OUTOFSYNC 0x400
+/*
+ * This flag lets us know that the route entry is
+ * associated to the table ID and must remain when the
+ * table ID is de-associated from a VRF.
+ */
+#define ZEBRA_FLAG_TABLEID 0x800
/* The older XXX_MESSAGE flags live here */
uint32_t message;