commit | 94c4fed710c372313157f20b5eced39d04a96f88 | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@nvidia.com> | Mon Sep 07 22:54:43 2020 -0700 |
committer | Saeed Mahameed <saeedm@nvidia.com> | Mon Sep 21 17:22:25 2020 -0700 |
tree | aa59ac3d25dac7fbb5abd6545e163786b1759276 | |
parent | 581642f32f33017619355b7d91704c152df1fc2d [diff] |
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: 0419d8c9d8f8 ("net/mlx5e: kTLS, Add kTLS RX resync support") Reported-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com>