> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 1:16 PM, Long Li wrote:
> >> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation
> >> request through kmalloc
> >>
> >> Tw
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 1:16 PM, Long Li wrote:
> >> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation
> >> request through kmalloc
> >>
> >> Tw
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 1:11 PM, Long Li wrote:
> >> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation
> >> request through kmalloc
> >>
> >> O
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 1:11 PM, Long Li wrote:
> >> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation
> >> request through kmalloc
> >>
> >> O
On 4/18/2018 1:16 PM, Long Li wrote:
Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request through
kmalloc
Two comments.
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li <lon...@microsoft.com>
The data buffer allocated on the stack can't be DMA'ed, and hence
can'
On 4/18/2018 1:16 PM, Long Li wrote:
Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request through
kmalloc
Two comments.
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence
can't send through RDMA via SMB
On 4/18/2018 1:11 PM, Long Li wrote:
Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request through
kmalloc
On 4/18/2018 9:08 AM, David Laight wrote:
From: Tom Talpey
Sent: 18 April 2018 12:32
...
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li <lon...@microsoft.
On 4/18/2018 1:11 PM, Long Li wrote:
Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request through
kmalloc
On 4/18/2018 9:08 AM, David Laight wrote:
From: Tom Talpey
Sent: 18 April 2018 12:32
...
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> Two comments.
>
> On 4/17/2018 8:33 PM, Long Li wrote:
> > From: Long Li <lon...@microsoft.com>
> >
> > The data buffer allocated on the stack can't be
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> Two comments.
>
> On 4/17/2018 8:33 PM, Long Li wrote:
> > From: Long Li
> >
> > The data buffer allocated on the stack can't be DMA'ed, and hence
>
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 9:08 AM, David Laight wrote:
> > From: Tom Talpey
> >> Sent: 18 April 2018 12:32
> > ...
> >> On 4/17/2018 8:33 PM, Long Li wro
> Subject: Re: [Patch v3 2/6] cifs: Allocate validate negotiation request
> through
> kmalloc
>
> On 4/18/2018 9:08 AM, David Laight wrote:
> > From: Tom Talpey
> >> Sent: 18 April 2018 12:32
> > ...
> >> On 4/17/2018 8:33 PM, Long Li wrote:
>
On 4/18/2018 9:08 AM, David Laight wrote:
From: Tom Talpey
Sent: 18 April 2018 12:32
...
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
This comment is
On 4/18/2018 9:08 AM, David Laight wrote:
From: Tom Talpey
Sent: 18 April 2018 12:32
...
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
This comment is confusing. Any registered
From: Tom Talpey
> Sent: 18 April 2018 12:32
...
> On 4/17/2018 8:33 PM, Long Li wrote:
> > From: Long Li
> >
> > The data buffer allocated on the stack can't be DMA'ed, and hence can't send
> > through RDMA via SMB Direct.
>
> This comment is confusing. Any registered
From: Tom Talpey
> Sent: 18 April 2018 12:32
...
> On 4/17/2018 8:33 PM, Long Li wrote:
> > From: Long Li
> >
> > The data buffer allocated on the stack can't be DMA'ed, and hence can't send
> > through RDMA via SMB Direct.
>
> This comment is confusing. Any registered memory can be DMA'd, need
Two comments.
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
This comment is confusing. Any registered memory can be DMA'd, need to
state the reason for the
Two comments.
On 4/17/2018 8:33 PM, Long Li wrote:
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
This comment is confusing. Any registered memory can be DMA'd, need to
state the reason for the choice here more
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
Fix this by allocating the request on the heap in smb3_validate_negotiate.
Changes in v2:
Removed duplicated code on freeing buffers on function exit.
From: Long Li
The data buffer allocated on the stack can't be DMA'ed, and hence can't send
through RDMA via SMB Direct.
Fix this by allocating the request on the heap in smb3_validate_negotiate.
Changes in v2:
Removed duplicated code on freeing buffers on function exit.
(Thanks to Parav Pandit
20 matches
Mail list logo