Re: [Devel] [PATCH] fs: Fix race with old fdt parallel reuse

2018-03-28 Thread Cyrill Gorcunov
On Wed, Mar 28, 2018 at 03:18:57PM +0300, Kirill Tkhai wrote: > We own files->resize_in_progress in this moment, > but it's only seen by guys, who expands the fdt. > If someone wants to use fd inside old fdt max number, > it just doesn't look at this. > > So, let's check old maximum fd after lock

[Devel] [PATCH] fs: Fix race with old fdt parallel reuse

2018-03-28 Thread Kirill Tkhai
We own files->resize_in_progress in this moment, but it's only seen by guys, who expands the fdt. If someone wants to use fd inside old fdt max number, it just doesn't look at this. So, let's check old maximum fd after lock is acquired to see such the parallel users.

Re: [Devel] [PATCH vz7 0/2] Port SIOCGSKNS support for sockets and tun

2018-03-28 Thread Kirill Tkhai
On 28.03.2018 11:05, Pavel Tikhomirov wrote: > Everything looks good to me, except that AFAICS second patch is not yet in > MS, and hash f2780d6d7475 leads nowhere, correct me if I'm wrong. It's in linux-next.git:

Re: [Devel] [PATCH vz7 0/2] Port SIOCGSKNS support for sockets and tun

2018-03-28 Thread Pavel Tikhomirov
Everything looks good to me, except that AFAICS second patch is not yet in MS, and hash f2780d6d7475 leads nowhere, correct me if I'm wrong. Reviewed-by: Pavel Tikhoirov On 03/22/2018 07:34 PM, Kirill Tkhai wrote: This patchset ports