diff options
author | Jason Gunthorpe <[email protected]> | 2020-01-15 20:20:44 +0000 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-01-25 14:48:33 -0400 |
commit | 6b3712c0246ca7b2b8fa05eab2362cf267410f7e (patch) | |
tree | 92e6c4176876b55dad68d9200a2ec2f4838db2c0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e8b3a426fb4a9e2856a69b6e19de044c7416c316 (diff) |
RDMA/core: Ensure that rdma_user_mmap_entry_remove() is a fence
The set of entry->driver_removed is missing locking, protect it with
xa_lock() which is held by the only reader.
Otherwise readers may continue to see driver_removed = false after
rdma_user_mmap_entry_remove() returns and may continue to try and
establish new mmaps.
Fixes: 3411f9f01b76 ("RDMA/core: Create mmap database and cookie helper functions")
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Gal Pressman <[email protected]>
Acked-by: Michal Kalderon <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions