diff options
author | Saeed Mahameed <saeedm@nvidia.com> | 2020-09-07 22:54:43 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2020-09-21 17:22:25 -0700 |
commit | 94c4fed710c372313157f20b5eced39d04a96f88 (patch) | |
tree | aa59ac3d25dac7fbb5abd6545e163786b1759276 /net/tipc/socket.c | |
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>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions