Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp852511iog; Mon, 13 Jun 2022 14:30:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7JsNPObQlcYE7LMl4WuIA+WlXVlPUeah1u5KTwpiJ3oyCdVc5WnQrgDcEtoq8nj2oEGDM X-Received: by 2002:a63:814a:0:b0:3fc:ee2c:340f with SMTP id t71-20020a63814a000000b003fcee2c340fmr1429589pgd.380.1655155846732; Mon, 13 Jun 2022 14:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655155846; cv=none; d=google.com; s=arc-20160816; b=KClDJTlG3nR0RL7a7+UHh6mx/814iUyf1zMp6ApXL45JL2GGWQBivxsnDMJvzL71l1 A41kXmHJo8MRjJpfOsOMtt3bpakUIYm7GSiHA+DHld1xeaNVlscboAFmewRB8CU7Z+z0 5gLGiMSHYwlPviISOJgToTQoH8bVOUkBHIGz9M6PQj62fITooaR4JVNPXH68aUAl/PdK KZJ8pTHKkuUB41KNJWCxUKJDWYEul9/hP63U9TMGl/uwdwDSipMbYJ9y4wPuIPYRVSqe h9VO6yacd1z8eWY3eSO5G/+vpihTiU+NqJlSyJjiWYTq0pkyrsrO3edCb6AnDLWf+plx 0GQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=sbcIIk9gfGFD0ZXQuxM4aGGXSleceqbNW+g4AXRk1Mg=; b=rmS4+pB2i/n0StExUOzSR9U4QHBvOGkaYzzomE5mCUi8d9gZ36ZylgP1HemyjMrUUo GEgOJdXgQpea0Apb7ogurfL+lvRCKmQp+zg+aagTsJK2Ha8Y2z8W/l/naXQ8/tNpx6YX TDYZ1UcVxixBHOqBlfvaK5ZPzgiSKaQYcMziLTHCtkQRg7smeK1nVT/fjyp3cyZfew9B O12UfJjlaU6xLVUq+3f0X1EL0R+IAD/mgME/TmlZfP+hani6415BecNcr+MsHOOzazaY V/uz+iyNhq2vQVpIjB0b2it7+NBZKnzo9SG6TdGE4QDHZx/cDXg9J0QjAjFF0C3qpv9G pK0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="JUjovLf/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c16-20020aa79530000000b0051b8c526443si10387970pfp.171.2022.06.13.14.30.17; Mon, 13 Jun 2022 14:30:46 -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=@gmail.com header.s=20210112 header.b="JUjovLf/"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233513AbiFMVT4 (ORCPT + 99 others); Mon, 13 Jun 2022 17:19:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242616AbiFMVTr (ORCPT ); Mon, 13 Jun 2022 17:19:47 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 367FE3F8A1 for ; Mon, 13 Jun 2022 14:02:43 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id h23so7542921ljl.3 for ; Mon, 13 Jun 2022 14:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sbcIIk9gfGFD0ZXQuxM4aGGXSleceqbNW+g4AXRk1Mg=; b=JUjovLf/ftLomn3CfF8hwtXeuAEnKXyerjN7ti5s00P7eNnfPPNjN5H/FK3XxglMOg tGm/YgCJgDtogS3wEqgMiCXKSC71S3kB/J8O0dL7v+Kultlan7YjVs3PDJUqmcSgwYIK /NiSWsTMdArTluVIP6XIHUx7+a1wLEE/Z7nQkPBCwwGQW0sFjtj0hA+b6TaB1oPALeOr Hr+i0zdL24DqoCAiRn0VYt0u9sb8mNj5VMAQTSLLP0abiTqm4V77HUi5Op2xKy7OqLkB BkL+1kLbJw6hy/hDKQEZFiCDp2fphaV5FGw5zjdploZyVam5VHkWZyn4hmD6k5qUTKM5 b4hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sbcIIk9gfGFD0ZXQuxM4aGGXSleceqbNW+g4AXRk1Mg=; b=hzUEPFTS71aH8cHvWxIvGBcONaVI+lnDAtAZX0lNnmt4lhgtOApvLFx3f4hYLU0MEe wjRNU+CIA5hvA2nZv9m+788qbKxTZuNrsFdM3NTS2rEYEXbeu4ylD35J+CkXlYLbsxYu iWR4D4xUbx83lhwuvLtcp04vcadANblLSMCzMZ8p/NbHeoJywxo3iY4/uHyTWl6OqBck 9XB0gGiEWrKsQNtcvEABDc+XEAfjjjc3ihPtWmBiaoCQv+N+BfcLo0u+Tj6MIt4dDKBa /8wKto95vMypSqtgxX5dv0pNSXUTrU4p79JpHwkRZHWSvdmMEXO5GD22/heghxwmLvbd bcfw== X-Gm-Message-State: AJIora8QbMxILqKUkcCM74mpXw/gzPKInV72T4LnxTWBe1/+9k5SgGjW O47S/V8kN1/zAdycidcwwvhM+A8QcSq2nByj5Vk= X-Received: by 2002:a2e:a4c2:0:b0:258:e71c:8693 with SMTP id p2-20020a2ea4c2000000b00258e71c8693mr706392ljm.65.1655154161131; Mon, 13 Jun 2022 14:02:41 -0700 (PDT) MIME-Version: 1.0 References: <20220605122927.110627-1-pav@iki.fi> <165514381522.24573.3468564396925092282.git-patchwork-notify@kernel.org> In-Reply-To: <165514381522.24573.3468564396925092282.git-patchwork-notify@kernel.org> From: Luiz Augusto von Dentz Date: Mon, 13 Jun 2022 14:02:29 -0700 Message-ID: Subject: Re: [PATCH BlueZ 1/2] a2dp: disallow multiple SetConfiguration to same local SEP To: patchwork-bot+bluetooth@kernel.org Cc: Pauli Virtanen , "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Pauli, On Mon, Jun 13, 2022 at 12:47 PM wrote: > > 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 > Ive ended applying since I'm not sure you would be working on supporting reusing the same endpoint properly and leaving the code as is not working properly. -- Luiz Augusto von Dentz