-
由 Jakub Kicinski 提交于
stable inclusion from stable-v5.10.134 commit bf2f3d1970c03f14c84515738de5c0cb28c8ebce category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5ZVR7 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bf2f3d1970c03f14c84515738de5c0cb28c8ebce -------------------------------- commit bcfe2f1a upstream. Move rollback_registered_many() and add a temporary forward declaration to make merging the code into unregister_netdevice_many() easier to review. No functional changes. Reviewed-by: NEdwin Peer <edwin.peer@broadcom.com> Signed-off-by: NJakub Kicinski <kuba@kernel.org> Signed-off-by: NFedor Pchelkin <pchelkin@ispras.ru> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Conflicts: net/core/dev.c [zzk: commit ("net/ns: put workqueue of cleanup_net sleep for a while when notify") adds cond_resched() into function which is being moved] Reviewed-by: NWei Li <liwei391@huawei.com>
20bf2e9a