Page MenuHomeFreeBSD

linuxkpi: Fix an error path in linux_alloc_current()
ClosedPublic

Authored by markj on Jan 12 2026, 6:56 PM.
Tags
None
Referenced Files
F154368019: D54671.diff
Tue, Apr 28, 3:52 AM
F154336931: D54671.id169533.diff
Mon, Apr 27, 10:44 PM
Unknown Object (File)
Mon, Apr 27, 5:06 PM
Unknown Object (File)
Mon, Apr 20, 5:14 PM
Unknown Object (File)
Mon, Apr 20, 5:12 PM
Unknown Object (File)
Mar 25 2026, 2:23 PM
Unknown Object (File)
Mar 24 2026, 12:34 PM
Unknown Object (File)
Mar 24 2026, 11:34 AM
Subscribers

Details

Summary

If the allocation fails we should free the task struct.

While here get rid of a strange assertion.

Reported by: Kevin Day <kevin@your.org>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69829
Build 66712: arc lint + arc unit