From: Ido Schimmel
Date: Wed, 20 Dec 2017 12:28:25 +0200
> Currently, parameters such as oif and source address are not taken into
> account during fibmatch lookup. Example (IPv4 for reference) before
> patch:
...
> The problem stems from the fact that the necessary route lookup flags
> are not
On 12/20/17 3:28 AM, Ido Schimmel wrote:
> @@ -4327,6 +4321,15 @@ static int inet6_rtm_getroute(struct sk_buff *in_skb,
> struct nlmsghdr *nlh,
> goto errout;
> }
>
> + if (fibmatch && rt->dst.from) {
> + struct rt6_info *ort = container_of(rt->dst.from,
> +
Currently, parameters such as oif and source address are not taken into
account during fibmatch lookup. Example (IPv4 for reference) before
patch:
$ ip -4 route show
192.0.2.0/24 dev dummy0 proto kernel scope link src 192.0.2.1
198.51.100.0/24 dev dummy1 proto kernel scope link src 198.51.100.1
$