diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2022-03-03 18:07:57 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-03-15 20:49:56 -0300 |
commit | 63221acb0c63141cc7650f8eefb148337061e6db (patch) | |
tree | 3eb024dea559b9119db0ee6b724e927db9f63ac5 /fs/super.c | |
parent | 70f92521584f1d1e8268311ee84413307b0fdea8 (diff) | |
download | linux-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/super.c')
0 files changed, 0 insertions, 0 deletions