]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf
authorXin Long <lucien.xin@gmail.com>
Fri, 9 Dec 2022 15:21:39 +0000 (10:21 -0500)
committerJakub Kicinski <kuba@kernel.org>
Mon, 12 Dec 2022 23:18:25 +0000 (15:18 -0800)
commit0aa64df30b382fc71d4fb1827d528e0eb3eff854
treece2f838d3eea2c9527af70860e36736044e322e6
parent8a321cf7becc6c065ae595b837b826a2a81036b9
net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf

This patch is to use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf
for Team port. This flag will be set in team_port_enter(), which
is called before dev_open(), and cleared in team_port_leave(),
called after dev_close() and the err path in team_port_add().

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/team/team.c