Commit 13a6691
RDMA/nldev: Set error code in rdma_nl_notify_event
In case of error set the error code before the goto.
Fixes: 6ff57a2 ("RDMA/nldev: Fix NULL pointer dereferences issue in rdma_nl_notify_event")
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/linux-rdma/[email protected]/
Signed-off-by: Chiara Meiohas <[email protected]>
Reviewed-by: Maher Sanalla <[email protected]>
Link: https://patch.msgid.link/13eb25961923f5de9eb9ecbbc94e26113d6049ef.1733815944.git.leonro@nvidia.com
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>1 parent 7179fe0 commit 13a6691
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2833 | 2833 | | |
2834 | 2834 | | |
2835 | 2835 | | |
| 2836 | + | |
2836 | 2837 | | |
2837 | | - | |
2838 | 2838 | | |
2839 | 2839 | | |
2840 | 2840 | | |
| |||
0 commit comments