Page MenuHomeFreeBSD

pctrie_lookup_node: assume parent_out != NULL
ClosedPublic

Authored by dougm on Jun 6 2025, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 13 2025, 11:02 PM
Unknown Object (File)
Nov 11 2025, 10:12 PM
Unknown Object (File)
Nov 7 2025, 9:56 AM
Unknown Object (File)
Oct 27 2025, 12:27 PM
Unknown Object (File)
Oct 27 2025, 5:13 AM
Unknown Object (File)
Oct 27 2025, 1:40 AM
Unknown Object (File)
Oct 27 2025, 1:40 AM
Unknown Object (File)
Oct 26 2025, 8:09 PM
Subscribers

Details

Summary

Since NULL is never passed as the parent_out parameter to _pctrie_lookup_node, stop making the assignment to *parent_out check parent_out for NULL first.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Jun 6 2025, 6:16 PM
dougm created this revision.
This revision is now accepted and ready to land.Jun 6 2025, 6:44 PM
This revision was automatically updated to reflect the committed changes.