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: NYueHaibing <yuehaibing@huawei.com> Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com> Reviewed-by: NTariq Toukan <tariqt@nvidia.com>
Showing
想要评论请 注册 或 登录