SUNRPC: Fix a backchannel deadlock
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 20:31:17 +0000 (16:31 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 20:33:59 +0000 (16:33 -0400)
commit68514471ceceac63c7fa9ad684d882f41be5b2d8
treef902c3a0227db1e0c0563b9eeae57a2ae19c75a6
parentfaa4a54f0be15b5d81b574fb5a40db24345d1a6c
SUNRPC: Fix a backchannel deadlock

xprt_alloc_bc_request() cannot call xprt_free_bc_request() without
deadlocking, since it already holds the xprt->bc_pa_lock.

Reported-by: Chuck Lever <chuck.lever@oracle.com>
Fixes: 0d2a970d0ae55 ("SUNRPC: Fix a backchannel race")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/backchannel_rqst.c