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)
Fri, Oct 10, 2:34 AM
Unknown Object (File)
Fri, Oct 10, 2:34 AM
Unknown Object (File)
Fri, Oct 10, 2:34 AM
Unknown Object (File)
Thu, Oct 9, 9:49 PM
Unknown Object (File)
Tue, Oct 7, 12:17 AM
Unknown Object (File)
Sun, Sep 21, 2:59 AM
Unknown Object (File)
Sep 11 2025, 3:51 AM
Unknown Object (File)
Sep 7 2025, 3:05 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