Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4678rwe; Wed, 24 Aug 2022 15:37:40 -0700 (PDT) X-Google-Smtp-Source: AA6agR7J7YgWMBZZPKf2fDM70rKFZaJ83+SxYPlTnrviWKkjLfAmmrwlrCp3TU/TjSUyaJWPjD+3 X-Received: by 2002:a63:db0b:0:b0:429:f039:74c5 with SMTP id e11-20020a63db0b000000b00429f03974c5mr800322pgg.551.1661380660355; Wed, 24 Aug 2022 15:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661380660; cv=none; d=google.com; s=arc-20160816; b=tA2ywVt6kItQyjYIVEXeK3IooKLGNvMd0H2VjhpJ9F0ylrR7F1vrF6AYf74yxll51U WJ3WOsbF+xdlLWRZ7ypzsBVs+VJ+lBVDuviwCOTQrfXoMJ2uEC4Iv8+J02iSYlVFhVHf yeS2ep5ccvyUsHU4vX5mpgNeNlq9Xjkq/2eeg6Pfk1//eC/IGrTInNY+E0hAJqE70qwm P8VZwQ9fWPZI8grZDPSGT87nEYendcu5tt/gss5pcT+MLdG8N4gDJveF7tVbGO3Dw60j vcGEAwIOU/P8n+gN3COiJrNvntSkvvNPyvQ1bQX+1zcQqYthm7JFIPzkWPyqlum0IqZG VGOw== 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=nsbsvupDmpHXk6aqNXxT5JnXEYwYgxWhxhaW2w1CxE8=; b=xcOpw2kzvGIOSA1i6TabOBX3J/4KDqx9BBJTpu1QEDWpqrwQOXCa7jDBvqkrBLmt2a XA4aAeZOpREbAVC9FAk0oKSWbqEbxcT1WesOvrJgJSlslmpPqFrTuclvZySU6On3o50u QoPG26AYg1ikqcumzuNFFy4aV9yTy4E7cPAiHvyOwJX5YmGonRYHG5xGu/Wx3pFQ4uin K8cJdwTAHzeYVF6zwYMzhPRhsZvkxZmJPNY1ssKuzdtq573o80b44YeR4a0tXtpoq458 Cwe1afIRUszaN30oC2LYO+mZAuAB5i6H5N4T6jonNZpFUD6ZOatR6bUfe5qu7s6zM0dC CRww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pDsEgDV8; 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 il12-20020a17090b164c00b001f557276cecsi2499353pjb.52.2022.08.24.15.37.20; Wed, 24 Aug 2022 15:37:40 -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=pDsEgDV8; 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 S229863AbiHXWbT (ORCPT + 99 others); Wed, 24 Aug 2022 18:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbiHXWaW (ORCPT ); Wed, 24 Aug 2022 18:30:22 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15EC6B844; Wed, 24 Aug 2022 15:30:20 -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 sin.source.kernel.org (Postfix) with ESMTPS id 01A5CCE2409; Wed, 24 Aug 2022 22:30:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3C05BC43144; Wed, 24 Aug 2022 22:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661380217; bh=jBOu2Pdw+e9odRrH52ZpnLAEMnqwvnH7KG8eLHtqhYs=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=pDsEgDV88uxzGXCGj23B3i8OfGcHf/LxeJxFbRw+aH6BjXrXS+G20Yj3B8uMerHJh bi9hbFHYgskAAVg9j5K4WXuaxUAy1iiziurShb0ZbZsRqyT1GMbficRAylwpYxehcQ lhOWWUKHjftfmj3wCeG1XwM87wFqqQ395V+/d0gIAlJHTEhVkhdhBA6al7CEB45qpZ ofmVfImxwp/o3cqSvbBSS6K8RTQJwfcRAyIfv8l6y2qPi1CSsUaD+Q/t02DOCPDB+7 La3v6iDERJ40V2nmjOpZoDl0xDjgHZAzmcDop3sVhrj4UAL8YkkXMLx+H/AelvWfvc JMAnJqVtbdhEA== 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 1C2B8E2A03B; Wed, 24 Aug 2022 22:30:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_event: Fix checking conn for le_conn_complete_evt From: patchwork-bot+bluetooth@kernel.org Message-Id: <166138021710.13438.1447339099365572725.git-patchwork-notify@kernel.org> Date: Wed, 24 Aug 2022 22:30:17 +0000 References: <20220823123850.1.I0cb00facc6a47efc8cee54d5d4a02fadb388e5a5@changeid> In-Reply-To: <20220823123850.1.I0cb00facc6a47efc8cee54d5d4a02fadb388e5a5@changeid> To: Archie Pusaka Cc: linux-bluetooth@vger.kernel.org, luiz.dentz@gmail.com, marcel@holtmann.org, chromeos-bluetooth-upstreaming@chromium.org, apusaka@chromium.org, sonnysasaka@chromium.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, johan.hedberg@gmail.com, pabeni@redhat.com, soenke.huster@eknoes.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Tue, 23 Aug 2022 12:39:22 +0800 you wrote: > From: Archie Pusaka > > To prevent multiple conn complete events, we shouldn't look up the > conn with hci_lookup_le_connect, since it requires the state to be > BT_CONNECT. By the time the duplicate event is processed, the state > might have changed, so we end up processing the new event anyway. > > [...] Here is the summary with links: - Bluetooth: hci_event: Fix checking conn for le_conn_complete_evt https://git.kernel.org/bluetooth/bluetooth-next/c/045f23cf75a8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html