Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp779435iog; Mon, 13 Jun 2022 12:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjpelZsbacgBxfgUvNy1jbBiMcxQK20b4QPc2RjLY2z6bIt3nH3sl2+z9WGethPlq7cCVE X-Received: by 2002:a17:907:971f:b0:6ff:2d30:4b37 with SMTP id jg31-20020a170907971f00b006ff2d304b37mr1197519ejc.7.1655149672197; Mon, 13 Jun 2022 12:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655149672; cv=none; d=google.com; s=arc-20160816; b=P6t+HG8J/XwQqMSqhfQmvIGfn5iKlmn08FyvKbPk5ZrCwso/dzJU0GRrIyXgaK7Mmo lIV1vJLqzI4Tqwp+TnN04W8H9peVDc3qYcF+TFrvNrJ3+iprF+S84nUvj0Gc21HyR81z nghaeLkgH5KFvMOMdxxVDLtVR9XOg7QsnqG4JGfzGCdlResSNp+Dsz/OBYcWFwJWBYzi nTtiwGwdlDnpdb2Pma6E4yI0OwrdeEpt8gl+mkt3Y5za/uNs2FSms1ErGdYRhWpknKBH 56knG1+1nHVg2DlkJU3T6gehP9o+0WDxfRfNlX2mrLWng1gy3AsxbCOeDePia7J9nP8a kGog== 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=soLxaH+Y0z0W5OYy+uQWXxtMbFZxv0ThlfHVsuwFO/8=; b=F1u8/wUcHroeJ2/zLpE/HQn/XITWCl32UAWIZnMyJJ4WOukr6COyLpmeTwHNeBBn+m 5g4rszJIF8miP5QulLE3S2Jy7VC2IbSggEL1fEiBq5+gd6nWk6r3kGOtXlZy9YNLbIeH eYSRs0KnWlZCVuzYXB8XpJl3ZGWHmxxNIS148vMSKEr8KxzJQe3RwOD9T7EcBVtW+C08 DF7VnfjzqfXqnJUusVwISIbwOIGQ+kWQvWWnOYrLsKtI0z//wlU+XDxweWaXTkb67OZp A1yMds9zTgjNZc89gXEQD5Qea6AY638scwDuGOvP58+SqwxZHXJRRXcu62zDMLNO9Dwz nEnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OiEJ+Iox; 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 23-20020a17090600d700b006e89d168e62si8361996eji.820.2022.06.13.12.47.09; Mon, 13 Jun 2022 12:47:52 -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=OiEJ+Iox; 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 S1343763AbiFMTmF (ORCPT + 99 others); Mon, 13 Jun 2022 15:42:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243876AbiFMTlq (ORCPT ); Mon, 13 Jun 2022 15:41:46 -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 5E75A5F54 for ; Mon, 13 Jun 2022 11:10:16 -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 EA974611D4 for ; Mon, 13 Jun 2022 18:10:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 533D5C3411C; Mon, 13 Jun 2022 18:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655143815; bh=SJ7/CaL9iYn6UATbibgvFn16MqVvVbRa2WnJKYzTBFI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=OiEJ+IoxD37PIJTsVug/SXu3AAYpb25MXLyBGgkKk9vqhj61bjBm5qm3nq6z/iCYI HTak0Kfl5ybosFH6wYvaUL1ksZhofcbfHTOPnVNGsOvVNL3Ex9vUGgfFV+WTXOifhK XYz+WIqY6O3UIyxUlrC82pgO63tZQGkfaDzSiFRPCRT/IkgZJtksQdXpfVp8R+vGwd ja8st4S4nzLvoj/mhZaSmIElO5EYALJQ4VW3uN9g6wiE3WCMJx84qaZByHkmSLPEsi LJrtFIWwNe5jpwIFtL0SEHfzBvHyOaHefdD5Vdbz2Pi4nIZNqT6NvlnNISBBXl0Aft vB6sbOfvq2xGg== 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 39C8CE73854; Mon, 13 Jun 2022 18:10:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ 1/2] a2dp: disallow multiple SetConfiguration to same local SEP From: patchwork-bot+bluetooth@kernel.org Message-Id: <165514381522.24573.3468564396925092282.git-patchwork-notify@kernel.org> Date: Mon, 13 Jun 2022 18:10:15 +0000 References: <20220605122927.110627-1-pav@iki.fi> In-Reply-To: <20220605122927.110627-1-pav@iki.fi> To: Pauli Virtanen Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-8.3 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 series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Sun, 5 Jun 2022 15:29:26 +0300 you wrote: > Using the remote SEP SetConfiguration DBus API, it's possible to make > multiple remote endpoints use the same local SEP, if they are endpoints > from different connected devices. This is invalid: successful > configuration shall prevent a different device configuring the same SEP > (AVDTP v1.3 Sec. 5.3). Moreover, this breaks the assumption in the > AVDTP code that each SEP has at most a single stream, and causes > misbehavior later on (subsequent transport acquires fail with EPERM). > > [...] Here is the summary with links: - [BlueZ,1/2] a2dp: disallow multiple SetConfiguration to same local SEP https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5f9d9a9a0b38 - [BlueZ,2/2] a2dp: error return paths in a2dp_reconfig must free allocated setup https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9c288dd23a3b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html