HomeFreeBSD

timerfd: fix up a memory leak and missing locking

Description

timerfd: fix up a memory leak and missing locking

timerfd01 from ltp passes (and some other don't), but none of the tests
crash the kernel.

This is a bare minimum patch to fix up the immediate regression.

Reported by: yasu

(cherry picked from commit 02f534b57f84d6f4f97c337b05b383c8b3aaf18c)

Approved by: re (cperciva@)

(cherry picked from commit 8c496b26641e3d86b0c9db0ed2b4598093df6d5a)

Approved-by: re (cperciva)

Details

Provenance
mjgAuthored on Aug 25 2023, 2:21 PM
impCommitted on Sep 28 2023, 10:26 PM
Parents
rGeeac591b1289: nvme: Supress noise messages
Branches
Unknown
Tags
Unknown