]> 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)
commit8ce3d36bcba70132da74e49bdb3330491e4a667a
treee12601661f45afd32d41c54a5e43a5da45778b98
parent4bf0b5d183a277ad57db8303526cb321b0bab541
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: ab34bded6653 ("SUNRPC: Fix a backchannel race")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/backchannel_rqst.c