From patchwork Tue Jul 31 13:46:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Thumshirn X-Patchwork-Id: 10550811 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 43CE2157D for ; Tue, 31 Jul 2018 13:48:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 330DC2ADF7 for ; Tue, 31 Jul 2018 13:48:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 276492ADFF; Tue, 31 Jul 2018 13:48:37 +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=-7.9 required=2.0 tests=BAYES_00,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 D5F862ADF7 for ; Tue, 31 Jul 2018 13:48:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732382AbeGaP2h (ORCPT ); Tue, 31 Jul 2018 11:28:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:41912 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732379AbeGaP2h (ORCPT ); Tue, 31 Jul 2018 11:28:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1D940AD4C; Tue, 31 Jul 2018 13:48:12 +0000 (UTC) From: Johannes Thumshirn To: "Martin K . Petersen" Cc: Linux Kernel Mailinglist , Linux SCSI Mailinglist , ard , Johannes Thumshirn Subject: [PATCH 0/3] scsi: fcoe: memleak fixes Date: Tue, 31 Jul 2018 15:46:00 +0200 Message-Id: <20180731134603.20089-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Ard reported a memory leak in FCoE at [1] and this patch set contains the fix for this leak, a second leak I discovered while hunting the first leak and a use-after-free in FCoE's debugging. [1] https://marc.info/?l=linux-scsi&m=153261165228133&w=2 Johannes Thumshirn (3): fcoe: fix use-after-free in fcoe_ctlr_els_send scsi: fcoe: drop frames in ELS LOGO error path scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO drivers/scsi/fcoe/fcoe_ctlr.c | 6 +++--- drivers/scsi/libfc/fc_rport.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-)