On Mon, 2015-04-20 at 09:46 -0700, Eric Dumazet wrote:> > Hey, that's because I really meant (during the week end)old = xchg(&fdt->fd[fd], file);if (unlikely(old && old != file)) filp_close(old, files);That's going to be hard.If you thought this problem was trivial, it probably means you missedsomething.