Message ID | 20210106184007.1821480-1-kuba@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | net: fix issues around register_netdevice() failures | expand |
Hello: This series was applied to netdev/net.git (refs/heads/master): On Wed, 6 Jan 2021 10:40:04 -0800 you wrote: > This series attempts to clean up the life cycle of struct > net_device. Dave has added dev->needs_free_netdev in the > past to fix double frees, we can lean on that mechanism > a little more to fix remaining issues with register_netdevice(). > > This is the next chapter of the saga which already includes: > commit 0e0eee2465df ("net: correct error path in rtnl_newlink()") > commit e51fb152318e ("rtnetlink: fix a memory leak when ->newlink fails") > commit cf124db566e6 ("net: Fix inconsistent teardown and release of private netdev state.") > commit 93ee31f14f6f ("[NET]: Fix free_netdev on register_netdev failure.") > commit 814152a89ed5 ("net: fix memleak in register_netdevice()") > commit 10cc514f451a ("net: Fix null de-reference of device refcount") > > [...] Here is the summary with links: - [net,1/3] docs: net: explain struct net_device lifetime https://git.kernel.org/netdev/net/c/2b446e650b41 - [net,2/3] net: make free_netdev() more lenient with unregistering devices https://git.kernel.org/netdev/net/c/c269a24ce057 - [net,3/3] net: make sure devices go through netdev_wait_all_refs https://git.kernel.org/netdev/net/c/766b0515d5be You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html