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)
Sat, Nov 22, 3:43 AM
Unknown Object (File)
Sat, Nov 22, 3:40 AM
Unknown Object (File)
Sat, Nov 22, 3:40 AM
Unknown Object (File)
Sat, Nov 22, 3:33 AM
Unknown Object (File)
Oct 10 2025, 2:34 AM
Unknown Object (File)
Oct 10 2025, 2:34 AM
Unknown Object (File)
Oct 10 2025, 2:34 AM
Unknown Object (File)
Oct 9 2025, 9:49 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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