From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.7392.1585656357219868203 for ; Tue, 31 Mar 2020 05:05:57 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: siyuan.fu@intel.com) IronPort-SDR: xzNuHZpfkVUheVoSycPzpVgfFxAz3pVTQSe2LWud1tDZZvXm9hp7KUn37pMCZc/kduXsC8zwUe 4arHQyQK+rhw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2020 05:05:56 -0700 IronPort-SDR: WokqlODeG2y4KkMKnzQFopasepc9ug4PsLCG62JegE5Di+iuovGUgc9Zp805vmP+urdAcf6TnJ jHyZvX7eMVmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,327,1580803200"; d="scan'208";a="328062029" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 31 Mar 2020 05:05:56 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 31 Mar 2020 05:05:55 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.146]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.7]) with mapi id 14.03.0439.000; Tue, 31 Mar 2020 20:05:52 +0800 From: "Siyuan, Fu" To: Laszlo Ersek , edk2-devel-groups-io CC: "Wu, Jiaxin" , Maciej Rabeda , =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= Subject: Re: [PATCH] NetworkPkg/UefiPxeBcDxe: handle competing DHCP servers (more) gracefully Thread-Topic: [PATCH] NetworkPkg/UefiPxeBcDxe: handle competing DHCP servers (more) gracefully Thread-Index: AQHWBvYJJAtIFzstfEKpauJmcHTWQqhim3Nw Date: Tue, 31 Mar 2020 12:05:51 +0000 Message-ID: References: <20200331004749.16128-1-lersek@redhat.com> In-Reply-To: <20200331004749.16128-1-lersek@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: siyuan.fu@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UmV2aWV3ZWQtYnk6IFNpeXVhbiBGdSA8c2l5dWFuLmZ1QGludGVsLmNvbT4NCg0KPiAtLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXN6bG8gRXJzZWsgPGxlcnNla0ByZWRoYXQu Y29tPg0KPiBTZW50OiAyMDIw5bm0M+aciDMx5pelIDg6NDgNCj4gVG86IGVkazItZGV2ZWwtZ3Jv dXBzLWlvIDxkZXZlbEBlZGsyLmdyb3Vwcy5pbz4NCj4gQ2M6IFd1LCBKaWF4aW4gPGppYXhpbi53 dUBpbnRlbC5jb20+OyBNYWNpZWogUmFiZWRhDQo+IDxtYWNpZWoucmFiZWRhQGxpbnV4LmludGVs LmNvbT47IFBoaWxpcHBlIE1hdGhpZXUtRGF1ZMOpDQo+IDxwaGlsbWRAcmVkaGF0LmNvbT47IEZ1 LCBTaXl1YW4gPHNpeXVhbi5mdUBpbnRlbC5jb20+DQo+IFN1YmplY3Q6IFtQQVRDSF0gTmV0d29y a1BrZy9VZWZpUHhlQmNEeGU6IGhhbmRsZSBjb21wZXRpbmcgREhDUCBzZXJ2ZXJzDQo+IChtb3Jl KSBncmFjZWZ1bGx5DQo+IA0KPiBXaGVuIERIQ1AgaXMgbWlzY29uZmlndXJlZCBvbiBhIG5ldHdv cmsgc2VnbWVudCwgc3VjaCB0aGF0IHR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