Page MenuHomeFreeBSD

netlink: Handle RTA_PREFSRC on RTM_NEWROUTE
ClosedPublic

Authored by email_luiz.eng.br on Thu, Sep 26, 3:36 PM.
Tags
None
Referenced Files
F98079943: D46796.diff
Wed, Oct 2, 6:37 AM
F98021467: D46796.diff
Wed, Oct 2, 1:23 AM
Unknown Object (File)
Sun, Sep 29, 1:17 PM
Unknown Object (File)
Sun, Sep 29, 4:28 AM
Unknown Object (File)
Sat, Sep 28, 10:04 AM

Details

Summary

While investigating a problem with the source address selection for IPv4 over IPv6 nexthop routes, I decided to try setting the prefsrc on the routes exported from BIRD, only to realize that there was no support for it.

With this patch, I was able to set a proper source address for routes added via Netlink.

Sponsored by: InnoGames GmbH

Diff Detail

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

Event Timeline

Thank you for working on this!
Could you please add the patch with context & add a corresponding test?
Thank you!

Could you please add the patch with context & add a corresponding test?

Will do, just give me a few days for the tests.

This revision was not accepted when it landed; it landed in state Needs Review.Wed, Oct 2, 6:38 AM
This revision was automatically updated to reflect the committed changes.