Clear the list before returning so that it's idempotent when it
succeeds.
While here, use TAILQ_FOREACH_SAFE in the loop which unregisters OIDs.
Differential D45041
sysctl: Make sysctl_ctx_free() a bit safer markj on May 1 2024, 12:00 PM. Authored by Tags None Referenced Files
Details Clear the list before returning so that it's idempotent when it While here, use TAILQ_FOREACH_SAFE in the loop which unregisters OIDs.
Diff Detail
|