]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3da7f7eee9a4660a87123431733e97eca6033d1
tree1a8c55630fae2e945ca87f5960ffa5059a7b9dda
parentf9bfea13ad6cc41938c702e93557159e180b370f
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