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)
Feb 3 2024, 9:10 AM
Unknown Object (File)
Feb 2 2024, 9:53 AM
Unknown Object (File)
Feb 2 2024, 9:52 AM
Unknown Object (File)
Feb 2 2024, 9:52 AM
Unknown Object (File)
Jan 31 2024, 6:06 AM
Unknown Object (File)
Jan 29 2024, 4:57 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

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