Page MenuHomeFreeBSD

sysctl_search_oid: remove all-NULL precondition
ClosedPublic

Authored by dougm on Sep 27 2022, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 16, 4:45 AM
Unknown Object (File)
Feb 13 2024, 7:08 PM
Unknown Object (File)
Dec 23 2023, 2:54 AM
Unknown Object (File)
Dec 12 2023, 12:08 PM
Unknown Object (File)
Jul 21 2023, 10:23 AM
Unknown Object (File)
Jul 4 2023, 2:07 AM
Unknown Object (File)
Jul 4 2023, 2:04 AM
Unknown Object (File)
Jul 4 2023, 2:00 AM
Subscribers

Details

Summary

The implementation of sysctl_search_oid no longer relies on the initial value of nodes to be all NULL, so remove the comment that demands it and let the caller stop enforcing it.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Sep 27 2022, 9:26 PM
dougm created this revision.
This revision is now accepted and ready to land.Sep 28 2022, 8:40 AM