]> err.no Git - linux-2.6/commit
svcrdma: Free context on ib_post_recv error
authorTom Tucker <tom@opengridcomputing.com>
Fri, 25 Apr 2008 19:11:31 +0000 (14:11 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:47 +0000 (07:33 -0500)
commit05a0826a6e6d95ab6e9c3e4a10b58e10f233cc2b
tree85355af360f6da6410bee37ba662c59b58e928d4
parent120693d12cde0cc735d784c951b53381efec918f
svcrdma: Free context on ib_post_recv error

If there is an error posting the recv WR to the RQ, free the
context associated with the WR. This would leak a context when
asynchronous errors occurred on the transport while conccurent threads
were processing their RPC.

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