[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <09ce6f16-dc14-1936-ebeb-d3077c6c5b70@gmail.com>
Date: Tue, 17 Jan 2023 19:36:33 -0700
From: David Ahern <dsahern@...il.com>
To: Xin Long <lucien.xin@...il.com>,
network dev <netdev@...r.kernel.org>
Cc: davem@...emloft.net, kuba@...nel.org,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>, Jiri Pirko <jiri@...nulli.us>
Subject: Re: [PATCH net] Revert "net: team: use IFF_NO_ADDRCONF flag to
prevent ipv6 addrconf"
On 1/17/23 11:42 AM, Xin Long wrote:
> This reverts commit 0aa64df30b382fc71d4fb1827d528e0eb3eff854.
>
> Currently IFF_NO_ADDRCONF is used to prevent all ipv6 addrconf for the
> slave ports of team, bonding and failover devices and it means no ipv6
> packets can be sent out through these slave ports. However, for team
> device, "nsna_ping" link_watch requires ipv6 addrconf. Otherwise, the
> link will be marked failure. This patch removes the IFF_NO_ADDRCONF
> flag set for team port, and we will fix the original issue in another
> patch, as Jakub suggested.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
> ---
> drivers/net/team/team.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
> index fcd43d62d86b..d10606f257c4 100644
> --- a/drivers/net/team/team.c
> +++ b/drivers/net/team/team.c
> @@ -1044,7 +1044,6 @@ static int team_port_enter(struct team *team, struct team_port *port)
> goto err_port_enter;
> }
> }
> - port->dev->priv_flags |= IFF_NO_ADDRCONF;
>
> return 0;
>
> @@ -1058,7 +1057,6 @@ static void team_port_leave(struct team *team, struct team_port *port)
> {
> if (team->ops.port_leave)
> team->ops.port_leave(team, port);
> - port->dev->priv_flags &= ~IFF_NO_ADDRCONF;
> dev_put(team->dev);
> }
>
What about the other patches in that set - failover device and bonding?
Powered by blists - more mailing lists