linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve French <smfrench@gmail.com>
To: CIFS <linux-cifs@vger.kernel.org>,
	samba-technical <samba-technical@lists.samba.org>
Subject: [PATCH 3 of 4][SMB3] multichannel: use pointer for binding channel
Date: Sun, 31 May 2020 14:43:18 -0500	[thread overview]
Message-ID: <CAH2r5mtTRHRs3nFR9PnxAT389YPy8AqbS4hwy5hUA6N5aj=8Mw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 377 bytes --]

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@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>

-- 
Thanks,

Steve

[-- Attachment #2: .0003-cifs-multichannel-use-pointer-for-binding-channel.patch.swp --]
[-- Type: application/octet-stream, Size: 12288 bytes --]

                 reply	other threads:[~2020-05-31 19:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH2r5mtTRHRs3nFR9PnxAT389YPy8AqbS4hwy5hUA6N5aj=8Mw@mail.gmail.com' \
    --to=smfrench@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=samba-technical@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).