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

2017-08-21 Thread Vadim Lomovtsev
On Mon, Aug 21, 2017 at 06:42:07AM -0400, Jeff Layton wrote: > On Mon, 2017-08-21 at 04:56 -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

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

2017-08-21 Thread Jeff Layton
On Mon, 2017-08-21 at 04:56 -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 > (which creates new socket) and start queuing ingress pa

[PATCH v3] 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