[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <764019bc-9a85-2213-d8ee-74af7f00c028@gmail.com>
Date: Sun, 7 Jan 2018 09:55:22 -0700
From: David Ahern <dsahern@...il.com>
To: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org
Cc: davem@...emloft.net, roopa@...ulusnetworks.com,
nicolas.dichtel@...nd.com, weiwan@...gle.com, kafai@...com,
yoshfuji@...ux-ipv6.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next 04/18] ipv6: Prepare to handle multiple netdev
events
On 1/7/18 3:45 AM, Ido Schimmel wrote:
> To make IPv6 more in line with IPv4 we need to be able to respond
> differently to different netdev events. For example, when a netdev is
> unregistered all the routes using it as their nexthop device should be
> flushed, whereas when the netdev's carrier changes only the 'linkdown'
> flag should be toggled.
>
> Currently, this is not possible, as the function that traverses the
> routing tables is not aware of the triggering event.
>
> Propagate the triggering event down, so that it could be used in later
> patches.
>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> ---
> include/net/ip6_route.h | 2 +-
> net/ipv6/addrconf.c | 4 ++--
> net/ipv6/route.c | 37 +++++++++++++++++++++----------------
> 3 files changed, 24 insertions(+), 19 deletions(-)
Acked-by: David Ahern <dsahern@...il.com>
Powered by blists - more mailing lists