diff options
author | Olga Kornievskaia <olga.kornievskaia@gmail.com> | 2020-04-24 17:45:50 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2020-04-28 15:58:38 -0400 |
commit | dff58530c4ca8ce7ee5a74db431c6e35362cf682 (patch) | |
tree | 09ea83ae4657df6aba44edc009b86a0e86d38517 /fs/f2fs/shrinker.c | |
parent | 7c4310ff56422ea43418305d22bbc5fe19150ec4 (diff) | |
download | linux-dff58530c4ca8ce7ee5a74db431c6e35362cf682.tar.bz2 |
NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
Currently, if the client sends BIND_CONN_TO_SESSION with
NFS4_CDFC4_FORE_OR_BOTH but only gets NFS4_CDFS4_FORE back it ignores
that it wasn't able to enable a backchannel.
To make sure, the client sends BIND_CONN_TO_SESSION as the first
operation on the connections (ie., no other session compounds haven't
been sent before), and if the client's request to bind the backchannel
is not satisfied, then reset the connection and retry.
Cc: stable@vger.kernel.org
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/f2fs/shrinker.c')
0 files changed, 0 insertions, 0 deletions