aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorMd Haris Iqbal <[email protected]>2024-08-21 13:22:14 +0200
committerLeon Romanovsky <[email protected]>2024-08-28 15:24:35 +0300
commitd0e62bf7b575fbfe591f6f570e7595dd60a2f5eb (patch)
treee47d09c7708ca248ad76248c8dfb9755ca76ecf7 /tools/perf/scripts/python/parallel-perf.py
parentff7395890580447507b27851c06e396f75913443 (diff)
RDMA/rtrs-srv: Avoid null pointer deref during path establishment
For RTRS path establishment, RTRS client initiates and completes con_num of connections. After establishing all its connections, the information is exchanged between the client and server through the info_req message. During this exchange, it is essential that all connections have been established, and the state of the RTRS srv path is CONNECTED. So add these sanity checks, to make sure we detect and abort process in error scenarios to avoid null pointer deref. Signed-off-by: Md Haris Iqbal <[email protected]> Signed-off-by: Jack Wang <[email protected]> Signed-off-by: Grzegorz Prajsner <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions