“0c26b6775f36ce447722e8752bc3a006ec832df3”上不存在“drivers/net/ethernet/ibm/ibmveth.c”
net/mlx5: fs, delete the FTE when there are no rules attached to it
stable inclusion from stable-v5.10.121 commit 9b42659cb3c44caa605ee1a9f91147d7bff16bf1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9b42659cb3c44caa605ee1a9f91147d7bff16bf1 -------------------------------- [ Upstream commit 7b0c6338 ] When an FTE has no children is means all the rules where removed and the FTE can be deleted regardless of the dests_size value. While dests_size should be 0 when there are no children be extra careful not to leak memory or get firmware syndrome if the proper bookkeeping of dests_size wasn't done. Signed-off-by: NMark Bloch <mbloch@nvidia.com> Reviewed-by: NMaor Gottlieb <maorg@nvidia.com> Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录