mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
1759f089e1
When a request-key upcall exits without instantiating a key, the kernel
will negatively instantiate the key with a 60s timeout. Older kernels,
however seem to also link that key into the session keyring. This
behavior can interefere with subsequent mount attempts until the
key times out. The next request_key() call will get this negative key
even if the upcall would have worked the second time.
Fix this by having cifs.upcall negatively instantiate the key itself
with a 1s timeout and don't attach it to the session keyring.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(This used to be commit
|
||
---|---|---|
.. | ||
cifs_spnego.h | ||
cifs.upcall.c | ||
client_proto.h | ||
client.c | ||
clitar.c | ||
dnsbrowse.c | ||
mount.cifs.c | ||
smbspool.c | ||
tree.c | ||
umount.cifs.c |