Page MenuHomeFreeBSD

ibcore: Fix GID sysctl fallback formatting
ClosedPublic

Authored by slavash on Jul 5 2026, 8:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 10:50 AM
Unknown Object (File)
Fri, Sep 11, 6:13 PM
Unknown Object (File)
Fri, Sep 11, 1:29 AM
Unknown Object (File)
Thu, Sep 10, 8:57 PM
Unknown Object (File)
Tue, Sep 8, 4:39 AM
Unknown Object (File)
Tue, Sep 8, 2:49 AM
Unknown Object (File)
Tue, Sep 8, 12:55 AM
Unknown Object (File)
Sat, Sep 5, 1:14 PM
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.