From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (unknown [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 41814460A8 for ; Thu, 16 Jan 2025 23:52:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 83A3A410D2; Thu, 16 Jan 2025 23:51:59 +0100 (CET) Received: from mail-lf1-f104.google.com (mail-lf1-f104.google.com [209.85.167.104]) by mails.dpdk.org (Postfix) with ESMTP id E1CF840696 for ; Thu, 16 Jan 2025 23:51:57 +0100 (CET) Received: by mail-lf1-f104.google.com with SMTP id 2adb3069b0e04-5401c68b89eso1586681e87.0 for ; Thu, 16 Jan 2025 14:51:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; t=1737067917; x=1737672717; 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=1500o7bGxKT/bjRPSuXBDyRMU/TDgv0AKgqLpP6TNEw=; b=fBgbuKabuLzfypBMVscSMxPQrus3dzjrB3fMIpk+Gft6f5yOyGNHzwkPuy6VZgaQs9 FmngWz1QUwkj8OecNSrXi6jUmYBoLXwY32mwHtZGl14ECmQM9k+VWHu0WGpkdfI9+Vry MODprqQJSBBKd7hYk5lJC1kzb5wvjKQhvli8fFeINgQ+z9SmevnCMaX6Chj2T0MCaFA6 KdCcPu+eWU3+CK96lRQVo0rGGzRd11upGLWq9mtWygFFNU37Z09H5Jyucca36ogm0Z3Q ryq6zGSpug3rHg3Q9I9M2TcIBNrd3qj6NmHDXlndpOQqyYpW/fLx/zIQzBhUoztZYrGr ww1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737067917; x=1737672717; 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=1500o7bGxKT/bjRPSuXBDyRMU/TDgv0AKgqLpP6TNEw=; b=Yia4h4yETlUrrmlTurWJNd2mrD6tUK73mJdYPJCY4uj1jtDoV8dtVOXfLWfTYsHa8/ 2sWFwPKofMcL1qecjiIbeiyUl2TrTwg8/pQNrQtToUu+tOvA9DZ/Bekuci0pS0Cx5DqG PIvnt2GbmhOm65jw6KY6yE5uf1K9QM3S9ih9GgkJWbaL4+c85AzvC8qwZmTc25BGnfk+ tf2s94yTv68amytiHwA4fpqloAgLqLGKQb3vjrh1LpfZ2CoWhpNcd/BOxX2lwM9eWQUa PgdtNNbW0uhYotL4lL3Cz5XluGs2NWr3hT9mR+5TEdnDLWFek69UOrYQk0Y9RGk2b0xk 353Q== X-Gm-Message-State: AOJu0YxnOSw8n+h4+QE2TwffsuIgnWLm5Ms+USB97Kf61QKhZzetudmN fTH4nnocUA+vDeB8tmCJSnwRYrGXExGMqbGN8zCtzWxrc6bD7dYXrPxE9pibAtm0v/x1jAQwrfd wtaxjGgNV0xSvwVlzfMs0HM9CQ3HkEZtu X-Gm-Gg: ASbGncv4rmJ0xvpD9dVMssoIY21piEDlnTSvD2b1BonwB3RkP2NS8V8WaNVlaX8/XF2 3t9HbR5PCa22pV9FIzOxM/tIKio8hFu85o0shlDoDneQ6MKN2VLwAkzlyfvYsOi9K0M07alnuOr MDKPUHcx0/McFezavcFmuL7GA4R1W8XM9z+Z4WvNKgMG05BCSMnSVpoMo2f5kHTQnUk7KY03En1 F/xhkfStSrZvPB9P2GL2cfAWPA6cmsGwibIe/xMuFDxaKpJhPDwYvB9fDeKQhsKQAVj8NmDO3fM qzdCYTA0QSr0o1xH0ro4I9M2Kg== X-Google-Smtp-Source: AGHT+IEjf8tbgSqaX12bw0v+nJg5iUOkFL/wSETYhPx4DtKb8gBPkorgAE2ejZNBq4NlSF2Pa/XGCtLFsviF X-Received: by 2002:a05:6512:401a:b0:542:91c8:28f6 with SMTP id 2adb3069b0e04-5439bf925efmr76980e87.14.1737067916550; Thu, 16 Jan 2025 14:51:56 -0800 (PST) Received: from smtpservice.6wind.com ([185.13.181.2]) by smtp-relay.gmail.com with ESMTP id 2adb3069b0e04-5439af111f2sm54233e87.53.2025.01.16.14.51.56; Thu, 16 Jan 2025 14:51:56 -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 1B2BA11D47; Thu, 16 Jan 2025 23:51:56 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Stephen Hemminger , Thomas Monjalon , David Marchand , Ariel Otilibili , Ciara Loftus , Maryam Tahhan Subject: [PATCH v2 0/2] Fix use after free, and refactor af_xdp_tx_zc() Date: Thu, 16 Jan 2025 23:51:49 +0100 Message-Id: <20250116225151.188214-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, --- v2 * 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 | 49 +++++++++++++---------------- 1 file changed, 22 insertions(+), 27 deletions(-) -- 2.30.2