summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-01-10 14:26:21 -0800
committerFlorin Coras <florin.coras@gmail.com>2022-01-11 00:19:00 +0000
commit6ac74e44e545b7003b3a7da62b35b6adffb6ccdc (patch)
treeaa2af0b31b6f919bf292c8f49c3afae8484f641f /src/vnet/session
parent36eaaf36250ae2c4c26ec914eb20229aec8ca1c6 (diff)
session: increase postponed mq message min size
Reported by coverity Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ib1db0d120321b061f4c2c20117acdfb6e7dc0626
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/application.h2
-rw-r--r--src/vnet/session/session_types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session/application.h b/src/vnet/session/application.h
index 54a616a99b1..09737a6752d 100644
--- a/src/vnet/session/application.h
+++ b/src/vnet/session/application.h
@@ -36,7 +36,7 @@ typedef struct app_wrk_postponed_msg_
u8 ring;
u8 is_sapi;
int fd;
- u8 data[SESSION_CTRL_MSG_MAX_SIZE];
+ u8 data[SESSION_CTRL_MSG_TX_MAX_SIZE];
} app_wrk_postponed_msg_t;
typedef struct app_worker_
diff --git a/src/vnet/session/session_types.h b/src/vnet/session/session_types.h
index 0cf463d569d..8a8571bc9ee 100644
--- a/src/vnet/session/session_types.h
+++ b/src/vnet/session/session_types.h
@@ -22,6 +22,7 @@
#define SESSION_INVALID_INDEX ((u32)~0)
#define SESSION_INVALID_HANDLE ((u64)~0)
#define SESSION_CTRL_MSG_MAX_SIZE 86
+#define SESSION_CTRL_MSG_TX_MAX_SIZE 160
#define SESSION_NODE_FRAME_SIZE 128
#define foreach_session_endpoint_fields \