Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1494596ybi; Wed, 3 Jul 2019 17:18:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvEBX6W69YYNDPrV+9881e/4t3NY+kCjsqYaGrgWOuXUBWLp5MmNWtlHfG/Z+CNgRoh8cj X-Received: by 2002:a17:902:ac81:: with SMTP id h1mr46538880plr.171.1562199525239; Wed, 03 Jul 2019 17:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562199525; cv=none; d=google.com; s=arc-20160816; b=cF00GUxp2hkMQc3edEKflBFzmuGRzjLIlYLQk7/xAL2z596MTpFPPRfmjWL/H1Tw7P FQvtw+bpgUrwTNL0/JrZHHL2VVkJmUd1lDvzaPQcLHqObMWSJPiKzgeTuFfF0V110T0V 0kcCtzidAyCzg5Wahf/Lr1tPyb5+8LsDfFOxesjTmKXTxg5GOqmziRAjEkiIRTxSZPos /6uzuINXc6ePKJ1AA+/g2X8cTl3i7eeikMu0kPE4PWjerQeid2qhd7pkYkc0yheoMZJB 2dAGHiULX9koHBwEmU/7VZ6EeK6F7AKxTUGKbmPpmHAJmgrmBMBx2Xkf47WfOHgzxroT N+wQ== 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=oJfJC6fCsn826/w5OEnNPY0Ot/3PbGuZflF30yHwr3s=; b=lA7U6zxwJ09U07o2/3Cag+gpR2Bve/v1Dz7Yhj7ED9fvpBZriEYb9TRW+jQ1n7aabc 151MPyx9KKBnqAY+EZqyV1xHAOokZe2MTbzr54yBpz0KLjUXw3Bxt9x35Qxex9lHKlTk lTBrTDGVcM6XMEpZF3dxivuawJ4cWUIDZTo6kPw601nM8eRnhojcEWyfN455OEENZYgN yET0bd8eaMvTDhp8+EDJ2LLGg7uIvUZcAEvctETOLeh7SSRmZCSK+VcvSZQN1ptECAt9 VAyrPcr8HgtQeL4KnKQNZn+MBxPbyZymI1qCi7VUYjf6L0N3A58Wt0xeigev55x5X7GH 1aiA== 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 u13si3463782pgp.478.2019.07.03.17.18.30; Wed, 03 Jul 2019 17:18:45 -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 S1727430AbfGDAQl (ORCPT + 99 others); Wed, 3 Jul 2019 20:16:41 -0400 Received: from mga12.intel.com ([192.55.52.136]:63746 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727100AbfGDAQl (ORCPT ); Wed, 3 Jul 2019 20:16:41 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2019 17:16:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,449,1557212400"; d="scan'208";a="247792369" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga001.jf.intel.com with ESMTP; 03 Jul 2019 17:16:40 -0700 Received: from orsmsx155.amr.corp.intel.com (10.22.240.21) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 3 Jul 2019 17:16:40 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.5.135]) by ORSMSX155.amr.corp.intel.com ([169.254.7.237]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 17:16:40 -0700 From: "Gix, Brian" To: "linux-bluetooth@vger.kernel.org" , "Stotland, Inga" CC: "michal.lowas-rzechonek@silvair.com" Subject: Re: [PATCH BlueZ] mesh: Fix clean up of node's DBUS assosiated resources Thread-Topic: [PATCH BlueZ] mesh: Fix clean up of node's DBUS assosiated resources Thread-Index: AQHVMfOMn7/f5crSdUyoyl/ZdJKo76a6DO8A Date: Thu, 4 Jul 2019 00:16:39 +0000 Message-ID: <1562199398.23933.40.camel@intel.com> References: <20190703230244.20229-1-inga.stotland@intel.com> In-Reply-To: <20190703230244.20229-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.20.71] Content-Type: text/plain; charset="utf-8" Content-ID: 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 QXBbcGxpZWQNCg0KT24gV2VkLCAyMDE5LTA3LTAzIGF0IDE2OjAyIC0wNzAwLCBJbmdhIFN0b3Rs YW5kIHdyb3RlOg0KPiBUaGlzIGNvbnNvbGlkYXRlcyBtdWx0aXBsZSBwbGFjZXMgd2hlcmUgbm9k ZSdzIG9iamVjdCBwYXRocywNCj4gaW50ZXJmYWNlcywgZXRjLiBhcmUgZGUtYWxsb2NhdGVkLCBp bnRvIG9uZSByb3V0aW5lOg0KPiBmcmVlX25vZGVfZGJ1c19yZXNvdXJjZXMoKS4NCj4gVGhpcyBh bHNvIGFkZHJlc3NlcyBtZW1vcnkgbGVha3MgYXNzb3NpYXR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