diff options
author | Maxim Mikityanskiy <maximmi@mellanox.com> | 2019-08-02 14:42:14 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-15 11:43:56 -0700 |
commit | e0d57d9c7e7a223f3c2ff8b7b63ec1bf63f11ed4 (patch) | |
tree | 03c817cb3915e48d1ff361f94cd8fc4eceef7817 /drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | |
parent | 2aafdf5a5786ebbd8ccfe132ed6267c6962c5c3c (diff) | |
download | linux-e0d57d9c7e7a223f3c2ff8b7b63ec1bf63f11ed4.tar.bz2 |
net/mlx5e: Fix a race with XSKICOSQ in XSK wakeup flow
Add a missing spinlock around XSKICOSQ usage at the activation stage,
because there is a race between a configuration change and the
application calling sendto().
Fixes: db05815b36cb ("net/mlx5e: Add XSK zero-copy support")
Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c')
0 files changed, 0 insertions, 0 deletions