diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-28 16:28:02 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-03 16:01:40 -0600 |
commit | e73798f20ecb35f7d6c672d48d6b9da57c8cbf64 (patch) | |
tree | b8ee7f7b3a89ccc1d278b22c605cff360e93cd01 /.gitattributes | |
parent | RDMA: Fix building with CONFIG_MMU=n (diff) | |
download | linux-dev-e73798f20ecb35f7d6c672d48d6b9da57c8cbf64.tar.xz linux-dev-e73798f20ecb35f7d6c672d48d6b9da57c8cbf64.zip |
RDMA/uverbs: Fix RCU annotation for radix slot deference
The uapi radix tree is a write-once data structure protected by kref.
Once we get to the ioctl() fop it is not possible for anything else
to be writing to it, so the access should use rcu_dereference_protected.
Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions