diff options
author | 2023-12-13 15:23:49 +0530 | |
---|---|---|
committer | 2023-12-15 10:11:34 +0000 | |
commit | 10b7572d17871b027de1d17152f08a2dc9c3aef6 (patch) | |
tree | 0793be1edb8c410f57892afd8d5aad924dfa117c /net/core/dev.c | |
parent | Merge tag 'mlx5-updates-2023-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux (diff) | |
download | linux-rng-10b7572d17871b027de1d17152f08a2dc9c3aef6.tar.xz linux-rng-10b7572d17871b027de1d17152f08a2dc9c3aef6.zip |
octeontx2-af: Fix multicast/mirror group lock/unlock issue
As per the existing implementation, there exists a race between finding
a multicast/mirror group entry and deleting that entry. The group lock
was taken and released independently by rvu_nix_mcast_find_grp_elem()
function. Which is incorrect and group lock should be taken during the
entire operation of group updation/deletion. This patch fixes the same.
Fixes: 51b2804c19cd ("octeontx2-af: Add new mbox to support multicast/mirror offload")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions