diff options
author | David Howells <dhowells@redhat.com> | 2018-10-11 17:32:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 01:07:36 -0400 |
commit | d7b4c24f45d2efe51b8f213da4593fefd49240ba (patch) | |
tree | 91aabd787a14e2b08b7b64b55ac2f8bb19b37855 /net/rxrpc | |
parent | 4af00f4cc1ba34da4654ac31830843cae871642d (diff) |
rxrpc: Fix an uninitialised variable
Fix an uninitialised variable introduced by the last patch. This can cause
a crash when a new call comes in to a local service, such as when an AFS
fileserver calls back to the local cache manager.
Fixes: c1e15b4944c9 ("rxrpc: Fix the packet reception routine")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc')
-rw-r--r-- | net/rxrpc/call_accept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/call_accept.c b/net/rxrpc/call_accept.c index 652e314de38e..8079aacaecac 100644 --- a/net/rxrpc/call_accept.c +++ b/net/rxrpc/call_accept.c | |||
@@ -337,7 +337,7 @@ struct rxrpc_call *rxrpc_new_incoming_call(struct rxrpc_local *local, | |||
337 | { | 337 | { |
338 | struct rxrpc_skb_priv *sp = rxrpc_skb(skb); | 338 | struct rxrpc_skb_priv *sp = rxrpc_skb(skb); |
339 | struct rxrpc_connection *conn; | 339 | struct rxrpc_connection *conn; |
340 | struct rxrpc_peer *peer; | 340 | struct rxrpc_peer *peer = NULL; |
341 | struct rxrpc_call *call; | 341 | struct rxrpc_call *call; |
342 | 342 | ||
343 | _enter(""); | 343 | _enter(""); |