Page MenuHomeFreeBSD

linuxkpi: remove invalid KASSERT from hash_add_rcu
ClosedPublic

Authored by emaste on Jan 29 2024, 2:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 5:27 PM
Unknown Object (File)
Tue, Oct 29, 9:09 AM
Unknown Object (File)
Sun, Oct 27, 10:19 AM
Unknown Object (File)
Sep 23 2024, 5:34 AM
Unknown Object (File)
Sep 22 2024, 11:17 PM
Unknown Object (File)
Sep 22 2024, 3:32 AM
Unknown Object (File)
Sep 19 2024, 2:08 AM
Unknown Object (File)
Sep 18 2024, 7:22 PM
Subscribers

Details

Summary
hash_add_rcu asserted that the node's prev pointer was NULL in an
attempt to detect addition of a node already on a list, but the caller
is not required to provide a zeroed node.

Reported in https://github.com/freebsd/drm-kmod/issues/282

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped