Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1903070ybb; Thu, 2 Apr 2020 09:23:49 -0700 (PDT) X-Google-Smtp-Source: APiQypJ8AQKzwvYtXwyVgyGG1bwKmSDqzvY75AmHQrfI5e8PLqUStiDbnusm+HbKvJkr0tCwci4D X-Received: by 2002:aca:496:: with SMTP id 144mr2951638oie.121.1585844629536; Thu, 02 Apr 2020 09:23:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1585844629; cv=pass; d=google.com; s=arc-20160816; b=A88eHQWi9S7wtfpwtLPqcvqDZ3/zuF5rd+JjoCVpg82wWvkMrF38H/9m4/ZfH++e9Y rOs7gS82fL+clQpho/2eN8FISDlQk7Rl7JHH+DjdiYgebJ5926YKrwd32EKD1rK9wSvx +Xk0ZfcYUTWq2lIVh3kx0IGkc9d2Mmow0Wq7bcGBJJTcKBbgP6t+geSsatt1gql6u8Wo cwXp37wnGcOYpJ2ktg6vmikC4rUKB8BsgLIprplAWF/oyDWqLTu8jrvq+pDDaCJrDRks kWejJmSS+4e0HMvyxHhXzhMWI5dVzTMyPsHqr+Pld3y4Z3SxUntYarZK0877UykdGHnL AYVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:ironport-sdr; bh=IzVq6cAG6YVpKF9e80xkYrQXBT8IOZANSplT4RD1UHE=; b=WjHcITAx8Q2L4F5DK/vmEaclK+aOVOEpxz+W/o/10ZzXVjBKrE6EJU4ivn2ya0O/Fd pVV12KkJhFdlpiBD6XJoeztV5OH47vxsIAGVLLS2ECY+l1dw1c5F31iSrxP+v2BkHAbk JLq2/EfoiSELUSGQz3yKZMPcEEVr+FEst3dcvWs+q/MoqbZT5ZK91bJ+h/K1U70cgCe6 cDQNkalme9MXmgI0ZCiZcf8RJmKct3oR3SJA/BC4ZRi7fa90dxqaLKNxdWDaxtX/fO1K IYItdWhUk4J2v3LlfTKfT0BMbOji/72p6xefXTy0IZr/ITZ1ouSXQ2cHkXDtAb9iqfPP XAgw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=X7k1ShCo; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 c29si2489841oos.39.2020.04.02.09.23.27; Thu, 02 Apr 2020 09:23:49 -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; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=X7k1ShCo; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.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 S2389689AbgDBQXV (ORCPT + 99 others); Thu, 2 Apr 2020 12:23:21 -0400 Received: from mga18.intel.com ([134.134.136.126]:54281 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389598AbgDBQXV (ORCPT ); Thu, 2 Apr 2020 12:23:21 -0400 IronPort-SDR: mwmiyjNBCM+ztr5Eyf8ox3GvvutMkI+FoIEIk0gD6E+Kdma7vl/wnYBAqvrmWDEzRL14sTFN7l l2L+Pv2YBP6A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Apr 2020 09:23:20 -0700 IronPort-SDR: sVHX1m/q7lB/qubxKp/k/65stqKJN2Pea9orDDoKdi1vRuU0vMtY32+VfIr3Xs4kclzg2YbgA8 8dafHuZASQfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,336,1580803200"; d="scan'208";a="284835400" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 02 Apr 2020 09:23:20 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Apr 2020 09:23:19 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 2 Apr 2020 09:23:19 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 2 Apr 2020 09:23:18 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.45) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Apr 2020 09:23:17 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j6sCDcP9ChpaqAQORAr+8jg5lqWVAESHzimiitBmaIxtceNP/sky47DIzW/IZWJBEyWdRmEluLryJkgSBJFuu7ymMBk7wCuVLF3fUmQs/HTbG/KOxvOHSfo171CiRmW900cz2Dqf+CKZFQWusUxZJsK3YuI3SZoxSm1K6L1REmsTGlh9vYvtdu5zgF1Cz08h8VDQOzh9s22gQQ8Ti6Pz66BCJbwnrl2YhHbdb83uxu+6DunrxO1wiN9fLAA3ALsjNv1JFlM3WQ1nHXAbQzowDN4TdtdBVm1Zs3ha5+3RNrUFCPzOrT/DlarnLVKBEHpR1BN7ZtU7QAEF6bXetj3U2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IzVq6cAG6YVpKF9e80xkYrQXBT8IOZANSplT4RD1UHE=; b=RxnddnPv5vz1V4G/ZvVG3r0TiEmzIq8MORWpV8WubiyB5mlM362PpYKjHggCGWr70VqbiV3BS1/iLgIzM6iN1mS5DOwab8BB09QVZT396wjPtucL8EzZ2aydbi8w4VWmbXVO3DH6abNyer2xgtN/T69H627F09kK7cAlxGVXlVf76hu2llgrJLOtEI7WZ1dx8UJm1dXfZjVwnMb/WmpAc7rttqntFwN4r6qLpTzpVxvgP5UjDVgQDBy5OFHjilJFqvML/KtRf96Y91cUAvk5LlWQcPkt0bSRTUvDBm6vKsWpD5NonU6RWJjKbUQOoLXisqV6k/vwiD0PPcULc5Wayw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IzVq6cAG6YVpKF9e80xkYrQXBT8IOZANSplT4RD1UHE=; b=X7k1ShCoZowCbZ6HxxwMTqT3Do3dddHxj328+preSVb01DHREsZujlFVJ4Zb4E1EjjDlLMKOB1vaHmKdosj4Nzsw9fv17rRzv3w9INNrjdds6HEXZY2N4fSNAZP7ZFFciWwHgmUSDljn8MdY5r5SvtBYicruR7KT1V4kJCLZ1wA= Received: from MW3PR11MB4539.namprd11.prod.outlook.com (2603:10b6:303:2f::13) by MW3PR11MB4731.namprd11.prod.outlook.com (2603:10b6:303:2f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.20; Thu, 2 Apr 2020 16:23:15 +0000 Received: from MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::39a4:4e3:2bb2:dd3a]) by MW3PR11MB4539.namprd11.prod.outlook.com ([fe80::39a4:4e3:2bb2:dd3a%3]) with mapi id 15.20.2856.019; Thu, 2 Apr 2020 16:23:15 +0000 From: "Gix, Brian" To: "anupam.r@samsung.com" CC: "semun.lee@samsung.com" , "dh79.pyun@samsung.com" , "nitin.j@samsung.com" , "linux-bluetooth@vger.kernel.org" , "amit.jaiswal@samsung.com" Subject: Re: [PATCH BlueZ] mesh: Add check for valid netkey index Thread-Topic: [PATCH BlueZ] mesh: Add check for valid netkey index Thread-Index: AQHWCQsD9XmerQcL8E6Qct/cmiZXzQ== Date: Thu, 2 Apr 2020 16:23:15 +0000 Message-ID: <3aa08d9a552ab02b0495b2a3970405ee082c85de.camel@intel.com> References: <9038a2fe4daafd90def2444d71c8914c6a64a688.camel@intel.com> <82b707704e1863c43748adce03057d2252fea59a.camel@intel.com> <1585740006-9569-1-git-send-email-anupam.r@samsung.com> <20200402140519epcms5p3608d451804bf03eefc34ce77b04ab0aa@epcms5p3> <20200402160037epcms5p5c94d5798e7611c11e795c51bc39b5a6b@epcms5p5> In-Reply-To: <20200402160037epcms5p5c94d5798e7611c11e795c51bc39b5a6b@epcms5p5> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.32.5 (3.32.5-1.fc30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian.gix@intel.com; x-originating-ip: [192.55.55.41] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 78206ba4-c60c-432a-fdc7-08d7d722258b x-ms-traffictypediagnostic: MW3PR11MB4731: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-forefront-prvs: 0361212EA8 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW3PR11MB4539.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10019020)(366004)(54906003)(81166006)(2906002)(8936002)(71200400001)(2616005)(81156014)(498600001)(6916009)(6512007)(64756008)(66446008)(91956017)(186003)(76116006)(6506007)(5660300002)(66556008)(36756003)(6486002)(26005)(8676002)(4326008)(66946007)(66476007)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 39hgTtQd5x/JPDrnn75yBvj8qUmWgaxo7wikXslYHQ/oGSZMRNoZTOT2Eg/5QAkqGSgDTSX3rWj6AXLvU+X5yEFLQOm0Q1cbIMGikfM6l3cOKGRn4xax7WMbxNS7fJg9VXuNO25utYV/uE0s/9uPlS0g1xlp4tuumEtZMbAFXdIFSj1l7/NkypjeHXg1Afa1XSVWOlwLgG7KX9FzQmy0ote11rcEySXezZKVHTLJLXs2LytJFuGHQZYqp6BzdTB5KJ4xxwzHurUjFXBbTnGseQ/3IiW1GH9c7wTnSzuQeR0+engkzTlYwE//R5+aushYRMLqwJUNTgGXQUNeVnI47dIaqC5Dr/hNyv543xIJBMQR9GO0WyklBgKQleTOXe5HFyWDMTiD3oi1MId6bE2tEXtgtwhMnwKH1M5fKYl9n14yZUJtJl4lJvi3+qedMPfa x-ms-exchange-antispam-messagedata: n1pVDYWW6K3+eTINtzgtScbbHuCtL06NYksqNtia5739dtslzu3mFLCn9toDZoPpVKKtljGgag7MgMzlMNL0FrxsP2Jcjr92aN9DmZAwco33ypRZdLTLhNx8ZxtBc03ov1OzXZF9/U77eTCNkrRLDA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <978512E34333FF4182A7763C97905217@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 78206ba4-c60c-432a-fdc7-08d7d722258b X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2020 16:23:15.4219 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 32//9cRd2exmlDJeoUfBQuilCSWtde1nyfKZT7/4siIPU9cwVETzkbDrUhKLJwRRLH/UuCBqz2ooWCfzHoAkew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4731 X-OriginatorOrg: intel.com Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org T24gVGh1LCAyMDIwLTA0LTAyIGF0IDIxOjMwICswNTMwLCBBbnVwYW0gUm95IHdyb3RlOg0KPiBI aSBCcmlhbiwNCj4gDQo+ID4gWW91IGFyZSBjb3JyZWN0IGluIGZpbmRpbmcgdGhpcyBidWcuLi4g IEl0IHdhcyBmb3VuZCBpbiBwYXJhbGVsbCBieSBQcnplbXlzxYJhdyBGaWVyZWssIGFuZCBzaG91 bGQgYmUgZml4ZWQNCj4gPiBhcw0KPiA+IG9mIHRoaXMgY29tbWl0Og0KPiA+IA0KPiA+ICAgY29t bWl0IDg0YTliNmNlNGI2NmEyYmEyMWNjZThlNGIwYzNjNmUwOTdhNTQ5M2ENCj4gPiAgIEF1dGhv cjog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