diff options
author | Steve French <stfrench@microsoft.com> | 2020-06-03 01:33:58 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-06-04 01:13:41 -0500 |
commit | e80ddeb2f70ebd0786aa7cdba3e58bc931fa0bb5 (patch) | |
tree | b8cc79c32b991e33a3bf7ba1ba8c56518aee1f8f /fs/debugfs | |
parent | 1ee0e6d47d08ef309e0975a96d643972855511d0 (diff) | |
download | linux-e80ddeb2f70ebd0786aa7cdba3e58bc931fa0bb5.tar.gz linux-e80ddeb2f70ebd0786aa7cdba3e58bc931fa0bb5.tar.bz2 linux-e80ddeb2f70ebd0786aa7cdba3e58bc931fa0bb5.zip |
smb3: fix incorrect number of credits when ioctl MaxOutputResponse > 64K
We were not checking to see if ioctl requests asked for more than
64K (ie when CIFSMaxBufSize was > 64K) so when setting larger
CIFSMaxBufSize then ioctls would fail with invalid parameter errors.
When requests ask for more than 64K in MaxOutputResponse then we
need to ask for more than 1 credit.
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions