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 EE547461AF for ; Thu, 6 Feb 2025 21:47:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEB74410E4; Thu, 6 Feb 2025 21:47:03 +0100 (CET) Received: from mail-ed1-f100.google.com (mail-ed1-f100.google.com [209.85.208.100]) by mails.dpdk.org (Postfix) with ESMTP id 04B35410EA for ; Thu, 6 Feb 2025 21:47:02 +0100 (CET) Received: by mail-ed1-f100.google.com with SMTP id 4fb4d7f45d1cf-5dca4521b95so3009760a12.0 for ; Thu, 06 Feb 2025 12:47:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1738874821; x=1739479621; 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=D5lM02m3tmSG9GEpgzC97MSk/qi58ao08+HXZyO2EG4=; b=OqUks6hEiz9ojYKNPSi/uMSrewBOd2vdIAThjH8X/VMqAciQEr3e5zPBltoKXCP6RL rSYyHf73016mlw+hX4lagU1mHExm5JUgSeQCCX6nX3SI4jItUXUL60gkU0frZHIPJaw5 eL387wdv2Hl3w20K3VsIpkrgeGAE8XxmRPNr88uAgHzBPujmniTBBgGZEtIDznXQ5SPN WWIqNOPYZZ5/hCMuSwV1RoyEm9ruMkLb/g8EYzDWQhWhJhe16s5/J3OdrifOMRvK9Hnu z1CkTmfSK0ghTvmwwR+tkspLUZMn6R5Oh7i5/O1pC9XCVMCG4d2NXJQtGzh+5e1YUJ8u jGfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738874821; x=1739479621; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D5lM02m3tmSG9GEpgzC97MSk/qi58ao08+HXZyO2EG4=; b=MTaWgzhJGlmQldbrjdqY8pwzBHqvQQyW6rVW4q3fbsPWZSN9zXtI9k1MvLZPDiquHa 3J03iskAzRQAqDy5RXiMPn1KH2DfmMBELOUNcx8Hq652L6qmOTzxioVHdM9p5ytrB395 9RXIu2UIO+7NY1QSEWT5JX6zwqr8BBsmx4ORjK/hfuWxR2EgGuOHDoXNCFY1IH5184z9 FTIRb7P+muHfFPUKUTLGlTo5uUm3UfQQ4FYIoZmw65d1gHZMLAjHVi/fci5PCY1u/BWP mM1m7V/p6LmdjIAHHuxa9vjUTZ1HkJdYO5HGhmKDNHrD3y07Ja3+rXOOwa8l+zG27vIr z7AA== X-Gm-Message-State: AOJu0Ywp8RVyHSN+JP62zWm+dKa9jdzcvyqN6B8U8Bq6pGjvWwSsTHOu 2+VK96mxDC29YebC8U0j3ASV6DjFAjnwX4BJELsBgc38DoB4eUIrxC5FQRKGNy6C6mwDz8YT2g1 JBYcupME5WWorlSJmFC0Z0ny7JRAGABsO X-Gm-Gg: ASbGncuqfrMotTNbvglW1c4IwMbmfB65JvjJAMN9OQnia4CI2JUs4ppH4FdC9PoIE1G HVML6mcFu74r3J2tX4jbI/OWGv6f/y/HfrudkIWG+NuYoqSr3w15TX4IWCm+MLQI0i01Cj9y/tn JHJVvtCXvXsivFPbtJ7ClONwiKxPle79osBJpXna9Sxxwa976ICkWgpRbTHiH7jaiuW1/FPv1Kx NTOsITN6ChWr4kaEtVLhuMDKDloENyojzwx7A3D9lI9KUWfkrTqRLzeNzFzU9BOZgt3Ga3YFvcy 2nEEYyNL5y1oIRodt2FsuSgr0bufhXGLs8n7R0swlPADZz3s5w== X-Google-Smtp-Source: AGHT+IG1JNTKW4PJowa8x6zXwx6p/q7XjQhnkUDJS/CoH6Hp+BmAvgCS/4W/iLHrzu+9KrSizKnUBiNoASsr X-Received: by 2002:a05:6402:3818:b0:5db:d9ac:b302 with SMTP id 4fb4d7f45d1cf-5de450b1e67mr856840a12.32.1738874821380; Thu, 06 Feb 2025 12:47:01 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id 4fb4d7f45d1cf-5dcf1b81620sm48777a12.20.2025.02.06.12.47.01; Thu, 06 Feb 2025 12:47:01 -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 255531CE61; Thu, 6 Feb 2025 21:47:01 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Stephen Hemminger , Maryam Tahhan , Ciara Loftus , Ariel Otilibili Subject: [PATCH v8 0/2] Fix use after free, and refactor af_xdp_tx_zc Date: Thu, 6 Feb 2025 21:46:43 +0100 Message-Id: <20250206204645.1564535-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, --- v8 * fixed seg fault (https://inbox.dpdk.org/dev/CAFdtZitaNGhC5Q10ATNa7xXX1JbuWob=YzrcWmq8LTz+qjiu4A@mail.gmail.com/) * addressed feedback from Maryam Tahhan v7 (https://inbox.dpdk.org/dev/20250201100300.2194018-1-ariel.otilibili@6wind.com/) * no change * resent because CI didn't take patch-2 into the series v6 (https://inbox.dpdk.org/dev/20250131231018.2163893-1-ariel.otilibili@6wind.com/) * added missing credits to Maryam Tahhan in v5 v5 (https://inbox.dpdk.org/dev/20250131183439.909831-1-ariel.otilibili@6wind.com/) * fix style issues in the signature of reserve_and_fill() (Stephen Hemminger) v4 (https://inbox.dpdk.org/dev/20250130221853.789366-1-ariel.otilibili@6wind.com/) * 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 | 77 ++++++++++++++++------------- 2 files changed, 43 insertions(+), 36 deletions(-) -- 2.30.2