mbox series

[net-next,0/3] net: add IFF_NO_ADDRCONF to prevent ipv6 addrconf

Message ID cover.1670599241.git.lucien.xin@gmail.com (mailing list archive)
Headers show
Series net: add IFF_NO_ADDRCONF to prevent ipv6 addrconf | expand

Message

Xin Long Dec. 9, 2022, 3:21 p.m. UTC
This patchset adds IFF_NO_ADDRCONF flag for dev->priv_flags
to prevent ipv6 addrconf, as Jiri Pirko's suggestion.

For Bonding it changes to use this flag instead of IFF_SLAVE
flag in Patch 1, and for Teaming and Net Failover it sets
this flag before calling dev_open() in Patch 2 and 3.

Xin Long (3):
  net: add IFF_NO_ADDRCONF and use it in bonding to prevent ipv6
    addrconf
  net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf
  net: failover: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf

 drivers/net/bonding/bond_main.c | 18 +++++++++++++-----
 drivers/net/team/team.c         |  2 ++
 include/linux/netdevice.h       |  3 ++-
 net/core/failover.c             |  6 +++---
 net/ipv6/addrconf.c             |  4 ++--
 5 files changed, 22 insertions(+), 11 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 12, 2022, 11:30 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri,  9 Dec 2022 10:21:37 -0500 you wrote:
> This patchset adds IFF_NO_ADDRCONF flag for dev->priv_flags
> to prevent ipv6 addrconf, as Jiri Pirko's suggestion.
> 
> For Bonding it changes to use this flag instead of IFF_SLAVE
> flag in Patch 1, and for Teaming and Net Failover it sets
> this flag before calling dev_open() in Patch 2 and 3.
> 
> [...]

Here is the summary with links:
  - [net-next,1/3] net: add IFF_NO_ADDRCONF and use it in bonding to prevent ipv6 addrconf
    https://git.kernel.org/netdev/net-next/c/8a321cf7becc
  - [net-next,2/3] net: team: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf
    https://git.kernel.org/netdev/net-next/c/0aa64df30b38
  - [net-next,3/3] net: failover: use IFF_NO_ADDRCONF flag to prevent ipv6 addrconf
    https://git.kernel.org/netdev/net-next/c/cb54d392279d

You are awesome, thank you!