s3-libsmb Do not limit read replies to NBT packet sizes
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Jan 2012 00:48:11 +0000 (11:48 +1100)
committerJeremy Allison <jra@samba.org>
Fri, 27 Jan 2012 21:36:06 +0000 (13:36 -0800)
commit7d14f89e29ac96227aca9af5f3deba38182618ce
treebc7b51de273afbbe7a5a650935e9c49bf8b17e08
parent0027cd2409492a250fb825927596a2dd9b08d75d
s3-libsmb Do not limit read replies to NBT packet sizes

With the posix extensions, we can read 16MB at a time, so we need to check
the full size of the packet, not the size rounded down to the old NBT
limit.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clireadwrite.c