RE: [PATCH v2] let proc net directory inodes reflect to active net namespace

2019-07-04 Thread Hallsmark, Per
nsgatan 27164 40 Kista From: Alexey Dobriyan [adobri...@gmail.com] Sent: Thursday, July 04, 2019 09:32 To: Hallsmark, Per Cc: David S. Miller; linux-kernel@vger.kernel.org; net...@vger.kernel.org Subject: Re: [PATCH v2] let proc net directo

[PATCH v2] let proc net directory inodes reflect to active net namespace

2019-07-01 Thread Hallsmark, Per
Hi, Linux kernel recently got a bugfix 1fde6f21d90f ("proc: fix /proc/net/* after setns(2)"), but unfortunately it only solves the issue for procfs net file inodes so they get correct content after a process change namespace. Checking on a v5.2-rc6 kernel : sh-4.4# sh netns_procfs_test.sh [

RE: [PATCH] let proc net directory inodes reflect to active net namespace

2019-07-01 Thread Hallsmark, Per
Indeed it does! :-) I'll make a new version. From: Alexey Dobriyan [adobri...@gmail.com] Sent: Saturday, June 29, 2019 15:29 To: Hallsmark, Per Cc: David S. Miller; linux-kernel@vger.kernel.org; net...@vger.kernel.org Subject: Re: [PATCH] let pro

[PATCH] let proc net directory inodes reflect to active net namespace

2019-06-25 Thread Hallsmark, Per
Hi, Linux kernel recently got a bugfix 1fde6f21d90f ("proc: fix /proc/net/* after setns(2)"), but unfortunately it only solves the issue for procfs net file inodes so they get correct content after a process change namespace. Checking on a v5.2-rc6 kernel : sh-4.4# sh netns_procfs_test.sh [