public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: "Subramanian, Sriram" <sriram-s@hpe.com>,
	Wang Fan <fan.wang@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: Ye Ting <ting.ye@intel.com>, Fu Siyuan <siyuan.fu@intel.com>,
	Wu Jiaxin <jiaxin.wu@intel.com>,
	"Subramanian@mx0b-002e3701.pphosted.com"
	<Subramanian@mx0b-002e3701.pphosted.com>
Subject: Re: [Patch v2] NetworkPkg: UefiPxeBcDxe: Add EXCLUSIVE attribute when opening SNP protocol installed by PXE.
Date: Tue, 18 Sep 2018 12:17:59 +0200	[thread overview]
Message-ID: <ec2b3259-94f6-c548-4087-47d6d81144d4@redhat.com> (raw)
In-Reply-To: <DF4PR8401MB101998781CCDA7233193C41880190@DF4PR8401MB1019.NAMPRD84.PROD.OUTLOOK.COM>

On 09/14/18 10:50, Subramanian, Sriram wrote:
> Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
> 
> -----Original Message-----
> From: Wang Fan [mailto:fan.wang@intel.com] 
> Sent: Friday, September 14, 2018 1:54 PM
> To: edk2-devel@lists.01.org
> Cc: Subramanian@mx0b-002e3701.pphosted.com; Subramanian, Sriram <sriram-s@hpe.com>; Ye Ting <ting.ye@intel.com>; Fu Siyuan <siyuan.fu@intel.com>; Wu Jiaxin <jiaxin.wu@intel.com>
> Subject: [Patch v2] NetworkPkg: UefiPxeBcDxe: Add EXCLUSIVE attribute when opening SNP protocol installed by PXE.
> 
> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1152
> 
> v2: Sync the same logic to Ipv6 and update code comments.
> 
> The PXE driver installs a SNP and open this SNP with attribute BY_DRIVER
> to avoid it being opened by MNP driver, this SNP is also expected not to
> be opened by other drivers with EXCLUSIVE attribute. In some cases, other
> drivers may happen to do this by error, and thus cause a system crash.
> This patch adds EXCLUSIVE attribute when opening SNP in PXE driver, and
> will reject all OpenProtocol requests by EXCLUSIVE.
> 
> Cc: Subramanian, Sriram <sriram-s@hpe.com>
> Cc: Ye Ting <ting.ye@intel.com>
> Cc: Fu Siyuan <siyuan.fu@intel.com>
> Cc: Wu Jiaxin <jiaxin.wu@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Wang Fan <fan.wang@intel.com>
> ---
>  NetworkPkg/UefiPxeBcDxe/PxeBcDriver.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Either my edk2-devel subscription is breaking down, or our discipline
regarding commit pushing is down the drain, recently.

This patch has been pushed as commit cde5a72d365e. Problems with that
commit:

(1) The git authorship is marked as "edk2-devel-bounces@lists.01.org".
That's *wrong*. This patch was authored by Wang Fan <fan.wang@intel.com>.

(2) The commit lists Siyuan and Jiaxin as having given their reviews. I
don't see their *v2* reviews anywhere on the list. I see their *v1*
reviews, but the patch was changed in v2. Wang Fan was correct not to
carry forward the v1 reviews into the v2 posting. If the v2 posting was
fine, then Siyuan and Jiaxin should have confirmed that (with R-b's) on
the list, before pushing the commit.

Another process failure that I'm witnessing is that people forget to
close BZs once the corresponding fixes are upstream. Sorry but that just
makes a joke out of bug tracking.

Come on, guys. We can do better than this. Show some discipline and
dedication to the process, please. The process is not self-serving; it's
in place to promote mutual understanding.

Laszlo


  reply	other threads:[~2018-09-18 10:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-14  8:24 [Patch v2] NetworkPkg: UefiPxeBcDxe: Add EXCLUSIVE attribute when opening SNP protocol installed by PXE Wang Fan
2018-09-14  8:50 ` Subramanian, Sriram
2018-09-18 10:17   ` Laszlo Ersek [this message]
2018-09-19  1:31     ` Wu, Jiaxin
2018-09-19  1:44       ` Wu, Jiaxin
2018-09-19  1:46         ` Wang, Fan
2018-09-19 11:19       ` Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ec2b3259-94f6-c548-4087-47d6d81144d4@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox