aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-03-10 11:25:32 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-03-17 17:05:51 -0300
commitca21cb7fb127fcba013acc66f9ebe2e3a9ae1e49 (patch)
tree8bc237a9d8847f563f671092c4895ffd74bd08bd /tools/perf/scripts/python/export-to-postgresql.py
parentRDMA/cm: Fix ordering of xa_alloc_cyclic() in ib_create_cm_id() (diff)
downloadwireguard-linux-ca21cb7fb127fcba013acc66f9ebe2e3a9ae1e49.tar.xz
wireguard-linux-ca21cb7fb127fcba013acc66f9ebe2e3a9ae1e49.zip
RDMA/cm: Fix checking for allowed duplicate listens
The test here typod the cm_id_priv to use, it used the one that was freshly allocated. By definition the allocated one has the matching cm_handler and zero context, so the condition was always true. Instead check that the existing listening ID is compatible with the proposed handler so that it can be shared, as was originally intended. Fixes: 067b171b8679 ("IB/cm: Share listening CM IDs") Link: https://lore.kernel.org/r/20200310092545.251365-3-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.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