Page MenuHomeFreeBSD

D54671.id169533.diff
No OneTemporary

D54671.id169533.diff

diff --git a/sys/compat/linuxkpi/common/src/linux_current.c b/sys/compat/linuxkpi/common/src/linux_current.c
--- a/sys/compat/linuxkpi/common/src/linux_current.c
+++ b/sys/compat/linuxkpi/common/src/linux_current.c
@@ -118,10 +118,7 @@
PROC_UNLOCK(proc);
mm = uma_zalloc(linux_mm_zone, flags | M_ZERO);
if (mm == NULL) {
- if ((flags & (M_WAITOK | M_NOWAIT)) == M_WAITOK)
- panic(
- "linux_alloc_current: failed to allocate mm");
- uma_zfree(linux_current_zone, mm);
+ uma_zfree(linux_current_zone, ts);
return (ENOMEM);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 24, 10:29 AM (1 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27635430
Default Alt Text
D54671.id169533.diff (557 B)

Event Timeline