linux-hardened/drivers/infiniband/ulp
Dan Carpenter 5c8857b653 IB/IPoIB: Fix error code in ipoib_add_port()
We accidentally don't see the error code on some of these error paths.
It means we return ERR_PTR(0) which is NULL and it results in a NULL
dereference in the caller.

This bug dates to pre-git days.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-07-20 11:20:49 -04:00
..
ipoib IB/IPoIB: Fix error code in ipoib_add_port() 2017-07-20 11:20:49 -04:00
iser IB/iser: Fix connection teardown race condition 2017-07-17 11:45:25 -04:00
isert iser-target: Avoid isert_conn->cm_id dereference in isert_login_recv_done 2017-07-06 23:11:35 -07:00
opa_vnic Fixes #3 for 4.12-rc 2017-07-06 11:45:08 -07:00
srp RDMA/SA: Fix kernel panic in CMA request handler flow 2017-06-01 17:20:14 -04:00
srpt IB/srpt: Make a debug statement in srpt_abort_cmd() more informative 2017-07-06 22:58:01 -07:00
Makefile IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00