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
F168580152: D54671.id169775.diff
Sat, Aug 29, 3:01 AM
Unknown Object (File)
Mon, Aug 24, 11:18 AM
Unknown Object (File)
Mon, Aug 24, 5:18 AM
Unknown Object (File)
Wed, Aug 12, 4:19 PM
Unknown Object (File)
Wed, Aug 12, 4:19 PM
Unknown Object (File)
Sun, Aug 9, 6:30 AM
Unknown Object (File)
Wed, Aug 5, 5:11 PM
Unknown Object (File)
Mon, Aug 3, 11:03 PM
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 Not Applicable
Unit
Tests Not Applicable