diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-05-09 14:39:21 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-05-10 14:06:45 -0300 |
commit | a568814a55a0e82bbc7c7b51333d0c38e8fb5520 (patch) | |
tree | 71328755fc66ccf84bf5f915e35d8d0cb8dd3c51 /certs/Makefile | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
download | linux-stable-a568814a55a0e82bbc7c7b51333d0c38e8fb5520.tar.gz linux-stable-a568814a55a0e82bbc7c7b51333d0c38e8fb5520.tar.bz2 linux-stable-a568814a55a0e82bbc7c7b51333d0c38e8fb5520.zip |
RDMA/siw: Properly check send and receive CQ pointers
The check for the NULL of pointer received from container_of() is
incorrect by definition as it points to some offset from NULL.
Change such check with proper NULL check of SIW QP attributes.
Fixes: 303ae1cdfdf7 ("rdma/siw: application interface")
Link: https://lore.kernel.org/r/a7535a82925f6f4c1f062abaa294f3ae6e54bdd2.1620560310.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Bernard Metzler <bmt@zurich.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'certs/Makefile')
0 files changed, 0 insertions, 0 deletions