From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 17 Dec 2015 03:58:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,440,1444719600"; d="scan'208";a="619522598" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.66.49]) by FMSMGA003.fm.intel.com with ESMTP; 17 Dec 2015 03:58:42 -0800 Date: Thu, 17 Dec 2015 19:59:06 +0800 From: Yuanhan Liu To: Zhihong Wang 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 Content-Disposition: inline In-Reply-To: <1450326062-105574-1-git-send-email-zhihong.wang@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: dev@dpdk.org, i.maximets@samsung.com, s.dyasly@samsung.com Subject: Re: [dpdk-dev] [PATCH] Unlink existing unused sockets at start up 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: Thu, 17 Dec 2015 11:58:44 -0000 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