[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <34b44ddc-046b-a829-62af-7c32d6a0cbbe@gmail.com>
Date: Tue, 19 Nov 2019 09:00:42 -0700
From: David Ahern <dsahern@...il.com>
To: Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Edward Cree <ecree@...arflare.com>
Subject: Re: [PATCH net-next v3 2/2] ipv4: use dst hint for ipv4 list receive
On 11/19/19 7:38 AM, Paolo Abeni wrote:
> @@ -535,11 +550,20 @@ static void ip_sublist_rcv_finish(struct list_head *head)
> }
> }
>
> +static struct sk_buff *ip_extract_route_hint(struct net *net,
> + struct sk_buff *skb, int rt_type)
> +{
> + if (fib4_has_custom_rules(net) || rt_type != RTN_LOCAL)
Why the local only limitation for v4 but not v6? Really, why limit this
to LOCAL at all? same destination with same tos and no custom rules
means even for forwarding the lookup should be the same and you can
re-use the dst.
Powered by blists - more mailing lists