Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3376723ybp; Sun, 6 Oct 2019 10:34:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRr99FTI4TEEhKFFlH3qdo7PnVUQNbXNrGMOdICuFo62m/4H5ss8X1Hi4dIdL40LkIF3b8 X-Received: by 2002:a05:6402:2cb:: with SMTP id b11mr25795432edx.285.1570383299110; Sun, 06 Oct 2019 10:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570383299; cv=none; d=google.com; s=arc-20160816; b=Za+JEQE8d+Kt+DbyEeLIAsRjXZdGB9N1e8jNMmb+LR/wA+mMwjYPXEnePdmsqOpQG3 3K4GwEXg6heoPRImoG7vDutw8N7UYLK/JWAu+vgHI1Vl0/6MCl8yZWCSyxkVCw5wv7vM 2ABV3t6C5Mklm5qZQNx7XUtlv8QF12VbCFduxMJxx6KlrB/IgOlROlG8pclBNteUiq3G IvywOCQx6QRbo+ZxkUJ5XCrSSOOYb3SK5MDGc2f4/msJgED9pdyQDuEbvlEqCIyDew+R q9ZTaGVDUjvv6NlUQ4twryX9oefbjgWF1hqh+D7Rzy69fxFVdg5E39iDLAX4cGNV/62J sf/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Wnucunj6+bnexLfjFuzM8tgea/MDYjhhorflZhIxgnA=; b=hyCnNR+B1rKBjFFfw8Y5G2dQsEjsLmu0ORjLJwLiizRUX9LBe0V5VSijEBwCpYxcEk EGXUjLvggGhWlHe7dK2KECZcqti4Wly/FWvOOD705zQ79gp8PXXszKZVMf0RTrH9Gvlz 9daxbtdNElBd2b0uil1Isc2Km1uJGqrmkqLHrEFySFiX1JO9M4IMwWnD5dL0Kou41lXh d8PoLPl8BzHodlOrM3D0G9oYHaD5j1hDak+Ua4n/2lDslnZFtuyxhHLNdn6AgR0tyTQJ pqtbGf03lCNm46oPED2yj+DBfPjlIhLLwPAipFDxxwDBuJHr9kmkiIRMT8Uwtr9FVbHf PikA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Q0+am5K3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f17si8001540eda.232.2019.10.06.10.34.35; Sun, 06 Oct 2019 10:34:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Q0+am5K3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729668AbfJFRcw (ORCPT + 99 others); Sun, 6 Oct 2019 13:32:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:59396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727680AbfJFRcv (ORCPT ); Sun, 6 Oct 2019 13:32:51 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1B6602080F; Sun, 6 Oct 2019 17:32:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570383170; bh=39PRf/MVA+ao5+qMDsj3bQ/nmAdxHUb3Gi5Nx23nRz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q0+am5K3uGNB+0Y0vTpS0TE1+h+rvwyI7pXDk7pxU7wHYXj7rMk0wG3L0/0sZ/OfW +4pOxNyr4T4EaNmyWf/zfESX3Td2J/1lEonLVvldBETx0+6UkuaYvfmYRcnFzSIeOK V0MLkhSWwr6pVWFsreWxZ0o+Pn7i2zJ939xAtjKg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, David Howells , "David S. Miller" Subject: [PATCH 4.19 090/106] rxrpc: Fix rxrpc_recvmsg tracepoint Date: Sun, 6 Oct 2019 19:21:36 +0200 Message-Id: <20191006171200.034701040@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191006171124.641144086@linuxfoundation.org> References: <20191006171124.641144086@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: David Howells [ Upstream commit db9b2e0af605e7c994784527abfd9276cabd718a ] Fix the rxrpc_recvmsg tracepoint to handle being called with a NULL call parameter. Fixes: a25e21f0bcd2 ("rxrpc, afs: Use debug_ids rather than pointers in traces") Signed-off-by: David Howells Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- include/trace/events/rxrpc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/trace/events/rxrpc.h +++ b/include/trace/events/rxrpc.h @@ -1073,7 +1073,7 @@ TRACE_EVENT(rxrpc_recvmsg, ), TP_fast_assign( - __entry->call = call->debug_id; + __entry->call = call ? call->debug_id : 0; __entry->why = why; __entry->seq = seq; __entry->offset = offset;