linux/drivers/infiniband/core
Krishna Kumar 83b9658623 RDMA/iwcm: Fix memory leak
If we get IW_CM_EVENT_CONNECT_REQUEST message and encounter an error
(not in the LISTEN state, cannot create an id, cannot alloc
work_entry, etc), then the memory allocated by cm_event_handler() in
the event->private_data gets leaked. Since cm_work_handler has already
put the event on the work_free_list, this allocated memory is
leaked. High backlog value can allow DoS attacks.

Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-11-29 15:33:07 -08:00
..
Makefile RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
addr.c RDMA/addr: Use time_after_eq() instead of time_after() in queue_req() 2006-11-29 15:33:05 -08:00
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h
cache.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
cm.c RDMA/cm: Remove setting local write as part of QP access flags 2006-11-29 15:33:06 -08:00
cm_msgs.h
cma.c RDMA/cm: Remove setting local write as part of QP access flags 2006-11-29 15:33:06 -08:00
core_priv.h
device.c IB: Fix typo in kerneldoc for ib_set_client_data() 2006-09-22 15:22:58 -07:00
fmr_pool.c [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
iwcm.c RDMA/iwcm: Fix memory leak 2006-11-29 15:33:07 -08:00
iwcm.h RDMA: iWARP Connection Manager. 2006-09-22 15:22:46 -07:00
mad.c IB: Convert kmem_cache_t -> struct kmem_cache 2006-11-29 15:33:07 -08:00
mad_priv.h [PATCH] missing includes from infiniband merge 2006-09-23 11:34:43 -07:00
mad_rmpp.c IB: Whitespace fixes 2006-09-22 15:22:46 -07:00
mad_rmpp.h
packer.c
sa_query.c IB/sa: Require SA registration 2006-09-22 15:22:53 -07:00
smi.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
smi.h IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
sysfs.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
ucm.c IB: kmemdup() cleanup 2006-11-29 15:33:06 -08:00
ud_header.c
user_mad.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00
uverbs.h IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_cmd.c IB/uverbs: Return sq_draining value in query_qp response 2006-10-30 21:19:35 -08:00
uverbs_main.c IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_marshall.c IB: common handling for marshalling parameters to/from userspace 2006-06-17 20:37:27 -07:00
uverbs_mem.c IB/uverbs: Don't leak ref to mm on error path 2006-05-17 22:20:50 -07:00
verbs.c RDMA: iWARP Core Changes. 2006-09-22 15:22:47 -07:00