Re: [PATCH net-next] ip6_vti: proper dev_{hold|put} in ndo_[un]init methods

2021-03-29 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Mon, 29 Mar 2021 12:12:54 -0700 you wrote: > From: Eric Dumazet > > After adopting CONFIG_PCPU_DEV_REFCNT=n option, syzbot was able to trigger > a warning [1] > > Issue here is that: > > [...] Here is the summary wi

[PATCH net-next] ip6_vti: proper dev_{hold|put} in ndo_[un]init methods

2021-03-29 Thread Eric Dumazet
From: Eric Dumazet After adopting CONFIG_PCPU_DEV_REFCNT=n option, syzbot was able to trigger a warning [1] Issue here is that: - all dev_put() should be paired with a corresponding prior dev_hold(). - A driver doing a dev_put() in its ndo_uninit() MUST also do a dev_hold() in its ndo_init()