diff options
| author | 2020-12-16 17:15:50 -0600 | |
|---|---|---|
| committer | 2021-01-12 16:35:39 -0400 | |
| commit | 8a48ac7f6c24973863b42d03156d5e34c46c2971 (patch) | |
| tree | d97164eec02cad45747b5c72e0cf092469cae9a6 /tools/perf/scripts/python/bin | |
| parent | RDMA/rxe: Add unlocked versions of pool APIs (diff) | |
RDMA/rxe: Fix race in rxe_mcast.c
Fix a race in rxe_mcast.c that occurs when two QPs try at the same time to
attach a multicast address. Both QPs lookup the mgid address in a pool of
multicast groups and if they do not find it create a new group elem.
Fix this by locking the lookup/alloc/add key sequence and using the
unlocked APIs added in this patch set.
Link: https://lore.kernel.org/r/20201216231550.27224-8-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
