Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1532097imi; Sat, 23 Jul 2022 08:33:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vW2UxKv6i6sY6RO7NaGGRdOgKYQMXW4o/uGQvkm89zepXzYeGfnr5lks2r5l79sOczrcSC X-Received: by 2002:a17:90b:350e:b0:1f0:6928:3192 with SMTP id ls14-20020a17090b350e00b001f069283192mr5798709pjb.24.1658590381440; Sat, 23 Jul 2022 08:33:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658590381; cv=pass; d=google.com; s=arc-20160816; b=z7ysEbLzXC5AnUhbv489N7Sul0mfKDUQWlQ2yGHEjCSnK43STvFIrDbb//RlTUtIVL kupowUhg1r4EZgVRiBrz5+LcCSg1ur/9G/MalaoXqVh7C597HlKiDVghGeD1D7/ocsY5 XlNvj/eh7T+UcSUrjZnNM+Xn3JcvGJ05WEP49zcniQHGZo4dff8EZDlD3iopcbh+mQBs S7r+rWfrraAxnEun9lopq1Fng7nNsvZ88QASu6V4bUNkbrNo9aHUc+6t1iDGZ5hSsYvo o0/m/E4HjAuruuIc984DI4JTxxp5s5EqsK+dxGynDtTkLKFwKCUewBiKIsBtAVUTq0yJ IT8A== 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=c1lQAq9l2Vi8XJIR9+FZPadcoaYjnJn9vuGp/Q5uuoE=; b=DL1hZ09Z2Fog/mJa9yUHsRd+phRg8zXB0sYRfGFrvFyz1VZAdGGJc29hjGQAdSLKA/ wYEKdT/LZ3gNpfLQn50uLwhLGdKPOuAfrFYergH6arowTq0tCKO2omRgCKEatElSTjRl 16Ibo8BFyM5DZ9yIp9HriN7mCpcyWQSgTpPzkMAGfGyGqPdPDLUM6bBNXFJoDNv7HY6w wJtWfJDP77eWyYUpvwIoPMy0vmWevgurrnoDaPndCx90egkF/xJZ2sKK1Ynu/VQkR8e8 gzR92D2Brl2PfCfQRYpyOEtWo8YPixxyCfNhYYlS5sK5FuipdqNjsCDos/5mxVt6XZTQ vSTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=lwAEDaBc; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v135-20020a63618d000000b0040d287c145fsi8742514pgb.460.2022.07.23.08.32.46; Sat, 23 Jul 2022 08:33:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=lwAEDaBc; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234182AbiGWP2z (ORCPT + 99 others); Sat, 23 Jul 2022 11:28:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbiGWP2y (ORCPT ); Sat, 23 Jul 2022 11:28:54 -0400 Received: from sender-of-o53.zoho.in (sender-of-o53.zoho.in [103.117.158.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3CE6463; Sat, 23 Jul 2022 08:28:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658590104; cv=none; d=zohomail.in; s=zohoarc; b=SfXn29km/qJz/tyr1mEVbXFLg9lP11bJxbf9W4N664oeLlxSJXky7g+FNxTWxKTRXBnDKR5ip/ZuLKVkL1VQIKNNxkYuOzwrL0h6EPjABeKK6TpjaxaEgk9TJdZGerKYJYvuFYQRuCJqLBi7wBWX1uFR+FDG2Zj6ZZUMtUQkiDY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1658590104; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=c1lQAq9l2Vi8XJIR9+FZPadcoaYjnJn9vuGp/Q5uuoE=; b=a9OW8xI5fv1pW1A++gMs6sE9pCgr33942KvaplJ/Mu/4WGKFchUg3nwSmmfGw7lbXurGZZl5ZbOmq+5GbFcFWDenuxf4v93fIfIPtZv2E217/bxQ1TsCfjp0UWPbbBCuyFxGWSnbapDiCeHnUDlea0TS3kp+0pwiBPEJB5pWjVc= 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=1658590104; 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=c1lQAq9l2Vi8XJIR9+FZPadcoaYjnJn9vuGp/Q5uuoE=; b=lwAEDaBcqbpoTMrbx8xU+XgUjI5zEmh8ONCKOEoT+C37vmL0x1s1g+b0XpP6ZKON HYRGQOIj0oxNDYVUyds4QpDjYj6nJJbXnOYBnN6qXe5rsEWchmmtcbx8c15nrSOODxJ 0Y/pjeP6CJJ+5mNFcMbvSL4PDN/fWLPmqN7pEsy8= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1658590092355322.4350711864895; Sat, 23 Jul 2022 20:58:12 +0530 (IST) Date: Sat, 23 Jul 2022 20:58:12 +0530 From: Siddh Raman Pant To: "Greg KH" Cc: "David Howells" , "Jarkko Sakkinen" , "James Morris" , "Serge E. Hallyn" , "linux-security-modules" , "keyrings" , "linux-kernel-mentees" , "linux-kernel" Message-ID: <1822bac5c28.17c2e13a236951.2030393349322231875@siddh.me> In-Reply-To: References: <20220723135035.199188-1-code@siddh.me> <1822b7c129a.14411444236159.6380883938307880248@siddh.me> Subject: Re: [PATCH] keys/keyctl: Use kfree_rcu instead of kfree 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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_RED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 23 Jul 2022 20:13:11 +0530 Greg KH wrote: > You need to explain all of this in a changelog text. Don't say what you > do, but say why you are doing it. Okay, I will keep this in mind next time. > > > And how was this tested? > > > > It compiles locally for me, and I used syzbot on this along with testing the > > other `watch_queue_clear` patch, which generated no errors. > > How does the watch queue stuff relate to this keyctl logic? > > Again, be specific as to why you are doing things. It doesn't relate, I just wanted to say that syzbot didn't crash too (I had this change in the same branch as that patch for testing, and syzbot compiled it successfully). Sorry for the confusion. Though now as James has pointed out, this patch isn't needed. Apologies, Siddh