Loading
octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c
stable inclusion from stable-v6.6.64 commit c5a6c5af434671aea739a5a41c849819144f02c9 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IBEGFA CVE: CVE-2024-56726 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c5a6c5af434671aea739a5a41c849819144f02c9 -------------------------------- [ Upstream commit ac9183023b6a9c09467516abd8aab04f9a2f9564 ] Add error pointer check after calling otx2_mbox_get_rsp(). Fixes: 2ca89a2c ("octeontx2-pf: TC_MATCHALL ingress ratelimiting offload") Signed-off-by:Dipendra Khadka <kdipendra88@gmail.com> Reviewed-by:
Simon Horman <horms@kernel.org> Signed-off-by:
Andrew Lunn <andrew@lunn.ch> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Jinjie Ruan <ruanjinjie@huawei.com>