Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4813080rdb; Tue, 12 Dec 2023 09:58:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxVNRBFDbh2SipZNdi2KMQJoO7TVB9d0fI5cjHWjbdw9eCbQUIyzbqottrS0pecV6Fp5G8 X-Received: by 2002:a05:6a00:6a0c:b0:6ce:2731:7a0b with SMTP id hy12-20020a056a006a0c00b006ce27317a0bmr2389796pfb.65.1702403921308; Tue, 12 Dec 2023 09:58:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702403921; cv=pass; d=google.com; s=arc-20160816; b=D3PqQ8ViNjbFt6GrX3BKXblTTq4GNfd7dfIy29GMeAjSbFCS4FnDe8SVH4DCpZUw4h rO9KrRR51wxwFlSpaAFdBvlNNvMZNSiioaTQPNhNvpiF+nCl0IPxEnJ9eO0eZU3j5ayn c0EQ6XALwrdlL5cSHsX6sXrUQp4iFw9UcSx+XmZXhj4cyzs6QqhW0HLHyFz8njtMgYRR 590cGSrX07twQtB5XZIRdidEjT830DXwbFyg15AfnWk8m/bNqNBj2VUrgfbS6AsfUwtT 7KPTIexwKL7+IHVLkWjusH/cqwCjcB86cnTHm1EF05JNBrpoRQRh+vqncQxbixsYc52s 8qzw== 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=Aq+2S0RyfU4rvqFhfAFdSWPubgqSUgNh4Ar82DhKIVk=; fh=NzoJbmrOw9OWkW5g3CyS1jvVwcnNLWRqml2/WlwForI=; b=MhCNwRv5jPMyJnH/heqB2bXv7cBJsbh9+6YA1H+3jVXeXQU851f3+AQVJM1xyorfsQ d5H7vnhRudV7s4z2yxPugDAnLzvHV1gqzjieIIlwWwkuW69K2zD247a3xC80mx3FR+GK LXxjPemJH+WQFaXXgpM4vBmCqJYz5GB+p6Rn7MZhOif8NwVJu+hGEMh/eajOBQ6kgZHO Ko8mnsY7C89Q+Nw/0MapALdK9mvQbO3/Ke63mGJnb0yOnPmDn3g+Ru1ewtkp+2Ibw5+7 D4sAcQbT6AlZRkTuPWdrX1XbcKvwMyH0VURciyas1Mz0AjavWR85eERzPMGyiyZ5UKeS 8bQQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=pQcV1sAq; 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.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id n30-20020a634d5e000000b005be264316d8si8163941pgl.417.2023.12.12.09.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:58:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=pQcV1sAq; 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.34 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 howler.vger.email (Postfix) with ESMTP id 1247C80A1DB5; Tue, 12 Dec 2023 09:58:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377037AbjLLR6Y (ORCPT + 99 others); Tue, 12 Dec 2023 12:58:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbjLLR6Y (ORCPT ); Tue, 12 Dec 2023 12:58:24 -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 C715C83; Tue, 12 Dec 2023 09:58:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702403865; cv=none; d=zohomail.in; s=zohoarc; b=F6p0FZSmO3EPxe8eSMnSkLkPotWa5bJdXUpGCYImizd58LE7U0JvtdvmRCryFYIzV72K3KO7k0CuwRli8yxwpLOdMtWv7qH+FpIsl4ani+mlow/fcetjbrh6lDvTW83hyz894rYbcBznxGKz6PHPdvUj46vG/wtKhH4LCcQKV6E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1702403865; 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=Aq+2S0RyfU4rvqFhfAFdSWPubgqSUgNh4Ar82DhKIVk=; b=CKyJsCwxNqONYDQxXd9wp/YqfPRZcLNIs6gShKZU9YsRVFi9kOAUuru3PRgLB+C4lWO4O5SL8GgZL01MU0VqyTJ3b7TSlJXHuk9K9UfzrlWhjcsVV8lA521NDK7NbLDzG6cDfs2OcPMFU8si/k7OC41PLror440JIbng62KLW7Q= 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=1702403865; 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=Aq+2S0RyfU4rvqFhfAFdSWPubgqSUgNh4Ar82DhKIVk=; b=pQcV1sAqzD6UV6AYyTKWqQW8rJiVd3HygEozpcdTUbdOaeMjtzZ1HF6iVrqCMP/3 AhnNTV4kwrRGw27GbkKRhUjYVxp/rbltJFzhV0hFGMq+IjvK4TFIFljCVZuW3i21Jel +BGHvIM/2JWY+yQbO6AK1FvDDMmn8GBPcra00ouQ= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1702403834003397.8584939259025; Tue, 12 Dec 2023 23:27:14 +0530 (IST) Date: Tue, 12 Dec 2023 23:27:13 +0530 From: Siddh Raman Pant To: "Paolo Abeni" Cc: "Krzysztof Kozlowski" , "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Suman Ghosh" , "netdev" , "linux-kernel" , "syzbot+bbe84a4010eeea00982d" Message-ID: <18c5f2d0084.7d5adcbf247555.1144954964908922966@siddh.me> In-Reply-To: <94d394d2833754a0a3f7d2cb8c595f44a2b23e43.camel@redhat.com> References: <4233248c0ca219693c6e6476aa6e59c799241ac8.1702118242.git.code@siddh.me> <94d394d2833754a0a3f7d2cb8c595f44a2b23e43.camel@redhat.com> Subject: Re: [PATCH net-next v4 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:58:39 -0800 (PST) On Tue, 12 Dec 2023 18:31:57 +0530, Paolo Abeni wrote: > On Sat, 2023-12-09 at 16:34 +0530, Siddh Raman Pant wrote: > > static struct nfc_llcp_sock *nfc_llcp_sock_get(struct nfc_llcp_local *local, > > @@ -930,9 +945,7 @@ static void nfc_llcp_recv_connect(struct nfc_llcp_local *local, > > > > if (sk_acceptq_is_full(parent)) { > > reason = LLCP_DM_REJ; > > 'reason' is set to 'LLCP_DM_REJ' every time you jump to the > 'fail_put_sock' or 'fail_free_new_sock' labels, you can as well move > the assignment after 'fail_put_sock:' Sure, I'll send a patch with that. Thanks, Siddh