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)
Wed, May 13, 1:42 AM
Unknown Object (File)
Wed, May 13, 1:42 AM
Unknown Object (File)
Wed, May 13, 1:42 AM
Unknown Object (File)
Wed, May 13, 1:26 AM
Unknown Object (File)
Wed, Apr 29, 10:12 AM
Unknown Object (File)
Wed, Apr 29, 10:07 AM
Unknown Object (File)
Tue, Apr 28, 10:18 AM
Unknown Object (File)
Tue, Apr 28, 5:14 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