rxrpc: Use call->peer rather than call->conn->params.peer
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Sep 2016 13:45:26 +0000 (14:45 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 7 Sep 2016 14:30:22 +0000 (15:30 +0100)
commitf4fdb3525b247e1b4f9cc563641494c96c80f91a
tree1a8c55630fae2e945ca87f5960ffa5059a7b9dda
parentfff72429c2e83bdbe32dc7f1ad6398dfe50750c6
rxrpc: Use call->peer rather than call->conn->params.peer

Use call->peer rather than call->conn->params.peer to avoid the possibility
of call->conn being NULL and, whilst we're at it, check it for NULL before we
access it.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_object.c