summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \