s3:smbd: use sconn->smb1.sessions.max_send = SMB_BUFFER_SIZE_MAX
commit8724f6c6c63a6ed58573856841dfa9c5d8662c38
authorStefan Metzmacher <metze@samba.org>
Fri, 6 Dec 2013 12:50:49 +0000 (6 13:50 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 1 Apr 2014 07:26:37 +0000 (1 09:26 +0200)
treea0df9c22f18fb7688e36a72a52cd9d22ad41758d
parent047f88151091590f1fee08e4e45ae4874a99e6c8
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