cifs: multichannel: try to rebind when reconnecting a channel
authorAurelien Aptel <aaptel@suse.com>
Fri, 24 Apr 2020 14:55:31 +0000 (16:55 +0200)
committerSteve French <stfrench@microsoft.com>
Thu, 4 Jun 2020 18:50:55 +0000 (13:50 -0500)
commit2f58967979409ea3ec799343aa35e9007f735a3b
tree9178aafea756cb177294fec6d4e872a18196b6fa
parent8eec79540d2b9cec385707be45f6e9388b34020f
cifs: multichannel: try to rebind when reconnecting a channel

first steps in trying to make channels properly reconnect.

* add cifs_ses_find_chan() function to find the enclosing cifs_chan
  struct it belongs to
* while we have the session lock and are redoing negprot and
  sess.setup in smb2_reconnect() redo the binding of channels.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsproto.h
fs/cifs/sess.c
fs/cifs/smb2pdu.c