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)
Jun 27 2025, 6:06 AM
Unknown Object (File)
Jun 10 2025, 10:33 AM
Unknown Object (File)
Jun 7 2025, 6:44 AM
Unknown Object (File)
May 13 2025, 10:03 PM
Unknown Object (File)
May 12 2025, 9:30 PM
Unknown Object (File)
May 12 2025, 3:26 AM
Unknown Object (File)
May 11 2025, 3:25 AM
Unknown Object (File)
Apr 24 2025, 1:41 AM
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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable