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 AA9424614D for ; Thu, 30 Jan 2025 23:19:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9D2EC40E54; Thu, 30 Jan 2025 23:19:11 +0100 (CET) Received: from mail-lf1-f97.google.com (mail-lf1-f97.google.com [209.85.167.97]) by mails.dpdk.org (Postfix) with ESMTP id 6EB3F40DCE for ; Thu, 30 Jan 2025 23:19:08 +0100 (CET) Received: by mail-lf1-f97.google.com with SMTP id 2adb3069b0e04-53e3778bffdso1427632e87.0 for ; Thu, 30 Jan 2025 14:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1738275548; x=1738880348; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NhorAvam/boCtfUQ64EFlkxq2P8yeQUNXouTbrDrpAA=; b=FYdqVj6xa929k4bWsrSQLPP64woTSnNLLT/KRCk9QY7+anmvUIv4nYbsE58v6ZRWBo FD+j+u+rvmOVu1SEpD85FgxB1KKO+NEsoUXJKWaj5isE0RP21q/MKJLx0YbVM+i6rw9S S0RN12BiJc8pY+Skt+lDDvEpZ0PwCev3d62rd4Vw5ZTIk+lypTmzg5RdsHEy+GU7lVP7 BDuefS8cJjPVhLVCSjH+r5P9+AaKUFrZ1zdFXlxTBvsOsJtXA12kq4GdjhExNW1nid7g lWhGNLrQ163RuqSlFdCuxBrN+sDer+2c8JQHuzSVafVUgDTzuj33ryET2LX39FOiEHLg aWSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738275548; x=1738880348; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state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05:6512:118b:b0:543:bb21:4256 with SMTP id 2adb3069b0e04-543e4c02dc0mr2299164e87.25.1738275547657; Thu, 30 Jan 2025 14:19:07 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id 2adb3069b0e04-543ebeb0459sm79677e87.89.2025.01.30.14.19.07; Thu, 30 Jan 2025 14:19:07 -0800 (PST) X-Relaying-Domain: 6wind.com Received: from localhost (rainbow.dev.6wind.com [10.17.1.165]) by smtpservice.6wind.com (Postfix) with ESMTP id 45750194F4; Thu, 30 Jan 2025 23:19:07 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Ciara Loftus , Maryam Tahhan , Stephen Hemminger Subject: [PATCH v4 0/2] Fix use after free, and refactor af_xdp_tx_zc Date: Thu, 30 Jan 2025 23:18:51 +0100 Message-Id: <20250130221853.789366-1-ariel.otilibili@6wind.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20250116195640.68885-1-ariel.otilibili@6wind.com> References: <20250116195640.68885-1-ariel.otilibili@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hello, The series addresses Bugzilla ID 1440 in two steps; 1. Fix use after free. 2. Refactor af_xdp_tx_zc(). Thank you, --- v4 * redid the refactor (Maryam Tahhan) * marked the fix as acked (Stephen Hemminger) * updated .mailmap, my main e-mail is @6wind.com (https://inbox.dpdk.org/dev/20250115121152.487360-4-otilibil@eurecom.fr/) v3 (https://inbox.dpdk.org/dev/20250128231152.249497-1-ariel.otilibili@6wind.com/) * reworded commit message of patch-1 * addressed feedback of Maryam Tahhan v2 (https://inbox.dpdk.org/dev/20250116225151.188214-1-ariel.otilibili@6wind.com/) * reworded commit messages * addressed feedback from Stephen Hemminger v1 (http://inbox.dpdk.org/dev/20250116195640.68885-1-ariel.otilibili@6wind.com/) Ariel Otilibili (2): net/af_xdp: Fix use after free in af_xdp_tx_zc net/af_xdp: Refactor af_xdp_tx_zc .mailmap | 2 +- drivers/net/af_xdp/rte_eth_af_xdp.c | 64 ++++++++++++++++------------- 2 files changed, 36 insertions(+), 30 deletions(-) -- 2.30.2