Commit c7dc2597 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by sanglipeng
Browse files

rpmsg: glink: Avoid infinite loop on intent for missing channel

stable inclusion
from stable-v5.10.173
commit 91f9d708716daf9dfc4d585ff57ef5ef05b69437
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=91f9d708716daf9dfc4d585ff57ef5ef05b69437



--------------------------------

[ Upstream commit 3e74ec2f ]

In the event that an intent advertisement arrives on an unknown channel
the fifo is not advanced, resulting in the same message being handled
over and over.

Fixes: dacbb35e ("rpmsg: glink: Receive and store the remote intent buffers")
Signed-off-by: default avatarBjorn Andersson <quic_bjorande@quicinc.com>
Reviewed-by: default avatarChris Lew <quic_clew@quicinc.com>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230214234231.2069751-1-quic_bjorande@quicinc.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 26ba40cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment