From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5DFA841C30; Tue, 7 Feb 2023 17:24:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45E8A40A84; Tue, 7 Feb 2023 17:24:56 +0100 (CET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id A25E240151 for ; Tue, 7 Feb 2023 17:24:55 +0100 (CET) Received: by mail-pj1-f46.google.com with SMTP id e10-20020a17090a630a00b0022bedd66e6dso19140698pjj.1 for ; Tue, 07 Feb 2023 08:24:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ozxSU0xtxdYzDUNrkJ67oCc50nA9erlCgx+ErlZeTNc=; b=we++RxLcLx0P4iuOqDCbWNRnvLzOz3W3+D0YABFxrvHmnVXwKDuVSz0hcuxIsOHj39 Gi7OOwNaKMsHMuSahUam2r4/U4xUc3arPG2khFvKeVtOwlNXiL20+WjwdJhlqKBFEnsH lKkXFt/ohyv5jLzVtC53QIbSSzoHLkKIHG+Xr7Zhu0YwZ+Yl8sP7ORpF/BgsSvVyh2xh 91ExwPwMNUMuIpG+NSIHjVwIDBiOzRzI/ZrLLKGN1/4AbdeJvoPv6K+K9TKWLgU44Dy4 wykzJDA9ejbmG8Iff+XLulj+qCVq9bkkPfVnqyzrSBSyQLYQhfOY9uhNgqwQlbdNUkE8 YKTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ozxSU0xtxdYzDUNrkJ67oCc50nA9erlCgx+ErlZeTNc=; b=tBu/eVRnOaoDztJ5+kwn6pPvpIhsNKDYvuZMvz7MFwOZePSfFqmcSkvkpeMdwHf0qf 7+RDSK6quzJjEnSJEO70tcjAvK25pfYE8otzegA0j8IZVkcsjP4QhRSz4dwfY39LW4r9 to/SGkSeUaZ6YrsVqWf2cTHHPr7+A87Op+l07fH82tgw7zm7cFpECExIJ12/poH7ZT7o nH7tS/UmDU+HG/0amXbitS5Phw8adxApEENdZbcTSIHYhGch0UOZzAogPIjYiqX/IuRd ItX9YATt2DW+eBfvhK2Ol1ZGR5jqNLiNE/szVnYrAGJMj3PhgONFu3VzJ+ax+d/tiSsf TFVg== X-Gm-Message-State: AO0yUKUQYxteP08QUqBnRrDWh+2o09JJG8rA5GRgn+n6blOd1dPBz3TN A59NIHwKjxBDHbrjR9JkCcRJVQ== X-Google-Smtp-Source: AK7set8NAFYXqvOjBhMdORb5vb7cYMhWcUVDvQ1mWjxUrR7Jdyl8ZDTjT8oJmmAqmT5c3IWsESd5+Q== X-Received: by 2002:a17:90a:194b:b0:22c:9078:17f with SMTP id 11-20020a17090a194b00b0022c9078017fmr4594347pjh.48.1675787094821; Tue, 07 Feb 2023 08:24:54 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id mv10-20020a17090b198a00b00229f74a4323sm8227259pjb.34.2023.02.07.08.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 08:24:54 -0800 (PST) Date: Tue, 7 Feb 2023 08:24:52 -0800 From: Stephen Hemminger To: Volodymyr Fialko Cc: , Reshma Pattan , , Subject: Re: [PATCH 1/2] reorder: invalidate buf from ready queue in drain Message-ID: <20230207082452.0efd1d22@hermes.local> In-Reply-To: <20230107151939.2540148-2-vfialko@marvell.com> References: <20230107151939.2540148-1-vfialko@marvell.com> <20230107151939.2540148-2-vfialko@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, 7 Jan 2023 16:19:38 +0100 Volodymyr Fialko wrote: > Set drained buffers from ready queue to NULL, since their ownership > returned to user. Otherwise it's possible that both user and library > will attempt to free the packet. > > Signed-off-by: Volodymyr Fialko Looks correct to me. Acked-by: Stephen Hemminger