netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] net: inline rollback_registered() functions
@ 2021-01-19 19:11 Jakub Kicinski
  2021-01-19 19:11 ` [PATCH net-next 1/4] net: move net_set_todo inside rollback_registered() Jakub Kicinski
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jakub Kicinski @ 2021-01-19 19:11 UTC (permalink / raw)
  To: davem; +Cc: netdev, Jakub Kicinski

After recent changes to the error path of register_netdevice()
we no longer need a version of unregister_netdevice_many() which
does not set net_todo. We can inline the rollback_registered()
functions into respective unregister_netdevice() calls.

Jakub Kicinski (4):
  net: move net_set_todo inside rollback_registered()
  net: inline rollback_registered()
  net: move rollback_registered_many()
  net: inline rollback_registered_many()

 net/core/dev.c | 209 +++++++++++++++++++++++--------------------------
 1 file changed, 97 insertions(+), 112 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-19 19:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-19 19:11 [PATCH net-next 0/4] net: inline rollback_registered() functions Jakub Kicinski
2021-01-19 19:11 ` [PATCH net-next 1/4] net: move net_set_todo inside rollback_registered() Jakub Kicinski
2021-01-19 19:11 ` [PATCH net-next 2/4] net: inline rollback_registered() Jakub Kicinski
2021-01-19 19:11 ` [PATCH net-next 3/4] net: move rollback_registered_many() Jakub Kicinski
2021-01-19 19:11 ` [PATCH net-next 4/4] net: inline rollback_registered_many() Jakub Kicinski
2021-01-19 19:17   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).