diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-12-14 21:24:08 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2017-12-15 14:31:56 -0500 |
commit | 90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0 (patch) | |
tree | b849c5a611ba70582e6e5612b25c6c00c612efaf /fs/nfs | |
parent | dc4fd9ab01ab379ae5af522b3efd4187a7c30a31 (diff) | |
download | linux-stable-90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0.tar.gz linux-stable-90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0.tar.bz2 linux-stable-90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0.zip |
SUNRPC: Fix a race in the receive code path
We must ensure that the call to rpc_sleep_on() in xprt_transmit() cannot
race with the call to xprt_complete_rqst().
Reported-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://bugzilla.linux-nfs.org/show_bug.cgi?id=317
Fixes: ce7c252a8c74 ("SUNRPC: Add a separate spinlock to protect..")
Cc: stable@vger.kernel.org # 4.14+
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions