diff options
author | Bernard Metzler <bmt@zurich.ibm.com> | 2019-08-19 17:02:57 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-20 20:44:44 +0300 |
commit | 9b440078017f194e56eaae3ac32f333f420c5c4e (patch) | |
tree | 2740857561f5a6e4173c55d2d66f05c0328a61dc /scripts/gdb/linux/utils.py | |
parent | 27b7fb1ab7bfad45f5702ff0c78a4822a41b1456 (diff) | |
download | linux-9b440078017f194e56eaae3ac32f333f420c5c4e.tar.xz |
RDMA/siw: Fix potential NULL de-ref
In siw_connect() we have an error flow where there is no valid qp
pointer. Make sure we don't try to de-ref in that situation.
Fixes: 6c52fdc244b5 ("rdma/siw: connection management")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com>
Link: https://lore.kernel.org/r/20190819140257.19319-1-bmt@zurich.ibm.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions