summaryrefslogtreecommitdiff
path: root/sound/hda
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2017-12-24 14:54:58 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-02 22:31:04 +0300
commitaf0dc162f644335c50e2384ba485e4aa79b25e28 (patch)
tree13be96f4fb240a6005f27e89f8cee3370e55c24d /sound/hda
parent5f3b36984c7b15e9d6ace5fc836b3474a8bb4213 (diff)
downloadlinux-af0dc162f644335c50e2384ba485e4aa79b25e28.tar.xz
IB/core: Verify that QP is security enabled in create and destroy
commit 4a50881bbac309e6f0684816a180bc3c14e1485d upstream. The XRC target QP create flow sets up qp_sec only if there is an IB link with LSM security enabled. However, several other related uAPI entry points blindly follow the qp_sec NULL pointer, resulting in a possible oops. Check for NULL before using qp_sec. Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs") Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Signed-off-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions