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 B5B5145FE6; Wed, 29 Jan 2025 00:12:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD60E402AE; Wed, 29 Jan 2025 00:12:01 +0100 (CET) Received: from mail-ej1-f97.google.com (mail-ej1-f97.google.com [209.85.218.97]) by mails.dpdk.org (Postfix) with ESMTP id AE7C94026F for ; Wed, 29 Jan 2025 00:12:00 +0100 (CET) Received: by mail-ej1-f97.google.com with SMTP id a640c23a62f3a-aaf900cc7fbso1022777266b.3 for ; Tue, 28 Jan 2025 15:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1738105920; x=1738710720; 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=MsDw1f9ta4GMuxyTaoDTKenyfVam9ZRQDSJDXPPoMYI=; b=UyYLmgeWA9c4NcR4apeJfOGq3jpDOy1GpreE0HjjOaXrrjTul/Gpoof9U3taIH/kgO 1GdJtJLzQonsZjKkgelcjlWfnAEeHIKDWgns6rPKCy9CgeePSGk4l/DkYLdZfKvqmRgU bjIEnNABUuE21nObJ1z8mtqWC/viLn1BNMEmn1geiFNOXUbOfT2hZ+Sv0+tkwg2obS15 PiWfgD/il7C6sKfeVWIALvU4uTDwGG4PneFrht1f/ZXalZ2f1CpDVI2p8lvd0pKNAfw6 O3h8O47zjIYKbl0Ug05bXDg3nqdQ8tUdrxER6DawD39DUFMNjA04EwerH8k4DKp84N0p 4Upg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738105920; x=1738710720; 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=MsDw1f9ta4GMuxyTaoDTKenyfVam9ZRQDSJDXPPoMYI=; b=W+agz8lx5KSbrCkz2xzdJZAAJDJYyY2Ke9BkepldassW7Vnh9HTkotGJ4SZBowy9ZT x9hNp+4PdVTpQfzTz02Ez6bIPnJxJO0QYKirHB5XlCq1nqVNpD4elXDQtKBiC55Kys7X g3/fDknr55I7rSEVQ5yJqU749Lj2gIcbVWhWy/bfL8tEq55LzFdO1Wb/p6HsJk6r9wpf 0r62SZJW/4j0dC708aE2zMzl6jq7/aEIe9RvmINlb8+sGD9fFJZL3sXZWTf5TII4Ks1n c1cu3T78aQzTVu2bb6IGMVG1CYfsg88F1pSkpkTNLbwPNxVl1zcZjb+gEWhbTabnmM5m 6wfA== X-Gm-Message-State: AOJu0YyOK5k3vVltw0lieeQFFemWQazl+y6jzj+7dnILTHQ5FQ88GVVd VHLTWtytPcyXIwB85zWQcnlHFmxR1kNlU10wyEwixNO7ZZDtKbtuCdG5KgHWQxe4QW+sVg80KAm WgYktPCcKniyuxgI2koooQt6f1dkcL0TqSb+Hz7Ck X-Gm-Gg: ASbGncvvFo6y1ff8mOfhrlE/RbAA6FV7Z5FShcmFXlEGuLwtDJAnuYwE0WRCODChc9U wqF0OkLFvk5JXGV0NnMBzu3z8feyVv6Wrxmw3rbSzeiZs5O5qR5Q3rUXXREBFP2r4TZ6EIyHy8j JgC+EI2JrY1RSERM7RGq68+jjA0Z7WWvIxTVpDJdK9dycbDczhixJaH7Y+IFrO8gjYHsxSZ6AJJ 4O9lP3bwHqjS2dED0GYhy6IOuTC56uBFn46iH6EaBHwIS9PEOlQSuvZR5J69nKh6CUHxGGVue0c vh75fd3S0uJvc2g9CV+F0JeoCQS3ovhCa2Z28VeKWJffnt8cog== X-Google-Smtp-Source: AGHT+IGhU83kjuq/sHsdBF2uaLpqxYVrvQjubTJoMygcTh+YMqoL6T3CkTt48MeE14yVBTYEoew7DtxCeV3f X-Received: by 2002:a17:907:9482:b0:aae:83c6:c67e with SMTP id a640c23a62f3a-ab6cfe12fdbmr92003966b.55.1738105920116; Tue, 28 Jan 2025 15:12:00 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id a640c23a62f3a-ab675ed08e5sm56295566b.102.2025.01.28.15.12.00; Tue, 28 Jan 2025 15:12:00 -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 DF71F18247; Wed, 29 Jan 2025 00:11:59 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Stephen Hemminger , Ciara Loftus , Maryam Tahhan , Ariel Otilibili Subject: [PATCH v3 0/2] Fix use after free, and refactor af_xdp_tx_zc() Date: Wed, 29 Jan 2025 00:11:50 +0100 Message-Id: <20250128231152.249497-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: 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 Hello, The series addresses Bugzilla ID 1440 in two steps; 1. Fix use after free. 2. Refactor af_xdp_tx_zc(). Thank you, --- v3 * 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() drivers/net/af_xdp/rte_eth_af_xdp.c | 131 ++++++++++++++++++---------- 1 file changed, 84 insertions(+), 47 deletions(-) -- 2.30.2