diff options
| author | Bob Pearson <[email protected]> | 2020-12-16 17:15:50 -0600 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-01-12 16:35:39 -0400 |
| commit | 8a48ac7f6c24973863b42d03156d5e34c46c2971 (patch) | |
| tree | d97164eec02cad45747b5c72e0cf092469cae9a6 /tools/perf/scripts/python | |
| parent | 3853c35e243d56238159e8365b6aca410bdd4576 (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/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions