Files
linux/fs/cifs
Paulo Alcantara 0fe0781f29 cifs: fix uninitialised lease_key in open_shroot()
SMB2_open_init() expects a pre-initialised lease_key when opening a
file with a lease, so set pfid->lease_key prior to calling it in
open_shroot().

This issue was observed when performing some DFS failover tests and
the lease key was never randomly generated.

Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
CC: Stable <[email protected]>
2020-04-22 20:29:11 -05:00
..
2020-04-10 13:32:32 -05:00
2020-04-22 20:22:08 -05:00
2020-04-10 13:32:32 -05:00
…
2019-09-24 23:31:32 -05:00
2019-01-24 09:37:33 -06:00