]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SUNRPC: Fix a backchannel deadlock
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 26 Aug 2015 20:17:10 +0000 (14:17 -0600)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 31 Aug 2015 20:46:01 +0000 (14:46 -0600)
commit9464ce70bbda312efd566e470b6758da8aa3f94d
tree44b5cb9e60d0652a76ab16695a7daa7b77c4676e
parent84dc1a056c8493f917db9644996b167f695c1720
SUNRPC: Fix a backchannel deadlock

[ Upstream commit 68514471ceceac63c7fa9ad684d882f41be5b2d8 ]

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