diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2006-11-09 09:30:41 +0530 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-11-29 15:33:07 -0800 |
commit | 83b96586239bf6c719ff640341e1cf83e4a7c046 (patch) | |
tree | fafbfdbc713e45e2972c27795444af3d62db39c5 /lib/kref.c | |
parent | 33ba0fa9f315ce32fbb86fa671c131f5355b52a1 (diff) | |
download | op-kernel-dev-83b96586239bf6c719ff640341e1cf83e4a7c046.zip op-kernel-dev-83b96586239bf6c719ff640341e1cf83e4a7c046.tar.gz |
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>
Diffstat (limited to 'lib/kref.c')
0 files changed, 0 insertions, 0 deletions