diff options
author | Suman Ghosh <sumang@marvell.com> | 2023-12-13 15:23:49 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-15 10:11:34 +0000 |
commit | 10b7572d17871b027de1d17152f08a2dc9c3aef6 (patch) | |
tree | 0793be1edb8c410f57892afd8d5aad924dfa117c /include/net/mana | |
parent | 12da68e27b476fa38cf9c72c1d3887f3698d1f2c (diff) |
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 'include/net/mana')
0 files changed, 0 insertions, 0 deletions