Commit e50896ec authored by Tariq Toukan's avatar Tariq Toukan Committed by Zheng Zengkai
Browse files

net/mlx5e: kTLS, Fix build time constant test in TX

stable inclusion
from stable-v5.10.132
commit c87d5211be84e682b9d0ae781368446acf4f2639
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5YS3T

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



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

[ Upstream commit 6cc2714e ]

Use the correct constant (TLS_DRIVER_STATE_SIZE_TX) in the comparison
against the size of the private TX TLS driver context.

Fixes: df8d8667 ("net/mlx5e: kTLS, Use kernel API to extract private offload context")
Signed-off-by: default avatarTariq Toukan <tariqt@nvidia.com>
Reviewed-by: default avatarMaxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 87aed036
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment