From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 2DEEE1F7 for ; Fri, 19 Dec 2014 23:34:44 +0100 (CET) Received: by mail-wg0-f49.google.com with SMTP id n12so2466017wgh.22 for ; Fri, 19 Dec 2014 14:34:44 -0800 (PST) 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=X6pPr5nbqNsTaVm4s7/tiihJl5CHy0nv9qg12hsQJFM=; b=OBiq9Jj+2aVQauGEClmPUvaabxZndwWceExHPODE+wD7ovR5ruX+gnvVsApj/xv1cs NE1V9BfrRNoqRTXRNf2vHzy575Xs0JbBs9SyXhuxc/bJLomxrBBY+7JsVEomj1CZBJEn NQ/RG484KZYYQTFIPVf27pwf7Fmvxp0Q5eUp6e5TNPHSdri+zkxY25ClWhoxi7ydr3WY 0BWgFeNgHR4R7R1kZEzXZiYDpXyKRxX3Hnop/Bxyv0lc++uq3hKY6RxDLryyY7vwfqN6 fWgm9l6F6yUc9RcQmwZ8Ir9TEpTu851iGoDk3cgFnqBsxppaRE5BKUDQIwzkIOFAsyyJ Jbbg== X-Gm-Message-State: ALoCoQlv05qaODtxde/ESYKoWvqHL1psEG4+qLD4iAsNjVQjjNmV7Nm9hKMkqcw5UmOOsn9lGsVK X-Received: by 10.180.7.198 with SMTP id l6mr9955978wia.26.1419028484047; Fri, 19 Dec 2014 14:34:44 -0800 (PST) Received: from xps13.localnet (117.114.118.80.rev.sfr.net. [80.118.114.117]) by mx.google.com with ESMTPSA id eu15sm3882314wid.18.2014.12.19.14.34.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Dec 2014 14:34:43 -0800 (PST) From: Thomas Monjalon To: Daniel Mrzyglod Date: Fri, 19 Dec 2014 23:34:15 +0100 Message-ID: <1618970.AtCkeLl4N2@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <20141219193539.GA32707@tuxdriver.com> References: <1419001296-8300-1-git-send-email-danielx.t.mrzyglod@intel.com> <20141219193539.GA32707@tuxdriver.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] af_packet: fix possible memory leak 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, 19 Dec 2014 22:34:44 -0000 > > In rte_pmd_init_internals, we are mapping memory but not released > > if error occure it could produce memoryleak. > > Add unmmap function to release memory. > > > > Signed-off-by: Daniel Mrzyglod > > Acked-by: John W. Linville Applied Thanks -- Thomas