diff mbox

[03/24] petitboot: Increase protocol payload size to 64KiB

Message ID 20090413011136.705545745@am.sony.com
State Accepted
Headers show

Commit Message

Geoff Levand April 13, 2009, 1:11 a.m. UTC
Increase the protocol payload size from 8 KiB to 64 KiB.

Udev uses some really long device names for USB mass storage
devices so the config file data can easily excceed the protocol
payload.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
---
 lib/pb-protocol/pb-protocol.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

--- a/lib/pb-protocol/pb-protocol.h
+++ b/lib/pb-protocol/pb-protocol.h
@@ -7,7 +7,7 @@ 
 
 #define PB_SOCKET_PATH "/tmp/petitboot.ui"
 
-#define PB_PROTOCOL_MAX_PAYLOAD_SIZE (8 * 1024)
+#define PB_PROTOCOL_MAX_PAYLOAD_SIZE (64 * 1024)
 
 enum pb_protocol_action {
 	PB_PROTOCOL_ACTION_ADD		= 0x1,