RE: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-08 Thread Long Li
microsoft.com>; > linux-ker...@vger.kernel.org; Bjorn Helgaas <bhelg...@google.com>; > de...@linuxdriverproject.org > Subject: RE: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall > params buffer > > This sender failed our fraud detection checks and may not be

RE: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-08 Thread KY Srinivasan
> de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: RE: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall > params buffer > > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfound

RE: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-08 Thread Long Li
Helgaas <bhelg...@google.com>; > de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall > params buffer > > On Tue, Nov 08, 2016 at 12:14:14AM -0800, Long Li wrote: >

Re: [Resend] [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-07 Thread Greg KH
On Tue, Nov 08, 2016 at 12:14:14AM -0800, Long Li wrote: > From: Long Li > > hv_do_hypercall assumes that we pass a segment from a physically continuous > buffer. Buffer allocated on the stack may not work if CONFIG_VMAP_STACK=y is > set. Use kmalloc to allocate this