SUNRPC: Fix a bug in call_decode()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 17:15:47 +0000 (13:15 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:52:33 +0000 (16:52 -0400)
commit24b74bf0c9e08cbda74d3c64af69ad402ed54e04
treebd18884769eef620d12babbc86a008561321758e
parent0490a54a00c14212f22c5948c8c13a4553d745bd
SUNRPC: Fix a bug in call_decode()

call_verify() can, under certain circumstances, free the RPC slot. In that
case, our cached pointer 'req = task->tk_rqstp' is invalid. Bug was
introduced in commit 220bcc2afd7011b3e0569fc178331fa983c92c1b (SUNRPC:
Don't call xprt_release in call refresh).

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