From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4E0E121E8799E for ; Fri, 15 Sep 2017 02:37:43 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AD5A782047 for ; Fri, 15 Sep 2017 15:13:21 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8D84B82046 for ; Fri, 15 Sep 2017 15:13:21 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS for ; Fri, 15 Sep 2017 15:13:21 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Fri, 15 Sep 2017 15:10:40 +0530 From: Karunakar P To: "'edk2-devel@lists.01.org'" Thread-Topic: RE: Failed to clear configuration in Ip4Config2 Protocol Thread-Index: AdMskj7BWl5bVzVoSqGYPpbI86DnSAAAiyAgAFyJIZA= Date: Fri, 15 Sep 2017 09:40:39 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.128] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.1.0.1062-23330.006 X-TM-AS-Result: No--18.335-5.0-31-10 X-imss-scan-details: No--18.335-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.1.1062-23330.006 X-TMASE-Result: 10--18.334600-10.000000 X-TMASE-MatchedRID: dL10VBB8yodjDV//SvkH3v3NPiyUzKzdNNuh+5zmS68zFWOYrWw6Azc/ pey/d/oNsOgv3K25H2n1y8lEz+SzBIWDz7mPxd0pnW/laudJFeF5w3WsOyy+8Mj0QMA/92m2oud 5cX9BENOvX4dw8lrHyzNiitKvMnyb1RbX+21X57PJ5W6OZe5hhaKPfaUlMVJk31GU/N5W5BA/oL AuGs1KsL0keN6/oXWah3OJcK8eYUQYcyu6gJU0i/0peXGEEBlvg3XZcphu4ktK0WT/zXAgkos6x aVh0wb3BHVm0xh58VY8LuP+bOkMWt3jF2fVcPdzDB+ErBr0bANar2Wff4KSIaUXswX/xrISOe5B YzkyOSUX8KBmsUzf6qdCIx24gQ82oXHg+KoW2Ua5YHZkCjBFPdAAxzBVg/FDnp9KgXcu34w8wCu 6tQPiIrRISFyNHwgTAHdXTsp1LAkB3ychRtKdzHpruoeiWYa5mRKFhwukYf0Ev5X2UPfz0T+4Ay 4hLf9X8KbwGrmD2pGEsRBZ8iR36m4RB7pIS+fBuIwLnB3Aqp0N5rzymY/8/kIjuk0uJKN95GpAD FtYP37i8zVgXoAltk77e4Y1xq/33FYX00nSXLg7AFczfjr/7FxtNQfb7LTgmjOkKDarzshj0etB Bmy0P4Bnc94/DtxbmCYoaRqM7+4= X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0,39:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: Re: Failed to clear configuration in Ip4Config2 Protocol X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 09:37:44 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, Could you please anyone provide comment on this? Thank you, karunakar From: Karunakar P Sent: Wednesday, September 13, 2017 7:04 PM To: 'edk2-devel@lists.01.org' Subject: RE: RE: Failed to clear configuration in Ip4Config2 Protocol Hello All, I was trying to verify the feature "Allow SetData to clear configuration in= Ip4Config2/Ip6Config Protocol" , But SetData returns with Write Protected = Error Status [Steps followed] 1. I've taken the above feature changes. 2. I've a UEFI test Application which call to SetData with DataSize i= s 0 and Data is NULL Status =3D Ip4Cfg2->SetData ( Ip4Cfg2, Ip4Config2DataTypeManualAddress, 0, 0 ); 3. But SetData returns with Write Protected Error Status // St= atus =3D Write Protected 4. Faced the same error for setting Gateway & DnsServer Guess the return is happening from Ip4Config2SetManualAddress() -> ... if (Instance->Policy !=3D Ip4Config2PolicyStatic) { return EFI_WRITE_PROTECTED; } ... Could you please help on this whether am I missing anything or anything els= e need to be done to resolve this? Thanks, karunakar From: Karunakar P Sent: Wednesday, September 13, 2017 7:00 PM To: edk2-devel@lists.01.org Subject: RE: Failed to clear configuration in Ip4Config2 Protocol Hello All, I was trying to verify the feature "Allow SetData to clear configuration in= Ip4Config2/Ip6Config Protocol" , But SetData returns with Write Protected = Error Status [Steps followed] 1. I've taken the above feature changes. 2. I've a UEFI test Application which call to SetData with DataSize i= s 0 and Data is NULL Status =3D Ip4Cfg2->SetData ( Ip4Cfg2, Ip4Config2DataTypeManualAddress, 0, 0 ); 3. But SetData returns with Write Protected Error Status // St= atus =3D Write Protected 4. Faced the same error for setting Gateway &DnsServer Guess the error is happening from Thanks, karunakar