Files
linux/drivers
Daniel Jurgens 74b6274f8c IB/core: Don't enforce PKey security on SMI MADs
commit 0fbe8f575b upstream.

Per the infiniband spec an SMI MAD can have any PKey. Checking the pkey
on SMI MADs is not necessary, and it seems that some older adapters
using the mthca driver don't follow the convention of using the default
PKey, resulting in false denials, or errors querying the PKey cache.

SMI MAD security is still enforced, only agents allowed to manage the
subnet are able to receive or send SMI MADs.

Reported-by: Chris Blake <chrisrblake93@gmail.com>
Fixes: 47a2b338fe ("IB/core: Enforce security on management datagrams")
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:10:20 +01:00
..
2017-12-14 09:53:13 +01:00
2017-11-03 09:02:30 -07:00
2017-08-29 13:46:35 +02:00
2017-12-17 15:08:00 +01:00
2017-11-03 09:02:30 -07:00
2017-12-17 15:07:56 +01:00