Re: PROBLEM: Old content of /proc/net after switching network namespace

2019-01-07 Thread Alexey Dobriyan
On Mon, Jan 07, 2019 at 09:54:26AM +0100, Mateusz Stępień wrote: > Thank you for the quick response, unfortunately the patch does not work, > problem still persist. OK, I reproduced the bug. > I saw the other mail thread, and it looks like the proper solution > described by Al will take some ti

Re: PROBLEM: Old content of /proc/net after switching network namespace

2019-01-07 Thread Mateusz Stępień
Thank you for the quick response, unfortunately the patch does not work, problem still persist. I saw the other mail thread, and it looks like the proper solution described by Al will take some time. I don't know if we can afford right now to write a proper patch ourselves, also at least my unde

Re: PROBLEM: Old content of /proc/net after switching network namespace

2019-01-04 Thread Alexey Dobriyan
On Fri, Jan 04, 2019 at 09:21:23AM +0100, Mateusz Stępień wrote: > After changing network namespace using setns, the content of /proc/net > still represents the original namespace. > It looks like procfs dentries are not invalidated in dcache properly > after the namespace switch. > It happens on

PROBLEM: Old content of /proc/net after switching network namespace

2019-01-04 Thread Mateusz Stępień
Hello everyone, After changing network namespace using setns, the content of /proc/net still represents the original namespace. It looks like procfs dentries are not invalidated in dcache properly after the namespace switch. It happens only, when you read content of /proc/net before changing n