Re: unregister_netdevice warnings when deleting netns

2015-11-05 Thread William Dauchy
On Tue, Sep 29, 2015 at 6:12 PM, Anand Gurram wrote: > Any additional ideas and suggestions on debugging in above scenario? You may give a try with the recent patch: packet: race condition in packet_bind http://www.spinics.net/lists/netdev/msg351337.html -- William -- To unsubscribe from this l

Re: unregister_netdevice warnings when deleting netns

2015-09-29 Thread Anand Gurram
Hi Julian and Eric I tried both the patches which you have suggested, the issue is still seen, I am observing same warning message thrown on the console "unregister_netdevice: waiting for lo to become free. Usage count = 1". >Sometimes people have addressed this class of issue with code review

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Eric W. Biederman
Anand Gurram writes: >>If the message just spits out a few times and then goes away it simply >>means that something is taking a while to cleanup and drop it's >>reference. > > The message just spits out few times and then goes away, I am trying > to debug why cleanup is taking long, > and where

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Anand Gurram
>If the message just spits out a few times and then goes away it simply >means that something is taking a while to cleanup and drop it's >reference. The message just spits out few times and then goes away, I am trying to debug why cleanup is taking long, and where it is still referenced. Any point

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Anand Gurram
Thanks Julian, I will check if these two commits work for me. >I think, they will appear in other stable versions too... Yes, I saw them in other versions, the fix which is suggested in those branches didn't work for me. Hope the above two commits help. Regards, Anand On Tue, Sep 29, 2015 at 12

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Julian Anastasov
Hello, On Mon, 28 Sep 2015, Eric W. Biederman wrote: > Julian Anastasov writes: > > > On Mon, 28 Sep 2015, Anand Gurram wrote: > > > >> I am currently using kernel version 3.16.7 on a linux switch. > >> While creating and destroying network namespaces I am observing below logs > >> on

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Eric W. Biederman
Julian Anastasov writes: > Hello, > > On Mon, 28 Sep 2015, Anand Gurram wrote: > >> I am currently using kernel version 3.16.7 on a linux switch. >> While creating and destroying network namespaces I am observing below logs >> on the console >> "unregister_netdevice: waiting for lo to becom

Re: unregister_netdevice warnings when deleting netns

2015-09-28 Thread Julian Anastasov
Hello, On Mon, 28 Sep 2015, Anand Gurram wrote: > I am currently using kernel version 3.16.7 on a linux switch. > While creating and destroying network namespaces I am observing below logs > on the console > "unregister_netdevice: waiting for lo to become free. Usage count = 1" > > Can

unregister_netdevice warnings when deleting netns

2015-09-28 Thread Anand Gurram
Hi, I am currently using kernel version 3.16.7 on a linux switch. While creating and destroying network namespaces I am observing below logs on the console "unregister_netdevice: waiting for lo to become free. Usage count = 1" Can you please suggest and provide instructions on how to debug this i