Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp741756ybh; Wed, 15 Jul 2020 14:03:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1e/07sBIsoEDml5DTGUS+3eaGE7lqcuv6gSbcAY/Vdj6OErJc362NeN2xsOBlYQO/8g6w X-Received: by 2002:aa7:cf94:: with SMTP id z20mr1540416edx.82.1594847028815; Wed, 15 Jul 2020 14:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594847028; cv=none; d=google.com; s=arc-20160816; b=z5VBZQVsF/BNCP4b68dcrk45st8WiAeTJg5DAyM9wr/Z8Tf8YdcCsPTnLPwKNdxxET q3X+IFRvP55uv4N7lDXQBZ4CRe2+aTLEW7jtcWLCjhML96Y7l+q0zEquH63TfIAd3EyI +W1/FmxpWuEUSaOUJVzuoRCki+eap53jR0KRVNWKAyDabamvWOW5++n1BvNDL1dcAv4r nUC88mnS7ULS2LyGNpIQ4KTv125HjnCI0T0gdy/Qg5fS8cCySwpk2+E3G46oIuz0xnoC igNYHetFFeeiC/5Gq0AM5rqDkzBpyFlqbDUPiG+ZD7f2MUgMk0xuBuhV0MXoQunWeKI2 9NZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=yW5fhk6PKOSd9GgwP1G7dbIz9kg+JE0ausNy1m4FE0k=; b=ZQSt3TnANgDhI8j/FVlUP26PeF1y4HlhX1tKiZHPT4pjnIl3qxgbPcVfiQg+VqDhz6 i3HBtRl0LYZIGnJFPeWKsT4b75Hz0rQbjBWJnyR9rN0AT8XDQlrc2sTul+RMr0HoLWQ2 Qweo+Xe+/8SYOcZGj9OEm4rgUkFhTTwT4ve1NXEkY9aVNe8OCCwVDC5tPGJpTq6N60lx 7JqPIuPmOPh3NSSFWnGK4ZMSatGzrkJP1orE8uEXwpwi7R1Z5h4v4RkCFitFHhNfr+KT FwGxaZKoaet1u9fhctoFgxKqqw4ipVwwX1D9i/uvwLPxWATMV6uS8InH5XJY33UScS2k QUsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si1898664edn.528.2020.07.15.14.03.14; Wed, 15 Jul 2020 14:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726715AbgGOVDN (ORCPT + 99 others); Wed, 15 Jul 2020 17:03:13 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:40369 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgGOVDN (ORCPT ); Wed, 15 Jul 2020 17:03:13 -0400 X-Originating-IP: 82.255.60.242 Received: from classic (lns-bzn-39-82-255-60-242.adsl.proxad.net [82.255.60.242]) (Authenticated sender: hadess@hadess.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 365C540004; Wed, 15 Jul 2020 21:03:11 +0000 (UTC) Message-ID: Subject: Re: [PATCH BlueZ 1/2] device: Add timer for removing temporary devices From: Bastien Nocera To: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Date: Wed, 15 Jul 2020 23:03:11 +0200 In-Reply-To: <20200715204635.755599-1-luiz.dentz@gmail.com> References: <20200715204635.755599-1-luiz.dentz@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3 (3.36.3-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wed, 2020-07-15 at 13:46 -0700, Luiz Augusto von Dentz wrote: > From: Luiz Augusto von Dentz > > This adds a timer for how long to keep temporary devices, it is > updated > everytime the device is seen so devices will be removed even during > an > active discovery session which means the discovering for a long > period > will no longer just grow without removing devices that disappeared. Both patches look good to me. Cheers