CIFS: Respect negotiated MaxMpxCount
authorPavel Shilovsky <piastry@etersoft.ru>
Tue, 20 Mar 2012 09:55:09 +0000 (12:55 +0300)
committerSteve French <stevef@smf-gateway.(none)>
Tue, 20 Mar 2012 15:17:40 +0000 (10:17 -0500)
Some servers sets this value less than 50 that was hardcoded and
we lost the connection if when we exceed this limit. Fix this by
respecting this value - not sending more than the server allows.

Cc: stable@kernel.org
Reviewed-by: Jeff Layton <jlayton@samba.org>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <stevef@smf-gateway.(none)>

No differences found