From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934522AbcIESvA (ORCPT ); Mon, 5 Sep 2016 14:51:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37880 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933101AbcIESu5 (ORCPT ); Mon, 5 Sep 2016 14:50:57 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20160905170002.18792-1-colin.king@canonical.com> References: <20160905170002.18792-1-colin.king@canonical.com> To: Colin King Cc: dhowells@redhat.com, "David S . Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rxrpc: initialize sched to false to ensure it is not a garbage value MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4977.1473101454.1@warthog.procyon.org.uk> Date: Mon, 05 Sep 2016 19:50:54 +0100 Message-ID: <4978.1473101454@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 05 Sep 2016 18:50:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Colin King wrote: > From: Colin Ian King > > sched will be uninitialized (and contain a garbage value) in the case > where call->state >= RXRPC_CALL_DEAD; fix this by initializing sched > to false to avoid an inadvertent call to rxrpc_queue_call. > > Signed-off-by: Colin Ian King I already have a patch queued for this, thanks. David