summaryrefslogtreecommitdiffstats
path: root/fs/sysv/super.c
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2022-03-03 18:07:57 -0600
committerJason Gunthorpe <jgg@nvidia.com>2022-03-15 20:49:56 -0300
commit63221acb0c63141cc7650f8eefb148337061e6db (patch)
tree3eb024dea559b9119db0ee6b724e927db9f63ac5 /fs/sysv/super.c
parent70f92521584f1d1e8268311ee84413307b0fdea8 (diff)
downloadlinux-63221acb0c63141cc7650f8eefb148337061e6db.tar.bz2
RDMA/rxe: Fix ref error in rxe_av.c
The commit referenced below can take a reference to the AH which is never dropped. This only happens in the UD request path. This patch optionally passes that AH back to the caller so that it can hold the reference while the AV is being accessed and then drop it. Code to do this is added to rxe_req.c. The AV is also passed to rxe_prepare in rxe_net.c as an optimization. Fixes: e2fe06c90806 ("RDMA/rxe: Lookup kernel AH from ah index in UD WQEs") Link: https://lore.kernel.org/r/20220304000808.225811-2-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/sysv/super.c')
0 files changed, 0 insertions, 0 deletions