summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSerhat Kumral <serhatkumral1@gmail.com>2026-10-17 00:15:09 +0300
committerLeon Romanovsky <leon@kernel.org>2026-10-18 08:13:16 -0400
commit4b8f20dc8d25f575e8b8bb5abb09ab803a7e1a3f (patch)
treec367fa4cc240f41595c016392087a98099130141 /tools/perf/scripts/python
parent9ffd2aa8b53b044a61f939e8fba5ec250c5fddd9 (diff)
RDMA/srp: Avoid reading uninitialized has_port on srp_parse_in() failure
srp_parse_in() returns -ENOMEM without initializing *has_port if kstrdup() fails. Only check has_port when srp_parse_in() succeeds. Fixes: bcef5b721568 ("RDMA/srp: Accept again source addresses that do not have a port number") Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com> Link: https://patch.msgid.link/20261016211509.12973-1-serhatkumral1@gmail.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions