Re: [PATCH v4] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-24 Thread J. Bruce Fields
On Wed, Aug 23, 2017 at 06:33:42AM -0400, Jeff Layton wrote: > I think this one looks fine. Bruce, do you mind picking this one up? It > might also be reasonable for stable... Yep, thanks to you both, I'll plan to send a pull request tonight or tomorrow. --b.

Re: [PATCH v4] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-23 Thread Jeff Layton
On Wed, 2017-08-23 at 06:24 -0400, Vadim Lomovtsev wrote: > Hi all, > > Any comments on this ? > > WBR, > Vadim > > On Mon, Aug 21, 2017 at 07:23:07AM -0400, Vadim Lomovtsev wrote: > > While running nfs/connectathon tests kernel NULL-pointer exception > > has been observed due to races in svcsoc

Re: [PATCH v4] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-23 Thread Vadim Lomovtsev
Hi all, Any comments on this ? WBR, Vadim On Mon, Aug 21, 2017 at 07:23:07AM -0400, Vadim Lomovtsev wrote: > While running nfs/connectathon tests kernel NULL-pointer exception > has been observed due to races in svcsock.c. > > Race is appear when kernel accepts connection by kernel_accept > (w

[PATCH v4] net: sunrpc: svcsock: fix NULL-pointer exception

2017-08-21 Thread Vadim Lomovtsev
While running nfs/connectathon tests kernel NULL-pointer exception has been observed due to races in svcsock.c. Race is appear when kernel accepts connection by kernel_accept (which creates new socket) and start queuing ingress packets to new socket. This happens in ksoftirq context which could ru