mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
s3:smb2_read: don't try sendfile if encryption is used
metze
This commit is contained in:
parent
a0cf42b709
commit
0cb11efa87
@ -276,6 +276,7 @@ static NTSTATUS schedule_smb2_sendfile_read(struct smbd_smb2_request *smb2req,
|
||||
|
||||
if (!lp__use_sendfile(SNUM(fsp->conn)) ||
|
||||
smb2req->do_signing ||
|
||||
smb2req->do_encryption ||
|
||||
smb2req->in.vector_count < (2*SMBD_SMB2_NUM_IOV_PER_REQ) ||
|
||||
(fsp->base_fsp != NULL) ||
|
||||
(fsp->wcp != NULL) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user