From: Nikolay Aleksandrov Date: Fri, 14 Sep 2012 05:50:03 +0000 (+0000) Subject: netxen: check for root bus in netxen_mask_aer_correctable X-Git-Tag: v3.6-rc7~10^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4d1aa40e363ed3e0486aeeeb0d173f7f822737e;p=pandora-kernel.git netxen: check for root bus in netxen_mask_aer_correctable Add a check if pdev->bus->self == NULL (root bus). When attaching a netxen NIC to a VM it can be on the root bus and the guest would crash in netxen_mask_aer_correctable() because of a NULL pointer dereference if CONFIG_PCIEAER is present. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller --- Reading git-diff-tree failed