Page MenuHomeFreeBSD

ibcore: Fix GID sysctl fallback formatting
ClosedPublic

Authored by slavash on Jul 5 2026, 8:15 AM.
Tags
None
Referenced Files
F165913415: D58042.id181328.diff
Mon, Aug 10, 12:21 PM
F165907815: D58042.id181304.diff
Mon, Aug 10, 11:41 AM
F165882841: D58042.id181304.diff
Mon, Aug 10, 10:12 AM
F165831709: D58042.diff
Mon, Aug 10, 2:21 AM
Unknown Object (File)
Sun, Aug 9, 11:04 AM
Unknown Object (File)
Sat, Aug 8, 5:21 PM
Unknown Object (File)
Sat, Aug 8, 5:20 AM
Unknown Object (File)
Sat, Aug 8, 5:03 AM
Subscribers

Details

Summary

When a GID table entry is empty or not yet present in the cache,
show_port_gid() falls back to printing a zero GID. Use the existing
GID_PRINT_FMT/GID_PRINT_ARGS helpers instead of Linux's %pI6 format,
which FreeBSD printf treats as a pointer followed by "I6".
This makes empty GID sysctl entries consistently report
0000:0000:0000:0000:0000:0000:0000:0000.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jul 5 2026, 8:35 AM

Please pass the -U999999 argument to the git diff command you used to generate the uploaded patch, for the next time.

Oops, I must have missed this when merging. Thanks!

This revision was automatically updated to reflect the committed changes.