[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251202141149.4144248-1-skorodumov.dmitry@huawei.com>
Date: Tue, 2 Dec 2025 17:11:47 +0300
From: Dmitry Skorodumov <skorodumov.dmitry@...wei.com>
To: <netdev@...r.kernel.org>
CC: Dmitry Skorodumov <skorodumov.dmitry@...wei.com>, Paolo Abeni
<pabeni@...hat.com>
Subject: [PATCH net 0/2] ipvlan: make addrs_lock be per port
It seems that initial code of the ipvlan was written in the assumption
that all addr-change occurs under rtnl-lock. But it's not true
for the IPv6 case.
Make addrs_lock be per port and fix possible races.
Note: the race is very rare and unlikely to occur in real environment.
Dmitry Skorodumov (2):
ipvlan: Make the addrs_lock be per port
ipvlan: Take addr_lock in ipvlan_open()
drivers/net/ipvlan/ipvlan.h | 2 +-
drivers/net/ipvlan/ipvlan_main.c | 34 +++++++++++++++++---------------
2 files changed, 19 insertions(+), 17 deletions(-)
CC: Paolo Abeni <pabeni@...hat.com>
--
2.25.1
Powered by blists - more mailing lists