diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-08-08 15:07:45 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-08-09 21:19:45 -0500 |
commit | b24df3e30cbf48255db866720fb71f14bf9d2f39 (patch) | |
tree | 9ca3cb0b9f8be1814f87b24dfe85b7714bbea3ad /fs/cifs/cifsglob.h | |
parent | 1eb9fb52040fc6e5656c277b562229f09467c9f8 (diff) | |
download | linux-b24df3e30cbf48255db866720fb71f14bf9d2f39.tar.bz2 |
cifs: update receive_encrypted_standard to handle compounded responses
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index 41803d374da0..0c9ab62c3df4 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -76,6 +76,9 @@ #define SMB_ECHO_INTERVAL_MAX 600 #define SMB_ECHO_INTERVAL_DEFAULT 60 +/* maximum number of PDUs in one compound */ +#define MAX_COMPOUND 5 + /* * Default number of credits to keep available for SMB3. * This value is chosen somewhat arbitrarily. The Windows client @@ -458,7 +461,7 @@ struct smb_version_operations { struct smb_rqst *, struct smb_rqst *); int (*is_transform_hdr)(void *buf); int (*receive_transform)(struct TCP_Server_Info *, - struct mid_q_entry **); + struct mid_q_entry **, char **, int *); enum securityEnum (*select_sectype)(struct TCP_Server_Info *, enum securityEnum); int (*next_header)(char *); |