Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39a45474 authored by Elliot Berman's avatar Elliot Berman Committed by snareshb
Browse files

virt: haven: Correct max_buf_size for a connection



Continuation messages can carry a maximum payload of
HH_RM_MAX_MSG_SIZE_BYTES. When initializing a connection buffer for
reply sequences, the hdr_size is 4 bytes larger than the
HH_RM_MAX_MSG_SIZE_BYTES: see the difference between
struct hh_rm_rpc_hdr and struct hh_rm_rpc_reply_hdr.

Fix the calculation.

Change-Id: If7a1124f581c9d1da8f7749d0296e064e6499cdf
[eberman: Make change in hh_rm_core.c]
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
(cherry picked from commit 01031bbb3b415928b07408243643b447c06afe5e)
parent e88a5cce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment