diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2012-09-14 07:50:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-18 22:22:08 +0200 |
commit | e4d1aa40e363ed3e0486aeeeb0d173f7f822737e (patch) | |
tree | 8b787165d2d0eb6514033afe925f308a98cea920 /net | |
parent | bnx2x: fix rx checksum validation for IPv6 (diff) | |
download | linux-e4d1aa40e363ed3e0486aeeeb0d173f7f822737e.tar.xz linux-e4d1aa40e363ed3e0486aeeeb0d173f7f822737e.zip |
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 <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions