]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: xprt_complete_bc_request must also decrement the free slot count
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 21:05:32 +0000 (17:05 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 22 Jul 2015 21:10:50 +0000 (17:10 -0400)
commit1980bd4d829a87ccd21b949f8a11ff1b426f5b0b
treee12601661f45afd32d41c54a5e43a5da45778b98
parent68514471ceceac63c7fa9ad684d882f41be5b2d8
SUNRPC: xprt_complete_bc_request must also decrement the free slot count

Calling xprt_complete_bc_request() effectively causes the slot to be allocated,
so it needs to decrement the backchannel free slot count as well.

Fixes: 0d2a970d0ae5 ("SUNRPC: Fix a backchannel race")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/backchannel_rqst.c