diff options
author | 2021-07-08 14:35:21 -0700 | |
---|---|---|
committer | 2021-07-15 15:06:08 -0300 | |
commit | 0dc2d6ff40364a00cd66cae3ed327894dcd11c82 (patch) | |
tree | 9a74d5cf4d742527de8f0906a7cd531005fb653d /net/unix/af_unix.c | |
parent | RDMA/rxe: Fix memory leak in error path code (diff) | |
download | wireguard-linux-0dc2d6ff40364a00cd66cae3ed327894dcd11c82.tar.xz wireguard-linux-0dc2d6ff40364a00cd66cae3ed327894dcd11c82.zip |
RDMA/irdma: Check vsi pointer before using it
Fix a coverity warning about NULL pointer dereference:
Dereferencing "vsi", which is known to be "NULL".
Link: https://lore.kernel.org/r/20210708213521.438-1-tatyana.e.nikolova@intel.com
Reported-by: coverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1505164 ("Null pointer dereferences")
Fixes: 8498a30e1b94 ("RDMA/irdma: Register auxiliary driver and implement private channel OPs")
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions