Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1931663imi; Sun, 24 Jul 2022 01:06:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uGdLP4ggRDB354zezrAZQg2nquQH860F6OjuR5s9p/m6gn2YJwGxXFU20tR2Vhy3hIkKQl X-Received: by 2002:a17:902:e885:b0:16d:5b7b:86f with SMTP id w5-20020a170902e88500b0016d5b7b086fmr4434688plg.151.1658650003146; Sun, 24 Jul 2022 01:06:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658650003; cv=pass; d=google.com; s=arc-20160816; b=08T6WUSSQKgENX1XHQgvrIKH/Uy0q+zXqApyXzyx6ubddHbk0B+sMXm4y2/B6abznh c9WfxFTATwoYf9BUCaTbWjf10EIbw4lNHqI/JWrGQT90hy0fRG+BcVPFmvgTiJJ4rryk XUaDo02y9KCNpFQNz3Ng0j5vJfrpokWfLkw+zr21Ysc/1Vs9jkBsUQU9ChlmP3bYkQiL aylkhXvSVkZku2bXxMITboKOEFscS+pys8tqYOzNfvT9g83wn8+XKzKyU+qgMg7+tooO X7hRYNnCO8Pz+M+V7GsrcW0Z0BE+8GYr1mN3nkqCQXQvTLVkEjeMvya3I4qTD3+9nPju WLOA== 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=0CMsPuiLvSHXtnR93pzVmo+ozRvtQTA4XOCT87ZUj8U=; b=TcjrV+HUUtoxxMa0X6/BMYYlLzvDSDtUItC3kByH5rzec6b9w/oA/GyjQOynzPUHNF Vkv3LbDOXFCKAY/510ga1vVlHBuo1e7qD0LhUokMNzPVdA3jrKZvxkGaU57fmtn/4LVY 3Bgl8MXKZh7DupB+XDsTGsNJARPVSkRRrO33jVJDaW+1uTOMdh06v078B9j2VQXggQvl MgsN/QlH4HaCtcDX+Dd/k8Mb5HGE008P84aS9/r2t1AaZZmG1lZrqjOGIb27tuRfJw6n LGXp/1vszJqDXth7s9ygQJvJN6XA9Pu4FL1KH/CuROjuEo/d5/kqVR9hXrtc5c2KxfB9 KW7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=QYyZRx9i; 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 pc4-20020a17090b3b8400b001efde438e00si16756187pjb.138.2022.07.24.01.06.27; Sun, 24 Jul 2022 01:06:43 -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=QYyZRx9i; 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 S239739AbiGXHtC (ORCPT + 99 others); Sun, 24 Jul 2022 03:49:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235555AbiGXHs7 (ORCPT ); Sun, 24 Jul 2022 03:48:59 -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 4BCB312ACB; Sun, 24 Jul 2022 00:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658648915; cv=none; d=zohomail.in; s=zohoarc; b=D7QPHKnVbln4NvVF3VcPvXZvlTD7Slo8l7PX+TEAVNQhojIPVqTSnEy4kFhJPh8nqKfX2jAQsquG68M9HLSih9O0AF0aVjnm/NQZ1/ZgHLczGOE8i4dfzoozTK/AqXbjdWKn39C/hULXOJqX72xj8oGiWyrHWQKqnh3M6kw5jks= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1658648915; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=0CMsPuiLvSHXtnR93pzVmo+ozRvtQTA4XOCT87ZUj8U=; b=QNhIYp9mTvuQ/Nk1dUvoXzVnhz99dMjfEEAOUWCgKpkSkbd8N0ZsjrZw5/ovI3lOOrJ0sFFlozRu1Ofu0ePgtEruNLbfwg12pjOVXj5QTMIH113ymNa084ITA/EPYFMq+HryCRQKc1qdTqpqkZLrEOPcOI5XmzC2cl/Sj+r3cOY= 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=1658648915; 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=0CMsPuiLvSHXtnR93pzVmo+ozRvtQTA4XOCT87ZUj8U=; b=QYyZRx9iRJC2IvBtaYqkqvdR3JXzeAlUeBhzwpLB2v9JET3S9ru79glKktT6diyr H0WcDq9b4hACwA86Zvz29IlpNy3kUSoHwd2qgDe/StQzxFTLEdvkaKYH2D4YRYBqDbw 7zeGV7ZF+BHw4AwEorQmGLhVhw7X1ckuBtbp2qME= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1658648902672458.5296544751634; Sun, 24 Jul 2022 13:18:22 +0530 (IST) Date: Sun, 24 Jul 2022 13:18:22 +0530 From: Siddh Raman Pant To: "Hillf Danton" Cc: "David Howells" , "Fabio M. De Francesco" , "linux-kernel" , "syzbot+c70d87ac1d001f29a058" , "linux-security-modules" , "linux-kernel-mentees" Message-ID: <1822f2dbbef.8458d4be628891.5196957454517111607@siddh.me> In-Reply-To: <20220724071958.2557-1-hdanton@sina.com> References: <20220724052426.2504-1-hdanton@sina.com> <20220724071958.2557-1-hdanton@sina.com> Subject: Re: [PATCH v2] kernel/watch_queue: Make pipe NULL while clearing watch_queue 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 Sun, 24 Jul 2022 12:49:58 +0530 Hillf Danton wrote: > Given defunct serialized, still need to clear wqueue->pipe in the clear > path as proposed? I am not sure what you mean by this... If you mean freeing the pipe, it is done by free_pipe_info(), which is the caller of watch_queue_clear(). If you mean making wqueue->pipe NULL, it is being done so in the patch. Thanks, Siddh