Re: [PATCH net] rxrpc: Fix local refcounting

2019-08-11 Thread David Miller
From: David Howells Date: Fri, 09 Aug 2019 22:47:47 +0100 > Fix rxrpc_unuse_local() to handle a NULL local pointer as it can be called > on an unbound socket on which rx->local is not yet set. > > The following reproduced (includes omitted): > > int main(void) > { > so

Re: [PATCH net] rxrpc: Fix local refcounting

2019-08-09 Thread Jeffrey E Altman
David, Looks good to me. You can add a Reviewed-by line. Thanks. Jeffrey Altman On 8/9/2019 5:47 PM, David Howells wrote: > Fix rxrpc_unuse_local() to handle a NULL local pointer as it can be called > on an unbound socket on which rx->local is not yet set. > > The following reproduced (includ

[PATCH net] rxrpc: Fix local refcounting

2019-08-09 Thread David Howells
Fix rxrpc_unuse_local() to handle a NULL local pointer as it can be called on an unbound socket on which rx->local is not yet set. The following reproduced (includes omitted): int main(void) { socket(AF_RXRPC, SOCK_DGRAM, AF_INET); return 0;