Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1212071pxb; Wed, 6 Apr 2022 11:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6zObohXg3M/lP9by0l+dd456t51DEw4WBlmS4sgjNO+lHyJZF88sJ5LCCU498+GMy4vls X-Received: by 2002:a17:90a:7403:b0:1ca:7de0:8cf9 with SMTP id a3-20020a17090a740300b001ca7de08cf9mr11471180pjg.74.1649269623690; Wed, 06 Apr 2022 11:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649269623; cv=none; d=google.com; s=arc-20160816; b=ad39m28Kxm9L+7D93zR6uGBLs3Wriwo/br+mX+yW1yVDA1naFabKYjJT1U5olcb9K5 GqWsDxZa5u2SilTQVojh68JaeTFh4jXujWY4Tu6vOD646YhHxEayvJbitFJxTdBQ1jTF ZpX8nFBv16NiVl2aHHJvqqKZmhJB572xCyiLCJmbv7CA+9i7ajfDqDuz96vMRYP49OEB jEh0FclhYoYo/5QXyJ0Qnf449F/BYqs2bvVrOhMV5Of3EglNunZhnqtX42Najvm3TYqn lCCRhLW7mriw5l9HizkGTcegpjCvciqBsvChALTKMWyvqVQmRHs6NXYpYzjETfR3dMca u30Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=89xBDFT39yOLcglvql3SwrghXbWeT/8P6ycPsFqUE+M=; b=YXt0NZgpTJU6cxGgDaKS8jE9TY8d1CezyqlO8l4EBxtVJmBQHVRYzdbRTOAWql0i14 K8cqmPYF0UcTh+Yn4C7QgRnFjgzStYkb8fOboMmaSxuq1Rd0cwHXU4I5fV7RA1x+ak/Z 7UVTG9YwnS997fTZ9wIr09lDZw41e8bhE+MIZhTsAGPyLwTlK0WJDfuade/65sVTHxYO TZvCJ71VTi8rJ5UR5fnuhV+OYXOXzUSDvnYuHxeKDdbMKDKWVgJp8jc7N+EW2uWRE0SL N4BIwQnbNq6W7+uU26ntvTggaT6xT85MZeeyXM16MM0dNe7eRnuwVdrpKkJs9+8DTC0+ tsqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c11-20020aa78c0b000000b004fa3a8dfff1si15109859pfd.168.2022.04.06.11.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 11:27:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 990DC12A90; Wed, 6 Apr 2022 11:10:17 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240353AbiDFSLv (ORCPT + 99 others); Wed, 6 Apr 2022 14:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240279AbiDFSJo (ORCPT ); Wed, 6 Apr 2022 14:09:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0601E9972 for ; Wed, 6 Apr 2022 09:46:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4FC1161763 for ; Wed, 6 Apr 2022 16:46:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6BD1C385A1; Wed, 6 Apr 2022 16:46:46 +0000 (UTC) Date: Wed, 6 Apr 2022 12:46:45 -0400 From: Steven Rostedt To: Guenter Roeck Cc: Eric Dumazet , LKML , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Ben Young Tae Kim , Thomas Gleixner Subject: Re: [PATCH] Bluetooth: hci_qca: Use del_timer_sync() before freeing Message-ID: <20220406124645.3a1ce66e@gandalf.local.home> In-Reply-To: <59941012-6eb6-91f3-ac79-cca759fa53d7@roeck-us.net> References: <20220404182236.1caa174e@rorschach.local.home> <97d1cc84-890c-3fcf-2efc-645633cd36b2@gmail.com> <20220406153907.GA1994259@roeck-us.net> <20220406114654.3c0e17a8@gandalf.local.home> <59941012-6eb6-91f3-ac79-cca759fa53d7@roeck-us.net> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, 6 Apr 2022 09:36:10 -0700 Guenter Roeck wrote: > > So we have a chicken verses egg issue here? > > > > Almost looks like it, unless I am missing something. Maybe some flag > is needed to prevent the timer handling code from queuing into the > destroyed workqueue, or the workqueue handler from updating the timer. That's exactly what I was thinking. I do not know all the code here. I could try to write a patch, but I may likely miss something. -- Steve