diff options
author | neel <neel@FreeBSD.org> | 2012-11-22 04:07:18 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2012-11-22 04:07:18 +0000 |
commit | d8bfa0f5754e3a60b0d0e1d425a6038be554e73d (patch) | |
tree | 9dd8b2d3934d675e3244bfd4ddf9061735bf4ac0 /usr.sbin | |
parent | 575baa2d8a6961e9a82ca9272a78d3c01cfcbdf1 (diff) | |
download | FreeBSD-src-d8bfa0f5754e3a60b0d0e1d425a6038be554e73d.zip FreeBSD-src-d8bfa0f5754e3a60b0d0e1d425a6038be554e73d.tar.gz |
Fix a bug in the MSI-X resource allocation for PCI passthrough devices.
In the case where the underlying host had disabled MSI-X via the
"hw.pci.enable_msix" tunable, the ppt_setup_msix() function would fail
and return an error without properly cleaning up. This in turn would
cause a page fault on the next boot of the guest.
Fix this by calling ppt_teardown_msix() in all the error return paths.
Obtained from: NetApp
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions