Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp971184pxp; Wed, 16 Mar 2022 23:03:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvcGHYu2T/xU9m2xqm1aIdsTDKW32hPi841fZfs7nfu4dyitt3U8lk1Jfze5z5qNsojYwD X-Received: by 2002:a05:6a00:b52:b0:4f7:ae2d:64a with SMTP id p18-20020a056a000b5200b004f7ae2d064amr3506446pfo.0.1647497014089; Wed, 16 Mar 2022 23:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647497014; cv=none; d=google.com; s=arc-20160816; b=orzsxVvyuMN+AhRiftJ6UflqzkyH89V5zLyN/3Cc/71pT3HuchVzJVKVSDxovFxqQr 3W43FahvxTF39moOumPSzceMtWgRElDlRQQyDMj+mNwRxlBz+9TAbgGXdh+IjJxUyvzU yL8GV9ExQ0m1fO5st+wXUvMW1vtRSla+FjLrZ9xddurfkQfOQVdROzcAXdWfEqNXygxj d4fee+uIq4BEQfFyppCUR+mjSmFkwBw5AbJV1dveJ8cQ5bzRQ8RbbGtEaqvxBQZWWLGc UNHJT5ZRLIjSa7xt8hfRFJEe1qUuYgsMGTzX48R5VgiToBzIb4ErOLHzTpfumV1l//NX er2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=fNrKu7gvT6zBvninsYl+Zqu4lfPJTSHG2DjOZiIhRPo=; b=j3uew+mV3qOD+8KRO40W8lYOsHyj4SSAnq7VYbb6rs0wskfw1TeKXFWVdM9ltPXprX qjofVz9uSwVBt9v+M9injX89eA3qhr2cHu+ByeY/tv3a60MXqc7cx4wNtuUP2rTDC/da g1AAS3N4aDx224Wm/CNeKbkUG+clNydKmpI35Syyk++IbgzSuJ95YaZZOhjD0EuiQXiH GCjgn3cmxpxcU2MmV/IRQTQ5lsbcffkziUJ2rYec7HduFD9cJ243cnNvhpkHG177bl/H 6AKVykffn7DN3MiKjWmFVpGIBnDdAukZ7GR5QbaQFlU+fhbWUav2MJuZmoaB1n3OUgG5 G1dg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a6-20020a056a000c8600b004f7b8b3a449si4395953pfv.339.2022.03.16.23.03.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Mar 2022 23:03:34 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 30DAB261305; Wed, 16 Mar 2022 22:07:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239434AbiCPOad (ORCPT + 99 others); Wed, 16 Mar 2022 10:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356319AbiCPOac (ORCPT ); Wed, 16 Mar 2022 10:30:32 -0400 Received: from mail.holtmann.org (coyote.holtmann.net [212.227.132.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E784842A3A for ; Wed, 16 Mar 2022 07:29:15 -0700 (PDT) Received: from smtpclient.apple (p5b3d2183.dip0.t-ipconnect.de [91.61.33.131]) by mail.holtmann.org (Postfix) with ESMTPSA id 1173FCECF7; Wed, 16 Mar 2022 15:29:14 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [PATCH v2] Bluetooth: fix incorrect nonblock bitmask in bt_sock_wait_ready() From: Marcel Holtmann In-Reply-To: <20220314224252.3166367-1-gavin@matician.com> Date: Wed, 16 Mar 2022 15:29:13 +0100 Cc: Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <8F322DA2-C862-4CCC-9EF9-BDB1148D5D7C@holtmann.org> References: <20220314224252.3166367-1-gavin@matician.com> To: gavin@matician.com X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Gavin, > Callers pass msg->msg_flags as flags, which contains MSG_DONTWAIT > instead of O_NONBLOCK. > > Signed-off-by: Gavin Li > --- > include/net/bluetooth/bluetooth.h | 2 +- > net/bluetooth/af_bluetooth.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel