linux-bl808/drivers/infiniband/hw/cxgb4
Steve Wise 8b1bbf36b7 iw_cxgb4: remove the stid on listen create failure
If a listen create fails, then the server tid (stid) is incorrectly left
in the stid idr table, which can cause a touch-after-free if the stid
is looked up and the already freed endpoint is touched.  So make sure
and remove it in the error path.

Cc: stable@vger.kernel.org
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-09-22 12:59:42 -04:00
..
cm.c iw_cxgb4: remove the stid on listen create failure 2017-09-22 12:59:42 -04:00
cq.c
device.c
ev.c
id_table.c
iw_cxgb4.h
Kconfig
Makefile
mem.c
provider.c
qp.c
resource.c
t4.h
t4fw_ri_api.h