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)
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

Simple merge