mbox series

[net-next,0/2] net: rose: fix module unload issues

Message ID 20220729091233.1030680-1-edumazet@google.com (mailing list archive)
Headers show
Series net: rose: fix module unload issues | expand

Message

Eric Dumazet July 29, 2022, 9:12 a.m. UTC
Bernard Pidoux reported that unloading rose module could lead
to infamous "unregistered_netdevice:" issues.

First patch is the fix, stable candidate.
Second patch is adding netdev ref tracker to af_rose.

I chose net-next to not inflict merge conflicts, because
Jakub changed dev_put_track() to netdev_put_track() in net-next.

Eric Dumazet (2):
  net: rose: fix netdev reference changes
  net: rose: add netdev ref tracker to 'struct rose_sock'

 include/net/rose.h    |  3 ++-
 net/rose/af_rose.c    | 17 +++++++++++++++--
 net/rose/rose_route.c |  2 ++
 3 files changed, 19 insertions(+), 3 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 1, 2022, 7:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 29 Jul 2022 09:12:31 +0000 you wrote:
> Bernard Pidoux reported that unloading rose module could lead
> to infamous "unregistered_netdevice:" issues.
> 
> First patch is the fix, stable candidate.
> Second patch is adding netdev ref tracker to af_rose.
> 
> I chose net-next to not inflict merge conflicts, because
> Jakub changed dev_put_track() to netdev_put_track() in net-next.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: rose: fix netdev reference changes
    https://git.kernel.org/netdev/net-next/c/931027820e4d
  - [net-next,2/2] net: rose: add netdev ref tracker to 'struct rose_sock'
    https://git.kernel.org/netdev/net-next/c/2df91e397d85

You are awesome, thank you!