User Details
- User Since
- Aug 26 2022, 6:24 PM (203 w, 3 d)
Today
Address @markj comment, remove redundant *m0 = m assignment
Address @markj comment
LGTM
Yesterday
Sat, Jul 18
This should fix it.
Could you please test it again? @ivy @zarychtam_plan-b.pwste.edu.pl
In contrast to ifa_ifwithnet the ifaof_ifpforaddr returns an ifa even if it's not appropriate for prefsrc.
Fix when the interface is specified (which is usually done by ospf) by removing ifaof_ifpforaddr and use ifa_ifwithaddr_fib instead.
Parent: D58305
@bnovkov Should I wait for you to test, or are we good to land this?
Fri, Jul 17
Tests are passed.
Refactor by breaking prefsrc netlink logic into nl_set_nexthop_prefsrc() and setting the forgotten nh_aifp.
Now, I will wait for D58305, unless the consensus is to NOT limit the ability to set a prefsrc from another fib for VRF route leak.
Set prefsrc after setting the nh_ifp in non-multipath route.
Revert removed ARGUSED comments on other functions.
Address @bnovkov comment by adding ifa_ifwithaddr_fib_check() version.
Remove ARGUSED comment.
Remove dump_prefsrc from mpnh.
Sorry for noise. I'm really used to arc.
Fix bird by adding dump_prefsrc.
@ivy, it works now:
[root@ftsr1] [~] # fgrep -A4 -B4 prefsrc /usr/local/etc/bird.conf
protocol kernel kernel6 {
ipv6 {
import all;
export filter {
krt_prefsrc = fdb5:c59b:114e::a;
accept;
};
};
}
--
protocol kernel kernel4 {
ipv4 {
import all;
export filter {
krt_prefsrc = 172.23.1.101;
accept;
};
};
}
[root@ftsr1] [~] # ifconfig lo0 inet
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet 172.23.1.101 netmask 0xffffffff
[root@ftsr1] [~] # ifconfig vtnet0 inet6 | grep fdb
inet6 fdb5:c59b:114e::a prefixlen 64
[root@ftsr1] [~] # birdc show ospf neigh
BIRD 3.2.0 ready.
ospf1:
Router ID Pri State DTime Interface Router IP
100.64.10.101 1 Full/DR 30.313 epair0a fe80::5a9c:fcff:fe10:1020Oops, these days I'm trying to use git arc instead of arc and messed up :)
Remove NL_DEBUG
Remove NL_DEBUG
This is a WIP. I'm not running tests for it.
@ivy, how it looks?
Thank you so much for your explanation @ivy
Thu, Jul 16
Wed, Jul 15
Tue, Jul 14
LGTM
Mon, Jul 13
I'll fix it in another commit if approved.
Thank you
Address @markj comments.
Thanks!
It helps, but not much. it might increase ifi->timer.tv_sec to PROBE_INTERVAL which is 60s.
Address @salvadore comments.
Thanks!
Sat, Jul 11
@adrian Hi, could you please MFC this one into stable/15?
I'm not sure how to apply this patch from phabricator while cherry-picking it from CURRENT..
Fri, Jul 10
Thu, Jul 9
Use const bool instead of bool, oops!
Rebase to parent
Address @glebius comment.
Thank you!
It's really hard to MFC this change to stable/15.
Could you please prepare a patch for stable/15 too?
If you're willing to do that, I could talk to release manager.
Address @markj comment on code spacing between tests.
Address @glebius comment.
Address @markj comments.
Thank you for all of your great reviews.
Do you want me to commit this one? @vinicius_ferrao.net.br