Message ID | 20200921162033.560497929@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <SRS0=lyed=C6=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35620C43469 for <stable@archiver.kernel.org>; Mon, 21 Sep 2020 16:31:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA4972399C for <stable@archiver.kernel.org>; Mon, 21 Sep 2020 16:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600705917; bh=sCSX/hkS/jZYAfpuxjYlfWkuz9jej7DqloL+c37m8TY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=uPG3pHhARjzfarX9iNw3hcjd8NDcWSxgkVPUlrifwUOgMNsetTFJeQB+ansXuBAnq fkVAAjF8y4+nOF2gh/Wn3hKL6jynurP3QtsK+0Xw1DAK5uOVsJuDt5x7J8tBy9USNh VvK6KZLpjFuAYbwTcRZdZ/nst2r1P6llVcB5Rz24= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727248AbgIUQbw (ORCPT <rfc822;stable@archiver.kernel.org>); Mon, 21 Sep 2020 12:31:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:56920 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728246AbgIUQbu (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 21 Sep 2020 12:31:50 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 59408235F9; Mon, 21 Sep 2020 16:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600705909; bh=sCSX/hkS/jZYAfpuxjYlfWkuz9jej7DqloL+c37m8TY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kf3URe3/mbPiCcvi/HCA0PO1z7CDV2AcHdP8eFg/ZhhGjb803q76eCT5EWRSg23UX MieuSt6nj8dcuSnAxAi5n95JI/EmKPy8q1cnF2Pz+5jW4ps2DZygaNUEXVh2JU6aNl pDxhc1ikObNHf4/cczcfKgK0MyGtaYuaG4HnK5lo= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Dinghao Liu <dinghao.liu@zju.edu.cn>, "David S. Miller" <davem@davemloft.net>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.4 04/46] firestream: Fix memleak in fs_open Date: Mon, 21 Sep 2020 18:27:20 +0200 Message-Id: <20200921162033.560497929@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921162033.346434578@linuxfoundation.org> References: <20200921162033.346434578@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 04b39d0da8681..70708608ab1e7 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c @@ -1009,6 +1009,7 @@ static int fs_open(struct atm_vcc *atm_vcc) error = make_rate (pcr, r, &tmc0, NULL); if (error) { kfree(tc); + kfree(vcc); return error; } }