]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/ucma: Fix struct ucma_event leak when backlog is full
authorSean Hefty <sean.hefty@intel.com>
Thu, 14 Dec 2006 19:22:19 +0000 (11:22 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 8 Jan 2007 04:17:34 +0000 (20:17 -0800)
commite0376ec1f0c9068d0b09742db8da108b0f62400b
tree693056e3dbf07c0c2574f638021481a23ff8fb48
parent0b18d5a93af1f72d84bbc7b0d86c971043832d05
RDMA/ucma: Fix struct ucma_event leak when backlog is full

We discard new connection requests while the listen backlog is full,
but leak a struct ucma_event in the process.  Free the structure in
this case.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/ucma.c