diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2021-08-25 14:16:56 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-08-26 00:08:38 +0300 |
commit | 3998f0b8bc49ec784990971dc1f16bf367b19078 (patch) | |
tree | 46c557393299f2d0a2ec1e534de27240fa517e2e /fs/Makefile | |
parent | 332c404a55ef3b39837e958284275622a2a4849d (diff) | |
download | linux-3998f0b8bc49ec784990971dc1f16bf367b19078.tar.xz |
cifs: Do not leak EDEADLK to dgetents64 for STATUS_USER_SESSION_DELETED
RHBZ: 1994393
If we hit a STATUS_USER_SESSION_DELETED for the Create part in the
Create/QueryDirectory compound that starts a directory scan
we will leak EDEADLK back to userspace and surprise glibc and the application.
Pick this up initiate_cifs_search() and retry a small number of tries before we
return an error to userspace.
Cc: stable@vger.kernel.org
Reported-by: Xiaoli Feng <xifeng@redhat.com>
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions