ubus: increase max ipc len to 20M to accomodate dm data

This commit is contained in:
Vivek Kumar Dutta
2025-12-05 10:04:24 +05:30
committed by Vivek Dutta
parent b2547246c9
commit 45920482da

View File

@@ -7,7 +7,7 @@ Index: ubus-2021-02-15-2537be01/CMakeLists.txt
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
SET(UBUS_UNIX_SOCKET "/var/run/ubus/ubus.sock")
-SET(UBUS_MAX_MSGLEN 1048576)
+SET(UBUS_MAX_MSGLEN 10485760)
+SET(UBUS_MAX_MSGLEN 20971520)
ADD_DEFINITIONS( -DUBUS_UNIX_SOCKET="${UBUS_UNIX_SOCKET}")
ADD_DEFINITIONS( -DUBUS_MAX_MSGLEN=${UBUS_MAX_MSGLEN})