rxrpc: Fix oops on incoming call to serviceless endpoint
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:49 +0000 (08:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:49 +0000 (08:11 +0100)
commit7212a57e8eaa2572481398532d7be0c2685362b9
tree225fe38d7c4a16d5cb4b03b2f918f9650fe48826
parent19c0dbd5406ddc669ef1516c02c6b0f5a4465628
rxrpc: Fix oops on incoming call to serviceless endpoint

If an call comes in to a local endpoint that isn't listening for any
incoming calls at the moment, an oops will happen.  We need to check that
the local endpoint's service pointer isn't NULL before we dereference it.

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