mbox series

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

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

Message

Hangbin Liu July 14, 2023, 8:13 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.

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         | 5 +++++
 2 files changed, 10 insertions(+)