Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1584143ioo; Sun, 22 May 2022 20:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweKUyCXL50aFh8pEU6C8fL1rgoXn4u6otMPQLxjI6+8a+kIosHAbf1XhFaB7mOWpRSSMrN X-Received: by 2002:a17:902:edd1:b0:158:8318:b51e with SMTP id q17-20020a170902edd100b001588318b51emr21345426plk.89.1653275106167; Sun, 22 May 2022 20:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653275106; cv=none; d=google.com; s=arc-20160816; b=qb0KYQzqK2sCWy84Vu99LaQsJSlo1Z+9EFOyzJfINXIv8C4xbuz7W+1TxTM2t6odu0 qO1y/8GllQN5eBbvx4MRC0LfNoNjEYvMw4/t909IlhZp1f4JUry6LQcOLaYLkVrhlhCo 3TmFxkKPoxwcrFhLSPrsgC973KmOWL62UsbrISH8HivH3lGH0AxpXHZCWlwe+tEVtI1v wP+wxLBDO6n3w1v2801UtOFQ4KEEBGZVx3IEGzG0H0pNmzablAbC5PFccKKiVwz7lOFA kxtoJOu1x/azPOqEB9r9GyRaWwK5FNtG9V9KnamG6yE5OS9rBIAAFznzGKYG7PTWAJ/c IIzw== 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=uDOSI6C3zaaG1qskO5rCoAdt7tYfK685tL5TGqpkW1o=; b=XZF9wunUcVp6DYWewixhztvQHPvFkbImGNugs/smP1JW/GEN1Xpka4H5V88wMr1hcC OYsrib2piTDsnEcH6/iIDitXQOHLpTly0JomeTL6MyxhsPu3AZ5Ma0mm7B9z6Hc5PIvq 2VeG4LgVQrg4ZfEHmU6cUIBKoLfuiolB2mhczWRvwm6f5KgFRB8OYOOIT8XZeqHU4Uks EFQbclYv3REqgNLxOL+b4dvuUXH8Y/Y7ANsIczVJbHuCxHQaCL3+5otk2tGGVDM0d8lZ M2EYeGIF8TltUED27pfFs+N3xyHBfrAdivWcnt6wjxLgsOJ3EuK5XBzJSmEA20m0XWuE vS6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Iqcf+lkR; 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 w186-20020a6382c3000000b003f5f437842fsi8730497pgd.341.2022.05.22.20.04.38; Sun, 22 May 2022 20:05:06 -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=Iqcf+lkR; 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 S239639AbiETSje (ORCPT + 99 others); Fri, 20 May 2022 14:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231893AbiETSjc (ORCPT ); Fri, 20 May 2022 14:39:32 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A216195BCA for ; Fri, 20 May 2022 11:39:31 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id x12so8419020pgj.7 for ; Fri, 20 May 2022 11:39:31 -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=uDOSI6C3zaaG1qskO5rCoAdt7tYfK685tL5TGqpkW1o=; b=Iqcf+lkRKRSwvNhjzqxSWaddtL9m7Wy8yTfchFXd2tGLGkvcaF4HOCAe5pIb71AVGN RybgoUiXBsRI+YXtlSE2m3LnayKD+NyDJicFo1HOkgBpjjR75AIq/RR4q0kWNfAWFkLi msH8fcwrKIyngz4dSQP3fq2JsSKIW9MvJ235F3NlFQJb9atfghoaGkgB+4resDFeimsb T/F+TVJTDKMduJc8gNS/UFp3o5wuTWUWbooe8yXytALykwyolmX+yCRvBG7LXA2nBjhc mfxTOtJrJsKz9dmKCpK/3Glc5Gw3lpbCJCkfSSC08+kV72GqH44fJrEehZyAkCXCU4fs PWpA== 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=uDOSI6C3zaaG1qskO5rCoAdt7tYfK685tL5TGqpkW1o=; b=F9+084mcGXAhmw2ZUfVGFZ4jk5qmYVU/L2A4R35Y2ATEje4a5k8fioR4Kadp1S9bsE tUKHBTq3UQpitVxmC3/AaPxgS4GZQxoOBNtZ7Z2o3QrD9qjh8mjl/IFVQBnyULXj5+9a AU1FpeavPg5xut1YX9yTpIsF0yKTSv1KWQtB5fZHuYfebv9TTVu6XcZlO9/uFwKHE+jb foR22v11TuupJtmQtnN7Nm3w6ExmNICcXZzEOs2j+Bhwtr3afs2vcFrqDYKaMHcKbd7T XQgp8MHiIHj/a8PdDdQH5294Z8fSVEoJ2creM2cnY0/qanL7bB4pxWhhZjpcxz+JTXLU p4qQ== X-Gm-Message-State: AOAM533b9Se2kLMZgu58aORsg4r2/mgjQoRq1KW37ORcJVArKPQsaHCB +WDRUixwq3/GumijCZ0t+txNykmYP71uG7xFINlHTBRw X-Received: by 2002:a65:6d08:0:b0:3c6:8a08:3b9f with SMTP id bf8-20020a656d08000000b003c68a083b9fmr9633876pgb.147.1653071970765; Fri, 20 May 2022 11:39:30 -0700 (PDT) MIME-Version: 1.0 References: <20220519202258.2459530-1-luiz.dentz@gmail.com> <4A64967D-9487-4E8E-80F1-64B0389B2D95@holtmann.org> In-Reply-To: <4A64967D-9487-4E8E-80F1-64B0389B2D95@holtmann.org> From: Luiz Augusto von Dentz Date: Fri, 20 May 2022 11:39:19 -0700 Message-ID: Subject: Re: [PATCH v2 1/3] Bluetooth: hci_conn: Fix hci_connect_le_sync To: Marcel Holtmann Cc: "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 Marcel, On Fri, May 20, 2022 at 2:18 AM Marcel Holtmann wrote: > > Hi Luiz, > > > The handling of connection failures shall be handled by the request > > completion callback as already done by hci_cs_le_create_conn, also make > > sure to use hci_conn_failed instead of hci_le_conn_failed as the later > > don't actually call hci_conn_del to cleanup. > > > > Fixes: 8e8b92ee60de5 ("Bluetooth: hci_sync: Add hci_le_create_conn_sync") > > Signed-off-by: Luiz Augusto von Dentz > > --- > > net/bluetooth/hci_conn.c | 5 +++-- > > net/bluetooth/hci_event.c | 8 +++++--- > > 2 files changed, 8 insertions(+), 5 deletions(-) > > you are making a bit mess with yet another v2 of this. I rather have you mark this as [PATCH -stable] or something so that we get this one into that tree and then later the rest into -next. > > Regards > > Marcel Just sent one with -stable, is that something we should adapt going forward? Perhaps we should document this somewhere. -- Luiz Augusto von Dentz