aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorGravatar Daniel Jurgens <danielj@mellanox.com> 2017-11-29 20:10:39 +0200
committerGravatar Jason Gunthorpe <jgg@mellanox.com> 2017-12-01 12:21:28 -0700
commit315d160c5a4e034a576a13aa21e7235d5c9ec609 (patch)
tree56706edba26991ea0522a77baef77b9eab64f7dc /ipc
parentRDMA/hns: Get rid of page operation after dma_alloc_coherent (diff)
downloadlinux-315d160c5a4e034a576a13aa21e7235d5c9ec609.tar.gz
linux-315d160c5a4e034a576a13aa21e7235d5c9ec609.tar.bz2
linux-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 <paul@paul-moore.com> Cc: Don Dutile <ddutile@redhat.com> Cc: stable@vger.kernel.org Reported-by: Potnuri Bharat Teja <bharat@chelsio.com> Fixes: d291f1a65232("IB/core: Enforce PKey security on QPs") Fixes: 47a2b338fe63("IB/core: Enforce security on management datagrams") Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Tested-by: Potnuri Bharat Teja <bharat@chelsio.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions