From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] Unlink existing unused sockets at start up Date: Thu, 17 Dec 2015 19:59:06 +0800 Message-ID: <20151217115906.GE29571@yliu-dev.sh.intel.com> References: <1450326062-105574-1-git-send-email-zhihong.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, i.maximets@samsung.com, s.dyasly@samsung.com To: Zhihong Wang Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 2CC9F5A86 for ; Thu, 17 Dec 2015 12:58:44 +0100 (CET) Content-Disposition: inline In-Reply-To: <1450326062-105574-1-git-send-email-zhihong.wang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Dec 16, 2015 at 11:21:02PM -0500, Zhihong Wang wrote: > This patch unlinks existing unused sockets (which cause new bindings to fail, e.g. vHost PMD) to ensure smooth startup. > In a lot of cases DPDK applications are terminated abnormally without proper resource release. Therefore, DPDK libs should be able to deal with unclean boot environment. No, I thought we have made it clear, that a library should not remove a file given by the application, the application should. (BTW, please wrap your commit log in 80 chars). --yliu