linux_dsm_epyc7002/drivers/infiniband
Xiyu Yang 04db1580b5 RDMA/i40iw: fix a potential NULL pointer dereference
A NULL pointer can be returned by in_dev_get(). Thus add a corresponding
check so that a NULL pointer dereference will be avoided at this place.

Fixes: 8e06af711b ("i40iw: add main, hdr, status")
Link: https://lore.kernel.org/r/1577672668-46499-1-git-send-email-xiyuyang19@fudan.edu.cn
Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-01-03 19:59:34 -04:00
..
core IB/core: Fix ODP with IB_ACCESS_HUGETLB handling 2020-01-03 17:00:14 -04:00
hw RDMA/i40iw: fix a potential NULL pointer dereference 2020-01-03 19:59:34 -04:00
sw RDMA/rxe: Fix error type of mmap_offset 2020-01-03 19:43:51 -04:00
ulp IB/iser: use true,false for bool variable 2020-01-03 19:13:59 -04:00
Kconfig RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00