aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJeremiah Lott <jlott@averesystems.com>2024-10-27 07:18:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-10-30 01:02:46 +0000
commit453f85caa93a431911b66b2cd781595e4ebd59ec (patch)
treeb56c4fe3b6e5fb7cc2c7d84440952d5ace06e124 /share
parent4f55232d2d326cedd1108ead0cecec2442c4feaa (diff)
ixv: Check cap return before MSI-X enable write
In the QEMU workaround code in if_ixv.c, the ixv driver calls pci_find_cap(dev, PCIY_MSIX, &rid). It is not checking the return code from that function and the function appears to always be failing. This then causes the driver to use the rid variable uninitialized, which will mean setting a bit at an arbitrary offset in pci config space. For now, this seems to have no adverse impact, but it could easily cause very subtle problems. PR: 207037 Sponsored by: BBOX.io (cherry picked from commit b87b3696c973ef0a9df70143cd89f6b488531e93)
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions