diff options
author | David Howells <dhowells@redhat.com> | 2017-12-01 11:09:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-03 10:05:20 -0500 |
commit | c501256406fb19c306504ee1fe41a4ea208d4245 (patch) | |
tree | 14e090180d35ba99251d712c2efb2e3abaa22d75 /MAINTAINERS | |
parent | 886afc1dc489436bf2c4fadf0f3aecacd7269234 (diff) |
rxrpc: Use correct netns source in rxrpc_release_sock()
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 checker warning:
net/rxrpc/af_rxrpc.c:898 rxrpc_release_sock()
error: we previously assumed 'rx->local' could be null (see line 887)
Fixes: 3d18cbb7fd0c ("rxrpc: Fix conn expiry timers")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions