]> git.baikalelectronics.ru Git - kernel.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)
commit10e0fa9ea6b791fc5ee6e8d17848d65f1ff02bec
tree1ec567963248ba9e06f8ca76397d8e56cdde2e23
parent8945b8cea0ab329296c70bd78049bcec1149595c
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