From e24a4bc023b880cb01aeaf8ffea98f44dd66ef4a Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 16 Oct 2019 11:21:41 -0700 Subject: session: increase max ctrl msg size Type: fix Connect ctrl message recently outgrew the maximum ctrl msg size, so increase the limit. Also add static asserts for messages that could potentially exceed the limit. Change-Id: I0d3e32e0d4d67d7e222cff14ddba59a0c3fb8b00 Signed-off-by: Florin Coras --- src/vnet/session/session_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/session/session_types.h') diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h index bb309f2f31c..c2bb4dd56cb 100644 --- a/src/vnet/session/session_types.h +++ b/src/vnet/session/session_types.h @@ -21,6 +21,7 @@ #define SESSION_INVALID_INDEX ((u32)~0) #define SESSION_INVALID_HANDLE ((u64)~0) +#define SESSION_CTRL_MSG_MAX_SIZE 68 #define foreach_session_endpoint_fields \ foreach_transport_endpoint_cfg_fields \ -- cgit 1.2.3-korg