Page MenuHomeFreeBSD

rtnetlink: Add support for nexthop expiration in new route
ClosedPublic

Authored by pouria on Sun, Feb 22, 6:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 26, 1:43 AM
Unknown Object (File)
Wed, Feb 25, 4:29 PM
Unknown Object (File)
Wed, Feb 25, 1:56 PM
Unknown Object (File)
Wed, Feb 25, 1:29 PM
Unknown Object (File)
Wed, Feb 25, 11:52 AM
Unknown Object (File)
Wed, Feb 25, 8:22 AM
Unknown Object (File)
Wed, Feb 25, 6:06 AM
Subscribers

Details

Summary

Before this change, netlink only shows nexthop
expire value. Now it can set expire time during route creation.

Test Plan

kyua test -k /usr/tests/sys/netlink/Kyuafile
and upcoming route(8) patch for netlink.

Diff Detail

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

Event Timeline

Add support for nexthop expire value on multipath routes.
route(8) and netstat(1) will be updated too.

glebius added inline comments.
sys/netlink/route/rt.c
182

Please declare nh_expire here. I know netlink violates that part of style(9) a lot, but let's not add new cases.

This revision is now accepted and ready to land.Thu, Feb 26, 3:14 AM
This revision now requires review to proceed.Thu, Feb 26, 9:13 AM
This revision was not accepted when it landed; it landed in state Needs Review.Thu, Feb 26, 12:35 PM
This revision was automatically updated to reflect the committed changes.