aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/counters.c
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2020-11-12 11:29:42 +0000
committerJason Gunthorpe <[email protected]>2020-11-12 17:33:44 +0000
commit7af80c02c7b3cf7ac580a33f15d155730574769f (patch)
treeec0a8c8cbf280efb7a459f2c7ccac6af763ff4bd /drivers/infiniband/core/counters.c
parentnvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device (diff)
downloadkernel-7af80c02c7b3cf7ac580a33f15d155730574769f.tar.gz
kernel-7af80c02c7b3cf7ac580a33f15d155730574769f.zip
RDMA/hns: Fix double free of the pointer to TSQ/TPQ
A return statement is omitted after getting HEM table, then the newly allocated pointer will be freed directly, which will cause a calltrace when the driver was removed. Fixes: d6d91e46210f ("RDMA/hns: Add support for configuring GMV table") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/infiniband/core/counters.c')
0 files changed, 0 insertions, 0 deletions