From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id F3539532E for ; Fri, 22 Jul 2016 18:23:19 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id i5so73470083wmg.0 for ; Fri, 22 Jul 2016 09:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=PAZyKKMapNLedecYrsHFlqC2doQdlJeHrwyuBDu/B6k=; b=C/SXu2G4BkJvToIZRU9L750KUVx9pqwTJuQrU85fBVMjVH36Qqe4EPG2Mdx7Y8HhXP k0UO2tGCUfkkx49oIJqB+lm1H7UxBm9p+NVakd4JUWkG09oq/IWHRen/HK4apiitjOEr pnM02+AvIXFwSXqTN+cq6vnELF/cms9bFa//HjpegULrW/kU/i11fwaNfcJ3ieLVG+Le B8reKmnOsYON5p9q+tQyJ5Lz6nyNrUQH+YpZUmTgsGxr/DI5d7uHusfRk7piP98O52vD 4HIrbD36dU1T+ZqQVEA62YVTr+4EykdkIyh0JZou7BLko+MOXSnhGJjmZ0XwRoW1rOlz 4YPw== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=PAZyKKMapNLedecYrsHFlqC2doQdlJeHrwyuBDu/B6k=; b=As/IZfP4pTyNtjgPNJ7pjLopcG/vFCpfF/AvB8PI0zWDqUItHVeeslpznLeiWdaiv3 VzSSfdxoxfubO5L0bWF78jsYcdpCrh31InL0tzjkamTq+rpHPVlD6/DthY1yXERmt8uh B+pECNwB7ncHFI/mNhP6Lcg4DLRgq5cmKp6uhcUmtBN9/TbXbWhm7+fYvOBdfySobaM6 vaaosXBLA0EOnakKfk9sF8frcuYEgbjfow5ie18EXWzJxyM6DKxe3fAXYOWaPz2Ob9S+ pnA/2ThfUhNhL8JkB+ltoWJQ8yl4yZ/AzZEzlo7Ajx2/2CtdGTvOC8Hb5YqCAwbOR11u M4rg== X-Gm-Message-State: AEkoousexgbZNFl51/WRHeGoqLGrR9QAT60Eg+LUT13z3Vxg/8xHR8b892BtpJbFTaDH2rnb X-Received: by 10.195.11.104 with SMTP id eh8mr1730984wjd.128.1469204599838; Fri, 22 Jul 2016 09:23:19 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id bw9sm1646843wjc.33.2016.07.22.09.23.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jul 2016 09:23:19 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, helin.zhang@intel.com Date: Fri, 22 Jul 2016 18:23:18 +0200 Message-ID: <3254797.FHkUI1tsvS@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1469196122-168989-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1469192923-168564-1-git-send-email-pablo.de.lara.guarch@intel.com> <1469196122-168989-1-git-send-email-pablo.de.lara.guarch@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/2] Safe tailq element removal in i40e driver 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, 22 Jul 2016 16:23:20 -0000 2016-07-22 15:02, Pablo de Lara: > i40e driver was removing elements when iterating tailq lists > with TAILQ_FOREACH macro, which is not safe. > Instead, TAILQ_FOREACH_SAFE macro is used when removing/freeing > these elements, which is defined in DPDK if it is not already > defined (in FreeBSD). Applied, thanks