From patchwork Sat Feb 2 09:09:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 10794211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 351AA91E for ; Sat, 2 Feb 2019 09:09:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 177FF325D6 for ; Sat, 2 Feb 2019 09:09:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B7B7325DC; Sat, 2 Feb 2019 09:09:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90590325D6 for ; Sat, 2 Feb 2019 09:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726412AbfBBJJx (ORCPT ); Sat, 2 Feb 2019 04:09:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:51378 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725857AbfBBJJw (ORCPT ); Sat, 2 Feb 2019 04:09:52 -0500 Received: from localhost (unknown [77.138.135.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3CE722146E; Sat, 2 Feb 2019 09:09:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549098592; bh=onIHCCtQ6WUCVtkRjoAn0u5J2IXcpkiVbkKkAUIYko8=; h=From:To:Cc:Subject:Date:From; b=eraYbQFv5fUFGRNaJCxUTYNvxz2dhiwfmxK5Z2yG+C3Y3uyAAFhf/MDGkg3dOC84a PICfjPLynmhYQLUGHBhuIle4MPr1dliliMYZIRaCQ2oRxnrWYNQb2NFVzJST3HdqMa wzQ1mR2pc/grxpP+JnjGl1KxeLPhkFWPcnz8J3ho= From: Leon Romanovsky To: Doug Ledford , Jason Gunthorpe Cc: Leon Romanovsky , RDMA mailing list , Daniel Jurgens , Parav Pandit , selinux@vger.kernel.org, paul@paul-moore.com, ddutile@redhat.com Subject: [PATCH rdma-rc v1 0/4] IB selinux related fixes Date: Sat, 2 Feb 2019 11:09:41 +0200 Message-Id: <20190202090945.4106-1-leon@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Leon Romanovsky 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