Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1075351ybd; Wed, 26 Jun 2019 10:45:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaY/i8r5jCufPCyf5Dt8i75Cxsg67d0H7esdTNpUjU4Ee2nWKmIUF4cPeFSthFTpmWKoDV X-Received: by 2002:a17:902:124:: with SMTP id 33mr6948886plb.145.1561571109515; Wed, 26 Jun 2019 10:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561571109; cv=none; d=google.com; s=arc-20160816; b=bSYDOW1LVI3VY78y9u4KLaQiw40GENPIWqVRnzf6bvOExcPkaSH+WdD8YWhyhU1X+E ljLJ9q4RMKsR40TCtQFUCnR6YeGveG6trlIetcSdHcCTAifTbepl1/J5vj1KSM50MXhx qO2O6/A2VD7W7lwaw8qoSqTR7bvMSpImaMWWMz2HYIeDpCiuNdKfgweZESTUYGzbU5j1 QlQ4wi+SYmvfG3Whh4MzAJ68cxxHd8dpWQjfeZBtwwT3ie45lB2m2etZkfQOBDs9Yy83 SyfkhxgJjUOhoxagMuRhsYKtMNDh3rTPEw03tq1Nvs4wQ23qVTkNCrBYxvd5dah7lnZe /p1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=fAMX2ILRv/T2LKU5gYNI3/QzhB17fx6VX8r/nj8bB10=; b=YyCDuYs9FAETDeSPy5GvKTxohchoB82UONlGDspIs8DZ9yA4H9/x/03H+ncfbRfYqB z+24XrZHXEoYBEITsGdy3K9itaWZKq5ps3wpjUPKDOV4huo7Pm9FGS3XyX/TG6g5lTWm uj68nLjoHZfFMvuH7Pv8+2CkfQoSyo1MXERsw6IZ0pdrGY2YOXiyHnqR3aH9qcDyfF1O prJMSKWHNeBRvjhDRUYljfF5pJsVfQYN5xPGA3S/otYd4grD2QD2B42sYgMbWF1WCEzv l8lAtJEKVH4W/IY2BylnOqx7dLoAnhy5/vgOCzI8s83K6uPAXscDdXSk4hPO1nCKdcDh mJqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i189si14420530pge.413.2019.06.26.10.44.49; Wed, 26 Jun 2019 10:45:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726223AbfFZRos (ORCPT + 99 others); Wed, 26 Jun 2019 13:44:48 -0400 Received: from mga01.intel.com ([192.55.52.88]:49367 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFZRor (ORCPT ); Wed, 26 Jun 2019 13:44:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jun 2019 10:44:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,420,1557212400"; d="scan'208";a="183217688" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga001.fm.intel.com with ESMTP; 26 Jun 2019 10:44:46 -0700 Received: from orsmsx114.amr.corp.intel.com (10.22.240.10) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 26 Jun 2019 10:44:46 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.135]) by ORSMSX114.amr.corp.intel.com ([169.254.8.90]) with mapi id 14.03.0439.000; Wed, 26 Jun 2019 10:44:46 -0700 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" CC: "luiz.dentz@gmail.com" , "johan.hedberg@gmail.com" Subject: Re: [PATCH BlueZ 1/1] mesh: Modify check of the node directory name upon removal Thread-Topic: [PATCH BlueZ 1/1] mesh: Modify check of the node directory name upon removal Thread-Index: AQHVKrQZHNvrFjUvIkGB+yvjT7tpJqaurZ+A Date: Wed, 26 Jun 2019 17:44:46 +0000 Message-ID: <1561571085.22940.18.camel@intel.com> References: <20190624174142.15920-1-inga.stotland@intel.com> In-Reply-To: <20190624174142.15920-1-inga.stotland@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.45.164] Content-Type: text/plain; charset="utf-8" Content-ID: <709EB7E45E45E143ABBAC26A33E33157@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org QXBwbGllZCwgVGhhbmtzLg0KDQpPbiBNb24sIDIwMTktMDYtMjQgYXQgMTA6NDEgLTA3MDAsIElu Z2EgU3RvdGxhbmQgd3JvdGU6DQo+IFRoaXMgcmVtb3ZlcyBjaGVjayBmb3IgIm1lc2giIGFzIHRo ZSBwYXJlbnQgZGlyZWN0b3J5IG5hbWUgYW5kLCBpbnN0ZWFkLA0KPiB2ZXJpZmllcyB0aGF0IHRo ZSBub2RlIGNvbmZpZ3VyYXRpb24gZGlyZWN0b3J5IG5hbWUgaXMgdGhlIGhleGFkZWNpbWFsDQo+ IHN0cmluZyBy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