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)
Wed, Mar 11, 8:29 AM
Unknown Object (File)
Wed, Mar 11, 2:48 AM
Unknown Object (File)
Tue, Mar 3, 4:56 AM
Unknown Object (File)
Feb 9 2026, 3:04 PM
Unknown Object (File)
Jan 26 2026, 11:33 AM
Unknown Object (File)
Jan 21 2026, 5:29 AM
Unknown Object (File)
Dec 14 2025, 4:35 PM
Unknown Object (File)
Nov 24 2025, 9:13 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.