Revert "net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf"
authorXin Long <lucien.xin@gmail.com>
Tue, 17 Jan 2023 18:42:12 +0000 (13:42 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jan 2023 04:32:44 +0000 (20:32 -0800)
commit4fb58ac3368c6058e61194ec047a5503059d90ae
treefac29b8d27cac480f7558a78179565fb4c8bf49e
parente0be11a833e8447f51f428b213c91a9b05601815
Revert "net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf"

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.

Fixes: 0aa64df30b38 ("net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/63e09531fc47963d2e4eff376653d3db21b97058.1673980932.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/team/team.c