lkml.org 
[lkml]   [2016]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/4] xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted.
From
Date
On 02/11/2016 04:10 PM, Konrad Rzeszutek Wilk wrote:
>
> This patch fixes the issue by:
> 1) Use kzalloc to initialize to a well known state.
> 2) Put 'struct pci_sysdata' at the start of 'pcifront_sd'. That
> way access to the 'node' will access the right offset.
>
> CC: stable@vger.kernel.org
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

(This, btw, is the second time we got bitten by pcifront_sd bit not
being pci_sysdata. dc4fdaf0e48 was a workaround for a similar problem
and we should have fixed it then).

-boris

\
 
 \ /
  Last update: 2016-02-14 02:41    [W:0.047 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site