Page MenuHomeFreeBSD

D30897.id54425.diff
No OneTemporary

D30897.id54425.diff

diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -1976,7 +1976,7 @@
/* PRP2 is pointer to a physical region page list */
while (bytes) {
/* Last entry in list points to the next list */
- if (prp_list == last) {
+ if ((prp_list == last) && (bytes > PAGE_SIZE)) {
uint64_t prp = *prp_list;
prp_list = paddr_guest2host(vmctx, prp,

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 26, 12:16 PM (5 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27951372
Default Alt Text
D30897.id54425.diff (441 B)

Event Timeline