diff options
| author | Daniel Jurgens <[email protected]> | 2017-11-29 18:10:39 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2017-12-01 19:21:28 +0000 |
| commit | 315d160c5a4e034a576a13aa21e7235d5c9ec609 (patch) | |
| tree | 56706edba26991ea0522a77baef77b9eab64f7dc /tools/perf/scripts/python/check-perf-trace.py | |
| parent | RDMA/hns: Get rid of page operation after dma_alloc_coherent (diff) | |
| download | kernel-315d160c5a4e034a576a13aa21e7235d5c9ec609.tar.gz kernel-315d160c5a4e034a576a13aa21e7235d5c9ec609.zip | |
IB/core: Only enforce security for InfiniBand
For now the only LSM security enforcement mechanism available is
specific to InfiniBand. Bypass enforcement for non-IB link types.
This fixes a regression where modify_qp fails for iWARP because
querying the PKEY returns -EINVAL.
Cc: Paul Moore <[email protected]>
Cc: Don Dutile <[email protected]>
Cc: [email protected]
Reported-by: Potnuri Bharat Teja <[email protected]>
Fixes: d291f1a65232("IB/core: Enforce PKey security on QPs")
Fixes: 47a2b338fe63("IB/core: Enforce security on management datagrams")
Signed-off-by: Daniel Jurgens <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Tested-by: Potnuri Bharat Teja <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
