]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c4444ecb2fff15111ff0d5b4e22d23509f4a546
tree9178aafea756cb177294fec6d4e872a18196b6fa
parentcb4559a07a6679c8e05d714cbd2aec115fd3b26f
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