Page MenuHomeFreeBSD

netlink: Fix expire column in -r flag using netlink
ClosedPublic

Authored by pouria on Feb 22 2026, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 19, 9:13 PM
Unknown Object (File)
Sat, Apr 18, 10:17 AM
Unknown Object (File)
Thu, Apr 16, 11:13 AM
Unknown Object (File)
Sun, Apr 12, 12:31 AM
Unknown Object (File)
Thu, Apr 9, 2:11 AM
Unknown Object (File)
Mar 21 2026, 6:36 PM
Unknown Object (File)
Mar 19 2026, 3:38 PM
Unknown Object (File)
Mar 18 2026, 4:54 AM

Details

Summary

netstat expire time report broken since netlink

Test Plan

I was going to write a test command for it,
but then I found out that route(8) on netlink is broken too. :)
use route compiled WITHOUT_NETLINK_SUPPORT for now.

route -n6 add -host 3fff::1 -gateway ::1 -expire +10
netstat -rn6

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 70996
Build 67879: arc lint + arc unit

Event Timeline

Fix multipath expire values too.

This revision is now accepted and ready to land.Feb 26 2026, 3:18 AM
This revision was landed with ongoing or failed builds.Feb 26 2026, 12:35 PM
This revision was automatically updated to reflect the committed changes.

I have been testing this patch on a couple of computers for over a week now, and everything seems to work fine (at least I see no regression).