On Tue, Nov 21, 2017 at 12:26:17PM +0200, Leon Romanovsky wrote: > From: Daniel Jurgens <danielj@xxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxx> > Cc: Don Dutile <ddutile@xxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Reported-by: Potnuri Bharat Teja <bharat@xxxxxxxxxxx> > Fixes: d291f1a65232("IB/core: Enforce PKey security on QPs") > Fixes: 47a2b338fe63("IB/core: Enforce security on management datagrams") > Signed-off-by: Daniel Jurgens <danielj@xxxxxxxxxxxx> > Reviewed-by: Parav Pandit <parav@xxxxxxxxxxxx> > Tested-by: Potnuri Bharat Teja <bharat@xxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> > --- > drivers/infiniband/core/security.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Please drop this patch, I mistakenly cut it. It doesn't contain the whole fix now, I'll respin. Thanks
Attachment:
signature.asc
Description: PGP signature