Re: [PATCH 5.4 v2 2/2] ipv4: Fix incorrect route flushing when source address is deleted

David Ahern
2023-02-08T02:22:29Z

On 2/7/23 11:28 AM, Shaoying Xu wrote:
> From: Ido Schimmel <idosch@nvidia.com>
>
> [ Upstream commit f96a3d74554df537b6db5c99c27c80e7afadc8d1 ]
>

That commit, does not have this change:

> diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
> index 908913d75847..f45b9daf62cf 100644
> --- a/net/ipv4/fib_semantics.c
> +++ b/net/ipv4/fib_semantics.c
> @@ -420,6 +420,7 @@ static struct fib_info *fib_find_info(struct fib_info *nfi)
> nfi->fib_prefsrc == fi->fib_prefsrc &&
> nfi->fib_priority == fi->fib_priority &&
> nfi->fib_type == fi->fib_type &&
> + nfi->fib_tb_id == fi->fib_tb_id &&
> memcmp(nfi->fib_metrics, fi->fib_metrics,
> sizeof(u32) * RTAX_MAX) == 0 &&
> !((nfi->fib_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK) &&