[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ece35d5e-fa1e-c2d2-9de9-2e4c54a99f3a@gmail.com>
Date: Thu, 21 Nov 2019 13:09:25 -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>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [PATCH net-next v4 2/5] ipv6: keep track of routes using src
On 11/20/19 5:47 AM, Paolo Abeni wrote:
> Use a per namespace counter, increment it on successful creation
> of any route using the source address, decrement it on deletion
> of such routes.
>
> This allows us to check easily if the routing decision in the
> current namespace depends on the packet source. Will be used
> by the next patch.
>
> Suggested-by: David Ahern <dsahern@...il.com>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
> ---
> include/net/ip6_fib.h | 30 ++++++++++++++++++++++++++++++
> include/net/netns/ipv6.h | 3 +++
> net/ipv6/ip6_fib.c | 4 ++++
> net/ipv6/route.c | 3 +++
> 4 files changed, 40 insertions(+)
>
Reviewed-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists