mbox series

[PATCHv3,net,0/2] Fix up dev flags when add P2P down link

Message ID 20230718101741.2751799-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series Fix up dev flags when add P2P down link | expand

Message

Hangbin Liu July 18, 2023, 10:17 a.m. UTC
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.

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         | 23 ++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 1 deletion(-)