stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "IB/hfi1: Revert egress pkey check enforcement" has been added to the 4.13-stable tree
@ 2017-09-20  9:20 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-09-20  9:20 UTC (permalink / raw)
  To: alex.estrin, dennis.dalessandro, dledford, gregkh,
	mike.marciniszyn
  Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    IB/hfi1: Revert egress pkey check enforcement

to the 4.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     ib-hfi1-revert-egress-pkey-check-enforcement.patch
and it can be found in the queue-4.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From ecdb19f4b513033e6f2c4326cd5b81e04393e5e1 Mon Sep 17 00:00:00 2001
From: Alex Estrin <alex.estrin@intel.com>
Date: Fri, 4 Aug 2017 13:52:13 -0700
Subject: IB/hfi1: Revert egress pkey check enforcement

From: Alex Estrin <alex.estrin@intel.com>

commit ecdb19f4b513033e6f2c4326cd5b81e04393e5e1 upstream.

Current code has some serious flaws. Disarm the flag
pending an appropriate patch.

Fixes: 53526500f301 ("IB/hfi1: Permanently enable P_Key checking in HFI")
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/infiniband/hw/hfi1/init.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/infiniband/hw/hfi1/init.c
+++ b/drivers/infiniband/hw/hfi1/init.c
@@ -483,7 +483,6 @@ void hfi1_init_pportdata(struct pci_dev
 
 	ppd->pkeys[default_pkey_idx] = DEFAULT_P_KEY;
 	ppd->part_enforce |= HFI1_PART_ENFORCE_IN;
-	ppd->part_enforce |= HFI1_PART_ENFORCE_OUT;
 
 	if (loopback) {
 		hfi1_early_err(&pdev->dev,


Patches currently in stable-queue which might be from alex.estrin@intel.com are

queue-4.13/ib-hfi1-revert-egress-pkey-check-enforcement.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-20  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-20  9:20 Patch "IB/hfi1: Revert egress pkey check enforcement" has been added to the 4.13-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).