[PATCH 3 of 4][SMB3] multichannel: use pointer for binding channel

Steve French smfrench at gmail.com
Sun May 31 19:43:18 UTC 2020


Add a cifs_chan pointer in struct cifs_ses that points to the channel
currently being bound if ses->binding is true.

Previously it was always the channel past the established count.

This will make reconnecting (and rebinding) a channel easier later on.

Signed-off-by: Aurelien Aptel <aaptel at suse.com>
Signed-off-by: Steve French <stfrench at microsoft.com>

-- 
Thanks,

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .0003-cifs-multichannel-use-pointer-for-binding-channel.patch.swp
Type: application/octet-stream
Size: 12288 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20200531/3714477b/0003-cifs-multichannel-use-pointer-for-binding-channel.patch.obj>


More information about the samba-technical mailing list