Skip to content
Commit 94c4fed7 authored by Saeed Mahameed's avatar Saeed Mahameed
Browse files

net/mlx5e: kTLS, Avoid kzalloc(GFP_KERNEL) under spinlock



The spinlock only needed when accessing the channel's icosq, grab the lock
after the buf allocation in resync_post_get_progress_params() to avoid
kzalloc(GFP_KERNEL) in atomic context.

Fixes: 0419d8c9 ("net/mlx5e: kTLS, Add kTLS RX resync support")
Reported-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
parent 581642f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment