[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171221.115143.1125618919502623494.davem@davemloft.net>
Date: Thu, 21 Dec 2017 11:51:43 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: idosch@...lanox.com
Cc: netdev@...r.kernel.org, roopa@...ulusnetworks.com,
dsahern@...il.com, mlxsw@...lanox.com
Subject: Re: [PATCH net] ipv6: Honor specified parameters in fibmatch lookup
From: Ido Schimmel <idosch@...lanox.com>
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 set based on these parameters.
>
> Instead of duplicating the same logic for fibmatch, we can simply
> resolve the original route from its copy and dump it instead.
>
> Fixes: 18c3a61c4264 ("net: ipv6: RTM_GETROUTE: return matched fib result when requested")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists