Skip to content

net: inline rollback_registered() functions

Jakub Kicinski netdev 2 versions Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesApplied 4/4
  2. v14 patches 1 replySuperseded

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: move net_set_todo inside rollback_registered()net/core/dev.c+3 -80 repliesApplied
2/4net: inline rollback_registered()net/core/dev.c+6 -110 repliesApplied
3/4net: move rollback_registered_many()net/core/dev.c+95 -930 repliesApplied
4/4net: inline rollback_registered_many()net/core/dev.c+8 -140 repliesApplied

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEdwin Peer
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/4] net: inline rollback_registered() functions

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.

v2: - add missing list_del() in the last patch

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 | 210 +++++++++++++++++++++++--------------------------
 1 file changed, 98 insertions(+), 112 deletions(-)
Signature · 1 line
2.26.2