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)
Nov 22 2024, 12:56 AM
Unknown Object (File)
Nov 16 2024, 9:55 AM
Unknown Object (File)
Nov 13 2024, 6:45 PM
Unknown Object (File)
Nov 7 2024, 12:35 AM
Unknown Object (File)
Nov 7 2024, 12:29 AM
Unknown Object (File)
Nov 6 2024, 10:36 PM
Unknown Object (File)
Nov 4 2024, 5:27 PM
Unknown Object (File)
Oct 29 2024, 9:09 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