svcrdma: Add put of connection ESTABLISHED reference in rdma_cma_handler
authorTom Tucker <tom@opengridcomputing.com>
Thu, 24 Apr 2008 19:17:21 +0000 (14:17 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:46 +0000 (07:33 -0500)
commit120693d12cde0cc735d784c951b53381efec918f
tree99e5cb62caab24de1b89ee82280de8eeae1ceb20
parent9d6347acd2134373c3a4c65a4d43e4f1d59aa012
svcrdma: Add put of connection ESTABLISHED reference in rdma_cma_handler

The svcrdma transport takes a reference when it gets the ESTABLISHED
event from the provider. This reference is supposed to be removed when
the DISCONNECT event is received, however, the call to svc_xprt_put
was missing in the switch statement. This results in the memory
associated with the transport never being freed.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c