aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorMoshe Shemesh <[email protected]>2021-12-05 12:07:49 +0200
committerSaeed Mahameed <[email protected]>2022-01-06 16:55:42 -0800
commit8e715cd613a1e872b9d918e912d90b399785761a (patch)
tree9a65392adb062c44fb0115461857b60d1906baa4 /net/lapb/lapb_in.c
parent07f6dc4024ea1d2314b9c8b81fd4e492864fcca1 (diff)
net/mlx5: Set command entry semaphore up once got index free
Avoid a race where command work handler may fail to allocate command entry index, by holding the command semaphore down till command entry index is being freed. Fixes: 410bd754cd73 ("net/mlx5: Add retry mechanism to the command entry index allocation") Signed-off-by: Moshe Shemesh <[email protected]> Reviewed-by: Eran Ben Elisha <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions