Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7978390ybl; Thu, 16 Jan 2020 08:39:46 -0800 (PST) X-Google-Smtp-Source: APXvYqzK5unnlDfI1XqssIfpQqQVqw80aadBElNL6eRfSTPURV6uFtqImnRvsYOYUD7DAvMuu/9g X-Received: by 2002:a05:6830:120b:: with SMTP id r11mr2493496otp.254.1579192786757; Thu, 16 Jan 2020 08:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579192786; cv=none; d=google.com; s=arc-20160816; b=utBE2aBvFxDuZvrspLPjY10a6Nq1FzJXe2dLFlqikcOvioZRs6NBZ3QreKb2rwSE1K TLtUxsfAPFeP388td3sWDHncmR0FsnFKAaoF/yb1V7T/9l52AObuBrylqeo44flpQ3nS SAnODmtYgqHr4tBGtgR2RiXXsu0HE9RkdOkoq9UEm4dTsVQ/a5YIYYu5TLhNId63YqkS MLGe19MEWyno2xn/0oRN6mUyD+OXKBXWsccbI6z6X0+kwn9zz5QCfX2dP9FnxDhXbR0i /Cs1TDg3fHwH7CLXz617vng1GKIdtSBy+95P+aELbZ52rlq+TgKSMNB8qTbMZjxRjO5h jkOQ== 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; bh=PVBpzdI8i9rFsyvrwZc/Wz5oZ8Xp66KPmv4dH1NZaa8=; b=EDRBMPuzgilZf5BihVPqp/0PqUdp3CmDXcxVcDSa/zYGo7GSFk++bdh+/YWVw32J7h RDXUsdsEFAGJ+bJi0QIrXuLhaefTUneJXnRIvG53KlfcE+2DqdEmx3ctiy6GIWEOVkFJ AdW1zYpRDpqPd2bkRTEi/mT5iH/TioK1DzCJ3go4BPvWgZBj0EKZ+E9nzzLJhw8NCacd tfYXiZCgbvVLEst7khgzp7e1Um6yDnLwJQ8fF68JADooJQ/ez3pWarVbjiCmVEeY8YN2 El3vQ7Q3ltuST+tBhmOxNDcjIdJwg17a/e+KkmojStaWsqKc/FXp4Zyeg33yf8GrrDrm 8dmg== 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 m4si13143673otr.122.2020.01.16.08.39.21; Thu, 16 Jan 2020 08:39:46 -0800 (PST) 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 S1726440AbgAPQjT (ORCPT + 99 others); Thu, 16 Jan 2020 11:39:19 -0500 Received: from mga14.intel.com ([192.55.52.115]:60306 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726151AbgAPQjS (ORCPT ); Thu, 16 Jan 2020 11:39:18 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2020 08:39:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,326,1574150400"; d="scan'208";a="373375248" Received: from bgi1-mobl2.amr.corp.intel.com ([10.255.90.67]) by orsmga004.jf.intel.com with ESMTP; 16 Jan 2020 08:39:18 -0800 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, inga.stotland@intel.com, michal.lowas-rzechonek@silvair.com, jakub.witowski@silvair.com Subject: [PATCH BlueZ v3 0/1] mesh: Sequence number related fixes Date: Thu, 16 Jan 2020 08:39:07 -0800 Message-Id: <20200116163908.18041-1-brian.gix@intel.com> X-Mailer: git-send-email 2.21.1 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 Version 3 - Adjusted comments for clarity, and adjusted the cache-write code to not rewrite the NVM storage if nothing has changed, to prevent NVM thrashing if we do reach the out-of-range boundary. I would like both Michal and Jakub's comments on these adjustments. Jakub Witowski (1): mesh: Sequence number related fixes mesh/crypto.c | 3 +++ mesh/mesh-config-json.c | 16 ++++++++++++++-- mesh/net.c | 9 +++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) -- 2.21.1