From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id C66795A86 for ; Fri, 27 Mar 2015 12:10:43 +0100 (CET) Received: by wibg7 with SMTP id g7so22089785wib.1 for ; Fri, 27 Mar 2015 04:10:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=N9cODFlte08Xf9gdqukTH9D1wOfLslN2twO2AjSyNCY=; b=ihW33uyLqoeRGHIMiQRzkxRzZ6P/0ROdtsdhGekCrIl40HtbBjZn4G4sSlipjCT81s mUJfpdwAPImH0tL8hT51g4e6CuibyF47+rCVWW/nnNKNOrTETvcNrSDj2Gsz/UlbgYIb y8elzdrVW9pQi1IiSZ4IR03LhYBzjw/eKEs7rO5jeuHR6YPcQTYMTpcPLqBW7zS8gCe5 eNzD/O1gcfwDHRUEYy0YVEvsR8LsfgxlJaWN7Z3zQyRe3TAxqzeAyNoQwNs2wEoqsCXP w5CJhQmX7HP8wWcGaMLX3L6DoaSxqdGFkMHVJdQTxFrb6zSBrBuUqsPehuS5ATOAgehY Q17w== X-Gm-Message-State: ALoCoQlug15hixw5OJx9ap/AC9vVgNgbwJvT+m9DH3T+naScluZjetcpMmxvGi81TcpAoY1guYD+ X-Received: by 10.181.25.225 with SMTP id it1mr16198172wid.8.1427454643621; Fri, 27 Mar 2015 04:10:43 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id cf12sm2365296wjb.10.2015.03.27.04.10.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 04:10:42 -0700 (PDT) From: Thomas Monjalon To: Pavel Boldin Date: Fri, 27 Mar 2015 12:10:01 +0100 Message-ID: <15186425.TaoBqciV4t@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1427115225-14489-1-git-send-email-pboldin@mirantis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] vhost: Fix `struct file' leakage in `eventfd_link' X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 11:10:44 -0000 > > Due to increased `struct file's reference counter subsequent call > > to `filp_close' does not free the `struct file'. Prepend `fput' call > > to decrease the reference counter. > > > > Signed-off-by: Pavel Boldin > > Acked-by Huawei Xie Applied, thanks