> -----Original Message----- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Sunday, August 13, 2017 3:24 AM > To: Long Li <lon...@microsoft.com> > Cc: Steve French <sfre...@samba.org>; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org; Long Li > <lon...@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 <lon...@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.