diff options
author | 2020-03-13 09:33:26 -0700 | |
---|---|---|
committer | 2020-03-17 20:15:03 -0300 | |
commit | 8a6c61704746d3a1e004e054504ae8d98ed95697 (patch) | |
tree | 0c19cc0ea6c64722ef481f45d489ff8c3e247708 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/bnxt_re: Use ib_device_try_get() (diff) | |
download | wireguard-linux-8a6c61704746d3a1e004e054504ae8d98ed95697.tar.xz wireguard-linux-8a6c61704746d3a1e004e054504ae8d98ed95697.zip |
RDMA/bnxt_re: Fix lifetimes in bnxt_re_task
A work queue cannot just rely on the ib_device not being freed, it must
hold a kref on the memory so that the BNXT_RE_FLAG_IBDEV_REGISTERED check
works.
Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Link: https://lore.kernel.org/r/1584117207-2664-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions