diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2012-09-14 05:50:03 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-13 05:28:05 +0900 |
commit | b89ea13784c385483ef3a47a992f92842171f5c1 (patch) | |
tree | 6d31752679d7609eab7c28c1f18edea43cf32c10 /net | |
parent | c56a0fd7b6d69ef122a01b9b1db83ba62c9f6622 (diff) | |
download | kernel_samsung_espresso10-b89ea13784c385483ef3a47a992f92842171f5c1.tar.gz kernel_samsung_espresso10-b89ea13784c385483ef3a47a992f92842171f5c1.tar.bz2 kernel_samsung_espresso10-b89ea13784c385483ef3a47a992f92842171f5c1.zip |
netxen: check for root bus in netxen_mask_aer_correctable
[ Upstream commit e4d1aa40e363ed3e0486aeeeb0d173f7f822737e ]
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 <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions