Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp463640rdb; Tue, 5 Dec 2023 10:03:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwXy9FbcaY9mf12ulh+M6xA/HWyYEgJNd2fW37Ccy3LTUCFZfS7f+0ng1LsGR86otSSKKf X-Received: by 2002:a05:6870:d91b:b0:1fa:dac9:1cd2 with SMTP id gq27-20020a056870d91b00b001fadac91cd2mr8068026oab.27.1701799391729; Tue, 05 Dec 2023 10:03:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701799391; cv=pass; d=google.com; s=arc-20160816; b=eTbKpMKOXlczfhJzyJ477CQP2ZEZPNSN3Cg3riLA5wq2+WooEVF61yXgsAUxIQ/IQO +ICbxh9a87tkmhVxTTOdUaRPDkLaj+C/5SO+8ZrCw5fD4Xs7IpVLCiE6IPO/OqeePgTv RNCM0/dlBxm0NZFreoFI2uLUj3buAjZeDuUSBRBRmU7wfXyFCGChBVihKfOy3+tYLQ05 YLSNLJezYivmdbwcPKBzVmRWfgyNhUH5o3HDgm5U176st/x6AwSPER+y/Vf4pmiajWXy FdGhXh4psp/fBLwom0kJ9jmsRYipHG4Q1pwslgNiXn1B7vq4xDwE9NxM74UdJPDXlTOn RgPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=xNtMIw1gYkg4/iqMqcGWC2L7v3kfYsE4S60OOFQ8WUA=; fh=MWDP0/IABKBkNAWrXQs51gY7IfeuDrtGxzy1OCCOGoQ=; b=TDabxz+Y3qvEtq+C8MTROF5EX/jTLua8WsQyumr7rc5NTh4VO2Y2sfVlKMN2znf71C UPsVVS1x/tEkBwlCeAKQ7epipAuBfmgc5Ogb7Lkk5iKFT6cdABZJmOGO/t1d/XPxfsjR 7NXN0+b7G/CfAfumlTy8ZY6PZktEg9ZK2GfBn93sM5KyAwO7MSQBuqrdCTAmxDgiWwJZ EQQoREqY1ZUvd3I5COEmnd/GRKLXIBoyryXk02o6g+M7n7BJ8JIfxchftu44mZYDtaU0 mTcZpUfJixOC/OaNWt7+svyADG/rN5ipGXYb3JukX6Nsf6pJoHVi/uA1y0u3MWL+zpF+ AJsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="B1taG/fL"; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siddh.me Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id y11-20020a056870724b00b001fb2e96ed32si1722087oaf.197.2023.12.05.10.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 10:03:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="B1taG/fL"; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siddh.me Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id DB5B28136BF8; Tue, 5 Dec 2023 10:02:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235102AbjLESCe (ORCPT + 99 others); Tue, 5 Dec 2023 13:02:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231910AbjLESCd (ORCPT ); Tue, 5 Dec 2023 13:02:33 -0500 Received: from sender-of-o51.zoho.in (sender-of-o51.zoho.in [103.117.158.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F7CC122; Tue, 5 Dec 2023 10:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701799319; cv=none; d=zohomail.in; s=zohoarc; b=OZCIJtJgraukf00QLXH1/JTROZPddFlSMELMgKBHZcz1HI0SMnaEeg287DKzb+j6wFhGEh5kTUjcxrURypkXoelW8TsGYkFbJP4Hop3wEEid3lPS6cturw/uBFb3eUXBXnnI/G8gOJLoNnGMHUdctDJH8SX5sO7RDhHqMOqiRJk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1701799319; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=xNtMIw1gYkg4/iqMqcGWC2L7v3kfYsE4S60OOFQ8WUA=; b=Ts708fS/zcB3x34en3v6XzWtaJKSwwfLkacD9cJnx6oTaDy8NRqUfsFPxiGabD4Gzo3qnaoCECkSIAgsvqidcD/K1drXQzSkBmw1Rfa5rOqGhsAhPFTWIBc67UWgFverXmLfJ8pwreXD76z7dROUbCjuCSxIvUi0+NT1yDYzTfM= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1701799319; s=zmail; d=siddh.me; i=code@siddh.me; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=xNtMIw1gYkg4/iqMqcGWC2L7v3kfYsE4S60OOFQ8WUA=; b=B1taG/fL9uF528x4RVdjmRVTOzsK4OhrNGEHmd9CEDAfvp5RXFNiKzLdgayXBxfo H5HSjdp/CTt46lAilu4jwyn1CCYFE5KPc1gzr3jFEMG9iH1QK+mSqcwEjLHmxYnQMZM 3k/1FArjjxWwDzTfgMDGbBSRsrf8BO5l3kKvhscw= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1701799288673295.52866850298255; Tue, 5 Dec 2023 23:31:28 +0530 (IST) Date: Tue, 05 Dec 2023 23:31:28 +0530 From: Siddh Raman Pant To: "Krzysztof Kozlowski" Cc: "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Suman Ghosh" , "netdev" , "linux-kernel" , "syzbot+bbe84a4010eeea00982d" Message-ID: <18c3b245f39.5eac9b5898943.4628342226240608054@siddh.me> In-Reply-To: References: <4143dc4398aa4940a76d3f375ec7984e98891a11.1701627492.git.code@siddh.me> <18c3aff94ef.7cc78f6896702.921153651485959341@siddh.me> Subject: Re: [PATCH net-next v3 1/2] nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 10:02:50 -0800 (PST) On Tue, 05 Dec 2023 22:57:28 +0530, Krzysztof Kozlowski wrote: > >> Mismatched order with get. Unwinding is always in reversed order. Or > >> maybe other order is here on purpose? Then it needs to be explained. > > > > Yes, local_release() will free local, so local->dev cannot be accessed. > > Will add a comment. > > So the problem is just storing the pointer? That's not really the valid > reason. Oops, my bad. What would be the valid reason? (if any) Thanks, Siddh