[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230721040356.3591174-1-liuhangbin@gmail.com>
Date: Fri, 21 Jul 2023 12:03:54 +0800
From: Hangbin Liu <liuhangbin@...il.com>
To: netdev@...r.kernel.org
Cc: Jay Vosburgh <j.vosburgh@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Liang Li <liali@...hat.com>,
Jiri Pirko <jiri@...dia.com>,
Nikolay Aleksandrov <razor@...ckwall.org>,
Hangbin Liu <liuhangbin@...il.com>
Subject: [PATCHv4 net 0/2] Fix up dev flags when add P2P down link
When adding p2p interfaces to bond/team. The POINTOPOINT, NOARP flags are
not inherit to up devices. Which will trigger IPv6 DAD. Since there is
no ethernet MAC address for P2P devices. This will cause unexpected DAD
failures.
v4: Just reset the team flag, not call ether_setup, as Paolo pointed.
v3: add function team_ether_setup to reset team back to ethernet. Thanks Paolo
v2: Add the missed {} after if checking. Thanks Nikolay.
Hangbin Liu (2):
bonding: reset bond's flags when down link is P2P device
team: reset team's flags when down link is P2P device
drivers/net/bonding/bond_main.c | 5 +++++
drivers/net/team/team.c | 9 +++++++++
2 files changed, 14 insertions(+)
--
2.38.1
Powered by blists - more mailing lists