original_kernel/drivers/infiniband/hw/cxgb4
Thadeu Lima de Souza Cascardo 71b43fd573 RDMA/cxgb4: Fix crash when peer address is 0.0.0.0
When using rping -c -a 0.0.0.0 with iw_cxgb4, the system crashes when
rdma_connect() is called.  ip_dev_find() will return NULL, but pdev is
accessed anyway.

Checking that pdev is NULL and returning -ENODEV prevents the system
from crashing.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2012-06-03 22:59:15 -07:00
..
Kconfig
Makefile
cm.c RDMA/cxgb4: Fix crash when peer address is 0.0.0.0 2012-06-03 22:59:15 -07:00
cq.c
device.c
ev.c
id_table.c
iw_cxgb4.h
mem.c
provider.c
qp.c
resource.c
t4.h
t4fw_ri_api.h
user.h