[linux-cifs-client] [PATCH 06/11] cifs: eliminate "first_time" parm to CIFS_SessSetup

Jeff Layton jlayton at redhat.com
Tue Apr 27 05:03:20 MDT 2010


On Mon, 26 Apr 2010 21:45:53 -0500
Steve French <smfrench at gmail.com> wrote:

> On Sat, Apr 24, 2010 at 6:57 AM, Jeff Layton <jlayton at redhat.com> wrote:
> > We can use the is_first_ses_reconnect() function to determine this.
> 
> This is a slight behavior change - we will end up issuing
> another SMB negprot after reconnect (which we didn't do before).
> 
> May be harmless, but worth thinking through
> 
> 

The comment in cifs_setup_session is misleading. I don't think there's
a behavior change. cifs_reconnect does this:

    server->maxBuf = 0;

...and that triggers a new negprot on reconnect in the current
code.
-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list