From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0643FC4360C for ; Sun, 6 Oct 2019 17:57:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CAE0B2077B for ; Sun, 6 Oct 2019 17:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570384678; bh=39PRf/MVA+ao5+qMDsj3bQ/nmAdxHUb3Gi5Nx23nRz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nY3s5FM19iRhAk4fDECtj6LUQ2ve+rrXBjkddrmS06RUmpEHiD/SDo3W2f8xBWehL hn6CcXtooeoZfIAyb3vZTm0Y1/0oLDLJHQTaNZ0R+WOY0iGBfg7KelEVZgSDaj/ZLK t3NmndnyLcIIffgSRAF6tqq0UDNOd76xElsM3NSc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729656AbfJFRcv (ORCPT ); Sun, 6 Oct 2019 13:32:51 -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: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@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;