Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp335432rwp; Wed, 12 Jul 2023 14:13:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlHHcH7t6i/htCgR2YcIJImrew3dimWadnyGZ7v2gT9R3ZmtrTYZ819eyG7Ug+H/KpteWhU0 X-Received: by 2002:a05:6a00:18a9:b0:666:81ae:fec0 with SMTP id x41-20020a056a0018a900b0066681aefec0mr20503389pfh.25.1689196381741; Wed, 12 Jul 2023 14:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689196381; cv=none; d=google.com; s=arc-20160816; b=iXwicLRoY3hdc9UzP7HPeaBDEs3Vvyfhy3cw6DFHeXDwobjw3rRaVmtw4Gzo5NUKEr grBHuh9ey97sTDaADuCUtHPhzvEs7ogO21TB8656HCgEmf+Slg73neq3jzn17KtGPyXU I/pZph9HiGm/1woYMeWXlFDV3HFAfkOCSOM/fP1uP7hP1zx12YS0HgtM9twGmfSL7hq3 K/sQfBCH89MqbLPtafQWf5gPO7PsxEqlko/pIMarQ6ud1gACOcAb7eHzXVMcBEU/jpeB rlFj8PT649praq+l/FVMj+bNMLFXqhSPg4OON/GEEBMs/cRaT+DrIrtKwk+LoYIXojUa gYAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=9rNxVayXsnKZ3dn+zGq3RslDDwTeQLgodFHkvxSAE9k=; fh=mvm3Yxc7rDee9HGOqanuj2xBm9FJA88wdE+s2jZm+28=; b=RL0LQBd8W0QNeABW8O/Kwwm2GrV+xis3YTOMMGCSa9tlb7wdcy6gLixuYc+Nrqchli mFO53Yg9D7ymnp98rYG6rZ5SVceCJBvVhwuvF/LTnaR+p+T+KQw0xI0XezNhTh9py8Z+ CsNWM2Zh84ErI9NUlN4b4a3OH/PAy83Oww40pDJhb1I078S2GjlUPrkOA2GazK6Pi3Z/ /a/kFDu2OfemDs/cj+xd5NRBmUks0c6xoL2PeiW2A5WmG/iv7jE0MHvWEW1l6qotaUf8 dlm3YJ4Oze8nGYKpoOsmZORYRDQdbRcRaJ7uzHEY8xsUII/Ftck6WI+LUjzWHdFDNwAi Ro0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="E/ju7Yrx"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020a056a00189000b0065bbe39e1b3si3993438pfh.146.2023.07.12.14.12.47; Wed, 12 Jul 2023 14:13:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@kernel.org header.s=k20201202 header.b="E/ju7Yrx"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232421AbjGLVKc (ORCPT + 99 others); Wed, 12 Jul 2023 17:10:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232252AbjGLVKb (ORCPT ); Wed, 12 Jul 2023 17:10:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 490971FCD for ; Wed, 12 Jul 2023 14:10:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BA54C61946 for ; Wed, 12 Jul 2023 21:10:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 2259BC433CA; Wed, 12 Jul 2023 21:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689196224; bh=mjetRKcA26BEvsmiifj2y4y6okeiEmfHUeFuRyBbvew=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=E/ju7YrxE+u/6zU6aE5bDqUo3yi2V0UQepyODcknIyVFbzUpyPNvU5MsHL/p8VWIL joAr78b9gbJACOwOb7g9zFio/DXlMFxwmEWrr0OAjiVp27LnwBaVC2aWjT65dPqBYC 7e/DHivAOY11yHeGR9YO7kjUXXpsl1oYJWCPzviF9Xk8bYRTBgAaJsgNv3m658fBmy VMASD/ioN0By3+TJK+GSgJ4EtB7CRmINfXbcpjafeZdmRVOQhiVN6gToQ6LML4NrzB SVqqLUX8ozOGgGBftjpPtE53X3edfalmGsntndjY5Lbqbg50XgSdMzuvrvb2dH2IEb F406Baw0diXuw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 04F18E4D010; Wed, 12 Jul 2023 21:10:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: SCO: fix sco_conn related locking and validity issues From: patchwork-bot+bluetooth@kernel.org Message-Id: <168919622401.11357.16209979465018497480.git-patchwork-notify@kernel.org> Date: Wed, 12 Jul 2023 21:10:24 +0000 References: <490b5c6a0e13047fd1bea42d3184b46623adc359.1689003801.git.pav@iki.fi> In-Reply-To: <490b5c6a0e13047fd1bea42d3184b46623adc359.1689003801.git.pav@iki.fi> To: Pauli Virtanen Cc: linux-bluetooth@vger.kernel.org, pobrn@protonmail.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Mon, 10 Jul 2023 19:48:19 +0300 you wrote: > Operations that check/update sk_state and access conn should hold > lock_sock, otherwise they can race. > > The order of taking locks is hci_dev_lock > lock_sock > sco_conn_lock, > which is how it is in connect/disconnect_cfm -> sco_conn_del -> > sco_chan_del. > > [...] Here is the summary with links: - Bluetooth: SCO: fix sco_conn related locking and validity issues https://git.kernel.org/bluetooth/bluetooth-next/c/23ba0a1d51bd You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html