Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1017642ybt; Fri, 19 Jun 2020 21:45:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxX3CMGj06h1AvmWEpm3E8hacHGZGxtL65JDi8Ltx1Wtf4NiwHYMBopBPDKUII9A5rcE1A X-Received: by 2002:a17:906:481b:: with SMTP id w27mr6340856ejq.27.1592628344420; Fri, 19 Jun 2020 21:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592628344; cv=none; d=google.com; s=arc-20160816; b=ojyld9OLsxcqci5P8+W8DX+VhoSzc0SRrdohQ5guBeaxIp2d24lWfn/pD/hGx8B/nk UfFMeIWwF3sM7DDQKBlVNGYt39XD/M8q64SZek4FVu7ED9umWjZedhCEe0ph4Ai7KHM6 n+BSL5QtO2FbmxM0uAFgAZsmm0HrxJDdxgoyZYcVVkWZhrk5Yz3WzOtxczKeRF/5hc/+ uQQFlVH0p+K0NifwMEA87dx7ur1vXjC6I4pYkGhC6ymFb6Ewm0O9GEf719fNEXj4jnu7 aZPold0mq5waJuoDujfi3MkZf/fMrwRuHBFcIk7Sb2E4LoHibU6S6MYeCT1wGlzSh6Gp dHHQ== 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 :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=Ny8p9eehCf6VcCrr1MhiRTH7lInb8LMF8qmohvt2IpQ=; b=LeAYbs+H6vyoTmLVhHBvFXUxzGP36hikOYbEjmdvW93XnZ8QvB2B5/VKmeHtVLDVN9 oalQumZkrweCZdWUh9LI4zGe437jVtqCKshdgBpGuL8KP15wjWIr0WCpl0VbGqxDLV4E e6uMByDVvwnGL4sf1/TKIzngZGZOtTA3PJ9zXjIJHTtzSdNvC5R+wKvA6dKfBa1CT4r4 lIv/zj6/6iK0OsJAEnmKWV7o6HV8xDwHf6sCiMfxqtqTAEUHVCjpLyRRp3LILGEhqda8 RFnXp4thlb9+cyTYqNTk2l7ym+C+TnMJN9EoDwHNUtDfkwiNq4ZJTqbBfXihFYP4qrK2 USsA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id re27si5086687ejb.426.2020.06.19.21.45.20; Fri, 19 Jun 2020 21:45:44 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727040AbgFSV05 (ORCPT + 99 others); Fri, 19 Jun 2020 17:26:57 -0400 Received: from mga03.intel.com ([134.134.136.65]:21821 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727038AbgFSV05 (ORCPT ); Fri, 19 Jun 2020 17:26:57 -0400 IronPort-SDR: H8eb1vNU4Puaceb6pBlwSI9UPKB9SJnHmZLytmPpKLepAQPmNi3xt2tG97mCcVJdFWAcXqtou/ 00n00A0PLukw== X-IronPort-AV: E=McAfee;i="6000,8403,9657"; a="143045072" X-IronPort-AV: E=Sophos;i="5.75,256,1589266800"; d="scan'208";a="143045072" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2020 14:26:56 -0700 IronPort-SDR: er9eYI5XSEQe+YCS7AEDcUbogNNNLCbXTz+o2PRXN3MznN65WZSvr5LLHYxK8/7M980uQq6+16 0YW3VjJOpq/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,256,1589266800"; d="scan'208";a="292246221" Received: from pafleisc-mobl.amr.corp.intel.com (HELO ingas-nuc1.sea.intel.com) ([10.254.109.121]) by orsmga002.jf.intel.com with ESMTP; 19 Jun 2020 14:26:56 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, Inga Stotland Subject: [PATCH BlueZ 0/3] Blacklist addresses of deleted nodes Date: Fri, 19 Jun 2020 14:26:52 -0700 Message-Id: <20200619212655.107839-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch set adds a notion of blacklisted addresses for nodes that have been removed from mesh network. The addresses of nodes that have been removed should not be added back into available unicast addresses pool (for assigning to newly provisioned nodes) until mesh-wide IV Index is changed at least twice Inga Stotland (3): mesh: Emit PropertiesChanged when IV Index changes tools/mesh-cfgclient: get/set IV index tools/mesh-cfgclient: add list of blacklisted addresses mesh/net.c | 2 + mesh/node.c | 9 +++ mesh/node.h | 1 + tools/mesh-cfgclient.c | 41 +++++++++- tools/mesh/mesh-db.c | 170 +++++++++++++++++++++++++++++++++++++++++ tools/mesh/mesh-db.h | 5 +- tools/mesh/remote.c | 110 +++++++++++++++++++++++--- tools/mesh/remote.h | 3 + 8 files changed, 329 insertions(+), 12 deletions(-) -- 2.26.2