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=-18.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 C1DD5C433EF for ; Tue, 21 Sep 2021 08:46:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AF5CB60ED5 for ; Tue, 21 Sep 2021 08:46:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231301AbhIUIsM convert rfc822-to-8bit (ORCPT ); Tue, 21 Sep 2021 04:48:12 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:55477 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231295AbhIUIsM (ORCPT ); Tue, 21 Sep 2021 04:48:12 -0400 Received: from smtpclient.apple (p5b3d2185.dip0.t-ipconnect.de [91.61.33.133]) by mail.holtmann.org (Postfix) with ESMTPSA id 95BEDCED13; Tue, 21 Sep 2021 10:46:42 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [PATCH v6 1/4] Bluetooth: hci_sock: Add support for BT_{SND,RCV}BUF From: Marcel Holtmann In-Reply-To: <20210916201049.114392-1-luiz.dentz@gmail.com> Date: Tue, 21 Sep 2021 10:46:42 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <1F53E938-77D3-4520-B119-11F81C991D44@holtmann.org> References: <20210916201049.114392-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3654.120.0.1.13) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, > This adds support for BT_{SND,RCV}BUF so userspace can set MTU based on > the channel usage. > > Fixes: https://github.com/bluez/bluez/issues/201 > > Signed-off-by: Luiz Augusto von Dentz > --- > net/bluetooth/hci_sock.c | 102 ++++++++++++++++++++++++++++++++++----- > 1 file changed, 91 insertions(+), 11 deletions(-) so I applied patches 1, 3 and 4 to bluetooth-next tree. The patch 2 needs a more details review when I have time since I remember there were cases where the SKB copy was really needed. Regards Marcel