mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
IB/hfi1: Revert egress pkey check enforcement
Current code has some serious flaws. Disarm the flag
pending an appropriate patch.
Fixes: 53526500f3
("IB/hfi1: Permanently enable P_Key checking in HFI")
Cc: stable@vger.kernel.org
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>
This commit is contained in:
parent
e093111ddb
commit
ecdb19f4b5
1 changed files with 0 additions and 1 deletions
|
@ -519,7 +519,6 @@ void hfi1_init_pportdata(struct pci_dev *pdev, struct hfi1_pportdata *ppd,
|
||||||
|
|
||||||
ppd->pkeys[default_pkey_idx] = DEFAULT_P_KEY;
|
ppd->pkeys[default_pkey_idx] = DEFAULT_P_KEY;
|
||||||
ppd->part_enforce |= HFI1_PART_ENFORCE_IN;
|
ppd->part_enforce |= HFI1_PART_ENFORCE_IN;
|
||||||
ppd->part_enforce |= HFI1_PART_ENFORCE_OUT;
|
|
||||||
|
|
||||||
if (loopback) {
|
if (loopback) {
|
||||||
hfi1_early_err(&pdev->dev,
|
hfi1_early_err(&pdev->dev,
|
||||||
|
|
Loading…
Reference in a new issue