Re: [PATCH net] rxrpc: Fix oops when discarding a preallocated service call

2017-08-18 Thread David Miller
From: David Howells Date: Fri, 18 Aug 2017 00:19:42 +0100 > rxrpc_service_prealloc_one() doesn't set the socket pointer on any new call > it preallocates, but does add it to the rxrpc net namespace call list. > This, however, causes rxrpc_put_call() to oops when the call is discarded > when the s

[PATCH net] rxrpc: Fix oops when discarding a preallocated service call

2017-08-17 Thread David Howells
rxrpc_service_prealloc_one() doesn't set the socket pointer on any new call it preallocates, but does add it to the rxrpc net namespace call list. This, however, causes rxrpc_put_call() to oops when the call is discarded when the socket is closed. rxrpc_put_call() needs the socket to be able to re