summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2020-07-14 21:34:09 +0300
committerJason Gunthorpe <jgg@nvidia.com>2020-07-20 22:18:16 +0300
commit6f38efca9bf09b7e4faf8cc4d221e4336aa303ef (patch)
treefd968df0e7fdd6297f0532cdb30d4d275e3c79b0 /tools/perf/scripts/python/export-to-postgresql.py
parent90efc8b2d4582feef270a5c9460178f59d812f67 (diff)
downloadlinux-6f38efca9bf09b7e4faf8cc4d221e4336aa303ef.tar.xz
RDMA/core: Allocate the pkey cache only if the pkey_tbl_len is set
Allocate the pkey cache only if the pkey_tbl_len is set by the provider, also add checks to avoid accessing the pkey cache when it not initialized. Link: https://lore.kernel.org/r/20200714183414.61069-3-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions