diff options
| author | Ronnie Sahlberg <[email protected]> | 2021-08-25 11:16:56 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-08-25 21:08:38 +0000 |
| commit | 3998f0b8bc49ec784990971dc1f16bf367b19078 (patch) | |
| tree | 46c557393299f2d0a2ec1e534de27240fa517e2e /lib/netdev-notifier-error-inject.c | |
| parent | cifs: add cifs_common directory to MAINTAINERS file (diff) | |
| download | kernel-3998f0b8bc49ec784990971dc1f16bf367b19078.tar.gz kernel-3998f0b8bc49ec784990971dc1f16bf367b19078.zip | |
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: [email protected]
Reported-by: Xiaoli Feng <[email protected]>
Signed-off-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
