Thread (23 messages) 23 messages, 2 authors, 2025-12-02

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

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help