summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2020-11-04 17:40:59 -0400
committerJason Gunthorpe <jgg@nvidia.com>2020-11-12 12:31:27 -0400
commiteb73060b971aa04e4f7421b8c9c0363918608b72 (patch)
tree0949b05a44dfdb947ab29e1dda7772bbd9d57135 /net/core
parentf8394f232b1eab649ce2df5c5f15b0e528c92091 (diff)
RDMA/cm: Make the local_id_table xarray non-irq
The xarray is never mutated from an IRQ handler, only from work queues under a spinlock_irq. Thus there is no reason for it be an IRQ type xarray. This was copied over from the original IDR code, but the recent rework put the xarray inside another spinlock_irq which will unbalance the unlocking. Fixes: c206f8bad15d ("RDMA/cm: Make it clearer how concurrency works in cm_req_handler()") Link: https://lore.kernel.org/r/0-v1-808b6da3bd3f+1857-cm_xarray_no_irq_jgg@nvidia.com Reported-by: Matthew Wilcox <willy@infradead.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions