original_kernel/drivers/infiniband/hw/cxgb3
Steve Wise 874d8df5ed RDMA/cxgb3: Release dependent resources only when endpoint memory is freed.
The cxgb3 l2t entry, hwtid, and dst entry were being released before
all the iwch_ep references were released.  This can cause a crash in
t3_l2t_send_slow() and other places where the l2t entry is used.

The fix is to defer releasing these resources until all endpoint
references are gone.

Details:

- move flags field to the iwch_ep_common struct.
- add a flag indicating resources are to be released.
- release resources at endpoint free time instead of close/abort time.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-03-30 08:37:59 -07:00
..
Kconfig
Makefile
cxio_dbg.c
cxio_hal.c
cxio_hal.h
cxio_resource.c
cxio_resource.h
cxio_wr.h
iwch.c
iwch.h
iwch_cm.c
iwch_cm.h
iwch_cq.c
iwch_ev.c
iwch_mem.c
iwch_provider.c
iwch_provider.h
iwch_qp.c
iwch_user.h
tcb.h