[[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no payload

Long Li longli at microsoft.com
Mon Aug 14 18:20:06 UTC 2017

> -----Original Message-----
> From: Christoph Hellwig [mailto:hch at infradead.org]
> Sent: Sunday, August 13, 2017 3:24 AM
> To: Long Li <longli at microsoft.com>
> Cc: Steve French <sfrench at samba.org>; linux-cifs at vger.kernel.org; samba-
> technical at lists.samba.org; linux-kernel at vger.kernel.org; Long Li
> <longli at microsoft.com>
> Subject: Re: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no
> payload
> On Wed, Aug 02, 2017 at 01:10:27PM -0700, Long Li wrote:
> > From: Long Li <longli at microsoft.com>
> >
> > Implement the function to send a SMBD message with no payload. This is
> required at times when we want to extend credtis to server to have it
> continue to send data, without sending any actual data payload.
> Shouldn't this just be implemented as a special case in the version that posts
> data?

It uses a different packet format "struct smbd_data_transfer_no_data". I can restructure some common code to share between packet sending functions.

More information about the samba-technical mailing list