Re: [PATCH net] rxrpc: Use correct netns source in rxrpc_release_sock()

2017-12-03 Thread David Miller
From: David Howells Date: Fri, 01 Dec 2017 11:09:53 + > In rxrpc_release_sock() there may be no rx->local value to access, so we > can't unconditionally follow it to the rxrpc network namespace information > to poke the connection reapers. > > Instead, use the socket's namespace pointer to f

[PATCH net] rxrpc: Use correct netns source in rxrpc_release_sock()

2017-12-01 Thread David Howells
In rxrpc_release_sock() there may be no rx->local value to access, so we can't unconditionally follow it to the rxrpc network namespace information to poke the connection reapers. Instead, use the socket's namespace pointer to find the namespace. This unfixed code causes the following static chec