Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142773277
D54671.id169533.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
D54671.id169533.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D54671: linuxkpi: Fix an error path in linux_alloc_current()
Attached
Detach File
Event Timeline
Log In to Comment