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
Unknown Object (File)
Fri, Sep 18, 8:44 PM
Unknown Object (File)
Fri, Sep 18, 7:44 PM
Unknown Object (File)
Fri, Sep 18, 6:06 PM
Unknown Object (File)
Wed, Sep 16, 11:22 AM
Unknown Object (File)
Wed, Sep 9, 12:52 PM
Unknown Object (File)
Mon, Sep 7, 12:50 PM
Unknown Object (File)
Mon, Sep 7, 12:45 PM
Unknown Object (File)
Sun, Sep 6, 10:51 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