Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-31 Thread David Ahern
On 7/31/17 4:01 PM, Cong Wang wrote: >>> diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c >>> index 3a19ea28339f..37db087b6c97 100644 >>> --- a/net/ipv4/tcp_ipv4.c >>> +++ b/net/ipv4/tcp_ipv4.c >>> @@ -1855,7 +1855,7 @@ void inet_sk_rx_dst_set(struct sock *sk, const >>> struct sk_buff *skb) >

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-31 Thread Cong Wang
On Mon, Jul 31, 2017 at 9:22 AM, Rolf Neugebauer wrote: > On Fri, Jul 28, 2017 at 8:16 PM, David Ahern wrote: >> On 7/28/17 12:58 PM, Rolf Neugebauer wrote: > I can readily reproduce this on 4.9.39, 4.11.12 and another user > repro-ed it on 4.12.3. It seems to happen every time. At least

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-31 Thread Rolf Neugebauer
On Mon, Jul 31, 2017 at 6:06 PM, Cong Wang wrote: > On Fri, Jul 28, 2017 at 11:58 AM, Rolf Neugebauer > wrote: >> On Fri, Jul 28, 2017 at 6:49 PM, Cong Wang wrote: >>> Hello, >>> >>> On Fri, Jul 28, 2017 at 9:47 AM, Rolf Neugebauer >>> wrote: Creating the new namespace is stalling for arou

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-31 Thread Cong Wang
On Fri, Jul 28, 2017 at 11:58 AM, Rolf Neugebauer wrote: > On Fri, Jul 28, 2017 at 6:49 PM, Cong Wang wrote: >> Hello, >> >> On Fri, Jul 28, 2017 at 9:47 AM, Rolf Neugebauer >> wrote: >>> Creating the new namespace is stalling for around 200 seconds and >>> there 20 odd messages on the console,

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-28 Thread David Ahern
On 7/28/17 12:58 PM, Rolf Neugebauer wrote: >>> I can readily reproduce this on 4.9.39, 4.11.12 and another user >>> repro-ed it on 4.12.3. It seems to happen every time. At least one >>> user reported issues with NFS mounts as well, but we were not able to >>> reproduce it. It's not clear to me if

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-28 Thread Rolf Neugebauer
On Fri, Jul 28, 2017 at 6:49 PM, Cong Wang wrote: > Hello, > > On Fri, Jul 28, 2017 at 9:47 AM, Rolf Neugebauer > wrote: >> Creating the new namespace is stalling for around 200 seconds and >> there 20 odd messages on the console, like: >> >> [ 67.372603] unregister_netdevice: waiting for lo to

Re: Long stalls creating a new netns after a netns with a SMB client exits

2017-07-28 Thread Cong Wang
Hello, On Fri, Jul 28, 2017 at 9:47 AM, Rolf Neugebauer wrote: > Creating the new namespace is stalling for around 200 seconds and > there 20 odd messages on the console, like: > > [ 67.372603] unregister_netdevice: waiting for lo to become free. > Usage count = 1 > Sounds like another netdev

Long stalls creating a new netns after a netns with a SMB client exits

2017-07-28 Thread Rolf Neugebauer
Hi several docker users reported long stalls when they used containers with network filesystem mounts. For example, this was reported here: https://github.com/moby/moby/issues/5618#issuecomment-314515980. Another user, Pierre Carru (@piec on GH), then managed to create a simpler reproduction here: