summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2proto.h
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2013-06-23 18:43:37 -0500
committerSteve French <smfrench@gmail.com>2013-06-26 17:26:03 -0500
commit2b80d049eb6dd08431f63fc0c5ce78567648a033 (patch)
tree2102c089ab4d97e0b8b98691f384c836d1d5d9b1 /fs/cifs/smb2proto.h
parent7f6538585eccdd7e663df3c6186486ef528d9c90 (diff)
downloadlinux-2b80d049eb6dd08431f63fc0c5ce78567648a033.tar.bz2
Charge at least one credit, if server says that it supports multicredit
In SMB2.1 and later the server will usually set the large MTU flag, and we need to charge at least one credit, if server says that since it supports multicredit. Windows seems to let us get away with putting a zero there, but they confirmed that it is wrong and the spec says to put one there (if the request is under 64K and the CAP_LARGE_MTU was returned during protocol negotiation by the server. CC: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
0 files changed, 0 insertions, 0 deletions