Skip to content

Commit 4fb58ac

Browse files
lxinkuba-moo
authored andcommitted
Revert "net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf"
This reverts commit 0aa64df. 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. Fixes: 0aa64df ("net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf") Signed-off-by: Xin Long <[email protected]> Link: https://lore.kernel.org/r/63e09531fc47963d2e4eff376653d3db21b97058.1673980932.git.lucien.xin@gmail.com Signed-off-by: Jakub Kicinski <[email protected]>
1 parent e0be11a commit 4fb58ac

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/team/team.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,6 @@ static int team_port_enter(struct team *team, struct team_port *port)
10441044
goto err_port_enter;
10451045
}
10461046
}
1047-
port->dev->priv_flags |= IFF_NO_ADDRCONF;
10481047

10491048
return 0;
10501049

@@ -1058,7 +1057,6 @@ static void team_port_leave(struct team *team, struct team_port *port)
10581057
{
10591058
if (team->ops.port_leave)
10601059
team->ops.port_leave(team, port);
1061-
port->dev->priv_flags &= ~IFF_NO_ADDRCONF;
10621060
dev_put(team->dev);
10631061
}
10641062

0 commit comments

Comments
 (0)