Page MenuHomeFreeBSD

pctrie_lookup_range: don't write the null
ClosedPublic

Authored by dougm on May 14 2025, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 24, 9:13 PM
Unknown Object (File)
Sun, Nov 23, 1:05 AM
Unknown Object (File)
Tue, Nov 4, 1:06 PM
Unknown Object (File)
Tue, Nov 4, 12:57 PM
Unknown Object (File)
Tue, Nov 4, 12:57 PM
Unknown Object (File)
Tue, Nov 4, 12:56 PM
Unknown Object (File)
Oct 28 2025, 5:50 AM
Unknown Object (File)
Oct 27 2025, 11:37 PM
Subscribers

Details

Summary

There's no reason to write the NULL pointer value into the array when pctrie_lookup_range finds an item missing.

Diff Detail

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

Event Timeline

dougm requested review of this revision.May 14 2025, 4:21 PM
dougm created this revision.
This revision is now accepted and ready to land.May 14 2025, 11:43 PM
This revision was automatically updated to reflect the committed changes.