mbox series

[rdma-rc,v1,0/4] IB selinux related fixes

Message ID 20190202090945.4106-1-leon@kernel.org (mailing list archive)
Headers show
Series IB selinux related fixes | expand

Message

Leon Romanovsky Feb. 2, 2019, 9:09 a.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

Hi,

This is second version of previously sent patch "IB/core: Don't register
MAD agents for LSM notifications", due to the fact that we found extra
things to fix during the review, I grouped that patch together with
other fixes in that area.

Thanks

Daniel Jurgens (4):
  IB/core: Unregister notifier before freeing MAD security
  IB/core: Fix potential memory leak while creating MAD agents
  IB/core: Eliminate a hole in MAD agent struct
  IB/core: Don't register each MAD agent for LSM notifier

 drivers/infiniband/core/core_priv.h |  5 +++
 drivers/infiniband/core/device.c    |  1 +
 drivers/infiniband/core/security.c  | 57 +++++++++++++++++------------
 include/rdma/ib_mad.h               |  5 +--
 4 files changed, 42 insertions(+), 26 deletions(-)

--
2.19.1

Comments

Jason Gunthorpe Feb. 8, 2019, 11:49 p.m. UTC | #1
On Sat, Feb 02, 2019 at 11:09:41AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
> 
> Hi,
> 
> This is second version of previously sent patch "IB/core: Don't register
> MAD agents for LSM notifications", due to the fact that we found extra
> things to fix during the review, I grouped that patch together with
> other fixes in that area.
> 
> Thanks
> 
> Daniel Jurgens (4):
>   IB/core: Unregister notifier before freeing MAD security
>   IB/core: Fix potential memory leak while creating MAD agents
>   IB/core: Eliminate a hole in MAD agent struct
>   IB/core: Don't register each MAD agent for LSM notifier

Applied to for-next

Thanks,
Jason