[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260120161852.639238-1-skorodumov.dmitry@huawei.com>
Date: Tue, 20 Jan 2026 19:18:33 +0300
From: Dmitry Skorodumov <dskr99@...il.com>
To: netdev@...r.kernel.org
Cc: Dmitry Skorodumov <skorodumov.dmitry@...wei.com>
Subject: [PATCH net 0/3] ipvlan: Deduplicate ipv4/ipv6 addr_validator_event code
This is a bit stylish patches: The code to handle ipv4 and ipv6
address change are exactly the same. We don't need separate
functions for them. Just look whether we are called
with ipvlan_addr4_notifier_block or with ipvlan_addr6_notifier_block
The changed functionality is already covered
with existing selftests/net/ipvtap_test.sh
Dmitry Skorodumov (3):
ipvlan: const-specifier for functions that use iaddr
ipvlan: Common code from v6/v4 validator_event
ipvlan: common code to handle ipv6/ipv4 address events
drivers/net/ipvlan/ipvlan.h | 2 +-
drivers/net/ipvlan/ipvlan_core.c | 2 +-
drivers/net/ipvlan/ipvlan_main.c | 182 +++++++++++++------------------
3 files changed, 79 insertions(+), 107 deletions(-)
--
2.43.0
Powered by blists - more mailing lists