[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231215175711.323784-1-pctammela@mojatatu.com>
Date: Fri, 15 Dec 2023 14:57:09 -0300
From: Pedro Tammela <pctammela@...atatu.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com,
	horms@...nel.org,
	jiri@...nulli.us,
	jhs@...atatu.com,
	victor@...atatu.com,
	martin@...ongswan.org,
	idosch@...dia.com,
	razor@...ckwall.org,
	lucien.xin@...il.com,
	edwin.peer@...adcom.com,
	amcohen@...dia.com,
	Pedro Tammela <pctammela@...atatu.com>
Subject: [PATCH net-next 0/2] net: rtnl: introduce rcu_replace_pointer_rtnl
Introduce the rcu_replace_pointer_rtnl helper to lockdep check rtnl lock
rcu replacements, alongside the already existing helpers.
Patch 2 uses the new helper in the rtnl_unregister_* functions.
Originally this change was part of the P4TC series, as it's a recurrent
pattern there, but since it has a use case in mainline we are pushing it
separately.
Jamal Hadi Salim (1):
  net: rtnl: introduce rcu_replace_pointer_rtnl
Pedro Tammela (1):
  net: rtnl: use rcu_replace_pointer_rtnl in rtnl_unregister_*
 include/linux/rtnetlink.h | 12 ++++++++++++
 net/core/rtnetlink.c      | 12 +++---------
 2 files changed, 15 insertions(+), 9 deletions(-)
-- 
2.40.1
Powered by blists - more mailing lists
 
