linux/drivers/infiniband/hw
Raju Rangoju 3352976c89 RDMA/iw_cxgb4: Fix the unchecked ep dereference
The patch 944661dd97: "RDMA/iw_cxgb4: atomically lookup ep and get a
reference" from May 6, 2016, leads to the following Smatch complaint:

    drivers/infiniband/hw/cxgb4/cm.c:2953 terminate()
    error: we previously assumed 'ep' could be null (see line 2945)

Fixes: 944661dd97 ("RDMA/iw_cxgb4: atomically lookup ep and get a reference")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-15 15:51:46 -07:00
..
bnxt_re RDMA/bnxt_re: fix a size calculation 2019-01-14 14:05:54 -07:00
cxgb3 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
cxgb4 RDMA/iw_cxgb4: Fix the unchecked ep dereference 2019-01-15 15:51:46 -07:00
hfi1 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
hns RDMA: Rename port_callback to init_port 2019-01-14 13:05:14 -07:00
i40iw RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx4 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx5 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mthca RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
nes RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
ocrdma RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
qedr RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
qib RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
usnic RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
vmw_pvrdma RDMA: Rename port_callback to init_port 2019-01-14 13:05:14 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00