Re: [PATCH net-next 07/12] ipvlan: Don't allow children to use IPs of main
From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-11-25 14:26:28
Also in:
lkml
From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-11-25 14:26:28
Also in:
lkml
On 11/20/25 6:49 PM, Dmitry Skorodumov wrote:
Remember all ip-addresses on main iface and check in ipvlan_addr_busy() that addr is not used on main.
Why? Why using in_dev_for_each_ifa_rcu()/in6_dev->addr_list is not good enough? Note that IP addtion on the main interface can race with ipvlan_addr_busy() even with the code you are proposing. /P