diff options
author | Chiara Meiohas <cmeiohas@nvidia.com> | 2024-12-10 10:33:10 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-19 13:15:20 +0300 |
commit | 13a6691910cc23ea9ba4066e098603088673d5b0 (patch) | |
tree | e076cae15aa548744ea4d9e0824456aaf5f2a323 /scripts/gdb/linux/utils.py | |
parent | 7179fe0074a3c962e43a9e51169304c4911989ed (diff) | |
download | linux-13a6691910cc23ea9ba4066e098603088673d5b0.tar.xz |
RDMA/nldev: Set error code in rdma_nl_notify_event
In case of error set the error code before the goto.
Fixes: 6ff57a2ea7c2 ("RDMA/nldev: Fix NULL pointer dereferences issue in rdma_nl_notify_event")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/linux-rdma/a84a2fc3-33b6-46da-a1bd-3343fa07eaf9@stanley.mountain/
Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
Reviewed-by: Maher Sanalla <msanalla@nvidia.com>
Link: https://patch.msgid.link/13eb25961923f5de9eb9ecbbc94e26113d6049ef.1733815944.git.leonro@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions