aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2020-04-21 02:44:24 +0000
committerSteve French <[email protected]>2020-04-23 01:29:11 +0000
commit0fe0781f29dd8ab618999e6bda33c782ebbdb109 (patch)
tree6466c4c7d089eb0a93bf4630c726358f44ad01e6 /security/selinux/hooks.c
parentcifs: ensure correct super block for DFS reconnect (diff)
downloadkernel-0fe0781f29dd8ab618999e6bda33c782ebbdb109.tar.gz
kernel-0fe0781f29dd8ab618999e6bda33c782ebbdb109.zip
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]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions