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 3E44E460A4; 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 8542340EF0; Thu, 16 Jan 2025 23:51:58 +0100 (CET) Received: from mail-lf1-f103.google.com (mail-lf1-f103.google.com [209.85.167.103]) by mails.dpdk.org (Postfix) with ESMTP id E1E2340EF0 for ; Thu, 16 Jan 2025 23:51:57 +0100 (CET) Received: by mail-lf1-f103.google.com with SMTP id 2adb3069b0e04-5401c68b89eso1586680e87.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=dJ11wASacfMxoQlcruV3xOfmd+isLMiOIZeMXAmVG+z2l6TmaLwBJVj3PRh2jWfbbs bdHrYAvCDyNIzYVnKumZNx2DmsTANVvVKec1juE877T3Btg3lWPD/KDm3jEeJvfnvW6V WwemB63TBKhAzQjVJUPTJioTqinXoqvkqILlWQWaIPHGg8P44MoaC6ufjMV619mWhu80 osmRKEB/ASaXRsvI/RVvntXcivo3uxTAWYTFSEQz4mx/xPVpJw8qlF4g8qJMtnhjsQDN tzHr2U6ZEx/R/vaaETFPrrpc4wreJuFtnc6iveTmyYGzZNTIITzvZ7Qg3fN9u+Wq0Ngw ueBw== X-Gm-Message-State: AOJu0YxcHQZ7/DyYW9Zp7jHrBAHYj0Qjq4yyzG4/Qmi8QpuMBwKLJ+bT C8pHlPsZYXiZABtMrBQGCh5JU0VCxz5tQxMiOCfesshNYec0stt4cjcRl57Za9bP1kebVEnGRfb BGuh9IW4MKKwF+UxtulCNl7LAkICQYqizooufNwIX03Q= X-Gm-Gg: ASbGncsR0gYLNiA79AM/J5Wq9HONVimGKzRePfitdTUh/GK+GCSj/pkkupeu4dz/oUr 7Ne8wKwo8AgNqDWilpsSKJW0Id+newUYW3Bz+yEiee23e6ORPmqCb5LviuFQCRUG44Sib4LceR4 OqcwQz0+JSjpBC2UhkaUEmfjkPDq+FBX6+o1cy3AMD0Sn0fUe6rIgz//uB6CTIsOL9PQw0bZP/s cHjTopbq2dc1mRD0Vl/OiEr4sjVnkV6gIOHxW485i+MD5Poigus2oB8sBquCBujjqAncYWpvF7E wOwPDNVZJh0PfAmFlZmePm9dLw== 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: 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, --- 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