From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v2] net/failsafe: safer subdev iterator Date: Mon, 28 Aug 2017 13:30:20 +0100 Message-ID: <5c15047f-8776-c8cd-25cd-50ce03187c51@intel.com> References: <1502985129-7461-1-git-send-email-gaetan.rivet@6wind.com> <1503493530-22569-1-git-send-email-gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Gaetan Rivet , dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CA3FE1B53 for ; Mon, 28 Aug 2017 14:30:22 +0200 (CEST) In-Reply-To: <1503493530-22569-1-git-send-email-gaetan.rivet@6wind.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/23/2017 2:05 PM, Gaetan Rivet wrote: > The sub_device iterator macro should follow the general gist of the > tailq API for an easier understanding and safer use. > > Once the loop has finished, the iterator should be set to NULL. > If no sub_device was iterated upon, the iterator should still be NULL. > > Signed-off-by: Gaetan Rivet Applied to dpdk-next-net/master, thanks.