]> git.baikalelectronics.ru Git - kernel.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)
commitca0ae74a701238cc1847093f72c0c8bd6dd44cf1
treee12601661f45afd32d41c54a5e43a5da45778b98
parent1c0598145cc03348fd80c2a5eb5d1d7e679f5b8c
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: 96bc25b4b5cd ("SUNRPC: Fix a backchannel race")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/backchannel_rqst.c