]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix a double-free in rpcbind
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 7 Jul 2008 16:18:52 +0000 (12:18 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Jul 2008 19:23:00 +0000 (15:23 -0400)
commit6182b626239ee6be7223c0952d4aa3c942e25143
treeb3b95c5855e25c5693d505bf74f9c5f7eccde8dc
parente0f95804a7aa3dc7de0899eca93ab7cb3cddc2be
SUNRPC: Fix a double-free in rpcbind

It is wrong to be freeing up the rpcbind arguments if the call to
rpcb_call_async() fails, since they should already have been freed up by
rpcb_map_release().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c