[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR11MB287086509523539BEE534208AB7C9@BYAPR11MB2870.namprd11.prod.outlook.com>
Date: Wed, 31 Mar 2021 08:51:57 +0000
From: "Wong, Vee Khee" <vee.khee.wong@...el.com>
To: Eric Dumazet <edumazet@...gle.com>
CC: "eric.dumazet@...il.com" <eric.dumazet@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"syzkaller@...glegroups.com" <syzkaller@...glegroups.com>,
"Ismail, Mohammad Athari" <mohammad.athari.ismail@...el.com>
Subject: RE: [PATCH net-next] sit: proper dev_{hold|put} in ndo_[un]init
methods
On Wed, Mar 31, 2021 at 13:58, Eric Dumazet wrote:
>
> On Wed, Mar 31, 2021 at 2:01 AM Wong, Vee Khee
> <vee.khee.wong@...el.com> wrote:
> >
> > Hi all,
> >
> >
> >
> > This patch introduced the following massive warnings printouts on a
> >
> > Intel x86 Alderlake platform with STMMAC MAC and Marvell 88E2110 PHY.
> >
> >
> >
> > [ 149.674232] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 159.930310] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 170.186205] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 180.434311] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 190.682309] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 200.690176] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 210.938310] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 221.186311] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 231.442311] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 241.690186] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 251.698288] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 261.946311] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 272.194181] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 282.442311] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 292.690310] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 302.938313] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 313.186255] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 323.442329] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 333.698309] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 343.946310] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 354.202166] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 364.450190] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> > [ 374.706314] unregister_netdevice: waiting for sit0 to become free.
> Usage count = 2
> >
> >
> >
> > Is this an expected behavior?
> >
> >
> >
> > Thanks,
> >
> > VK
>
> Same answer than the other thread :
>
> Nope, I already have a fix, but it depends on a pending patch.
>
> https://patchwork.kernel.org/project/netdevbpf/patch/20210330064551.54
> 5964-1-eric.dumazet@...il.com/
>
> (I need the patch being merged to add a corresponding Fixes: tag)
>
> You can try the attached patch :
Thanks, I applied the two patches you mentioned and
no longer seeing the warnings.
Powered by blists - more mailing lists