diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2016-11-18 01:20:23 +0100 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-02-01 23:46:37 +0100 |
commit | c42a6abe3012832a68a371dabe17c2ced97e62ad (patch) | |
tree | 246468bd79c68f8d08b6e1c0499af332e20b48e7 /fs/cifs/cifsproto.h | |
parent | CIFS: Decrypt and process small encrypted packets (diff) | |
download | linux-c42a6abe3012832a68a371dabe17c2ced97e62ad.tar.xz linux-c42a6abe3012832a68a371dabe17c2ced97e62ad.zip |
CIFS: Add capability to decrypt big read responses
Allow to decrypt transformed packets that are bigger than the big
buffer size. In particular it is used for read responses that can
only exceed the big buffer size.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 0cca61cb7088..406d2c10ba78 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -77,6 +77,7 @@ extern void cifs_delete_mid(struct mid_q_entry *mid); extern void cifs_wake_up_task(struct mid_q_entry *mid); extern int cifs_handle_standard(struct TCP_Server_Info *server, struct mid_q_entry *mid); +extern int cifs_discard_remaining_data(struct TCP_Server_Info *server); extern int cifs_call_async(struct TCP_Server_Info *server, struct smb_rqst *rqst, mid_receive_t *receive, mid_callback_t *callback, |