aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dtrace/tests/common/Makefile
diff options
context:
space:
mode:
authorJeremiah Lott <jlott@averesystems.com>2024-10-27 07:18:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-10-27 07:18:54 +0000
commitb87b3696c973ef0a9df70143cd89f6b488531e93 (patch)
tree541b0077a6d525f7819c0e3e40008cd90db8ad96 /cddl/usr.sbin/dtrace/tests/common/Makefile
parent439fa16e1fd35181898b61264b205bf3b7103a41 (diff)
downloadsrc-main.tar.gz
src-main.zip
ixv: Check cap return before MSI-X enable writeHEADmain
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 MFC after: 3 days Sponsored by: BBOX.io
Diffstat (limited to 'cddl/usr.sbin/dtrace/tests/common/Makefile')
0 files changed, 0 insertions, 0 deletions