Page MenuHomeFreeBSD

D53412.1782736999.diff
No OneTemporary

Size
554 B
Referenced Files
None
Subscribers
None

D53412.1782736999.diff

diff --git a/sys/compat/linuxkpi/common/src/linux_page.c b/sys/compat/linuxkpi/common/src/linux_page.c
--- a/sys/compat/linuxkpi/common/src/linux_page.c
+++ b/sys/compat/linuxkpi/common/src/linux_page.c
@@ -345,6 +345,10 @@
page = vm_page_grab_iter(vm_obj, pindex, VM_ALLOC_NOCREAT, &pages);
if (page == NULL) {
page = PHYS_TO_VM_PAGE(IDX_TO_OFF(pfn));
+ if (page == NULL) {
+ pctrie_iter_reset(&pages);
+ return (VM_FAULT_SIGBUS);
+ }
if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) {
pctrie_iter_reset(&pages);
goto retry;

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 29, 12:43 PM (6 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28983475
Default Alt Text
D53412.1782736999.diff (554 B)

Event Timeline