]> asedeno.scripts.mit.edu Git - linux.git/commit
CIFS: Set reconnect instance to one initially
authorPavel Shilovsky <pshilov@microsoft.com>
Fri, 18 Jan 2019 19:30:26 +0000 (11:30 -0800)
committerSteve French <stfrench@microsoft.com>
Wed, 6 Mar 2019 00:10:01 +0000 (18:10 -0600)
commit5b964852609b2826126a526851f316fc06f5e37e
tree1ec567963248ba9e06f8ca76397d8e56cdde2e23
parentbb1bccb60c2ebd9a6f895507d1d48d5ed773814e
CIFS: Set reconnect instance to one initially

Currently we set reconnect instance to zero on the first
connection but this is not convenient because we need to
reserve some special value for credit handling on reconnects
which is coming in subsequent patches. Fix this by starting
with one when initiating a new TCP connection.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c