s3:smbd: use sconn->smb1.sessions.max_send = SMB_BUFFER_SIZE_MAX
authorStefan Metzmacher <metze@samba.org>
Fri, 6 Dec 2013 12:50:49 +0000 (13:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 1 Apr 2014 07:08:05 +0000 (09:08 +0200)
commita5ce91c1deda58de4820451d27365dead2af6ef0
tree1348ab0e2826d8977249a239239e89185f8ae508
parent1c135902213239d04b97449dc3011983a54a683d
s3:smbd: use sconn->smb1.sessions.max_send = SMB_BUFFER_SIZE_MAX

SMB_BUFFER_SIZE_MAX is UINT16_MAX and the largest value a client
can possibly specify in the session setup request.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10422
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 5cd5c1613996ecebdcd632e932957947f4c27308)
source3/smbd/process.c