soc: qcom: glink_pkt: fix number of intent queued
glink_pkt driver has no limit on number of intents auto queued for rx.
Intent are auto queued when remote side request for intent without checking
how many packets are pending to be read by client.
A max limit check is added to avoid memory exhaustion case with indefinite
intent queueing.
CRs-Fixed: 2042581
Change-Id: I68aa102b323716f591841b192477a70397a5536b
Signed-off-by:
Dhoat Harpal <hdhoat@codeaurora.org>
Loading
Please register or sign in to comment