From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 180F2C468AD for ; Sat, 6 Jul 2019 13:39:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EE7432075B for ; Sat, 6 Jul 2019 13:39:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbfGFNjb (ORCPT ); Sat, 6 Jul 2019 09:39:31 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:59064 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbfGFNjb (ORCPT ); Sat, 6 Jul 2019 09:39:31 -0400 Received: from [192.168.0.171] (188.146.228.97.nat.umts.dynamic.t-mobile.pl [188.146.228.97]) by mail.holtmann.org (Postfix) with ESMTPSA id B0941CF163; Sat, 6 Jul 2019 15:48:01 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [RFC 2/2] Bluetooth: L2CAP: Check bearer type on __l2cap_global_chan_by_addr From: Marcel Holtmann In-Reply-To: <20190603104843.26848-2-luiz.dentz@gmail.com> Date: Sat, 6 Jul 2019 15:39:29 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20190603104843.26848-1-luiz.dentz@gmail.com> <20190603104843.26848-2-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, > The spec defines PSM and LE_PSM as different domains so a listen on the > same PSM is valid if the address type points to a different bearer. > > Signed-off-by: Luiz Augusto von Dentz > --- > net/bluetooth/l2cap_core.c | 14 +++++++++++--- > 1 file changed, 11 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel