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)
Dec 26 2024, 9:02 AM
Unknown Object (File)
Dec 18 2024, 1:27 AM
Unknown Object (File)
Nov 26 2024, 1:04 AM
Unknown Object (File)
Oct 3 2024, 12:01 AM
Unknown Object (File)
Oct 2 2024, 2:12 PM
Unknown Object (File)
Sep 29 2024, 6:07 PM
Unknown Object (File)
Sep 23 2024, 6:34 PM
Unknown Object (File)
Sep 23 2024, 5:57 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