Commit a6d33ec5 authored by Loic Poulain's avatar Loic Poulain Committed by Zheng Zengkai
Browse files

net: qrtr: Fix port ID for control messages



stable inclusion
from stable-5.10.18
commit 36e4b93838906cf5bdc20bf08b3da077404f3bf5
bugzilla: 50148

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

[ Upstream commit ae068f56 ]

The port ID for control messages was uncorrectly set with broadcast
node ID value, causing message to be dropped on remote side since
not passing packet filtering (cb->dst_port != QRTR_PORT_CTRL).

Fixes: d27e77a3 ("net: qrtr: Reset the node and port ID of broadcast messages")
Signed-off-by: default avatarLoic Poulain <loic.poulain@linaro.org>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent ca23e064
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment