DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ariel Otilibili <ariel.otilibili@6wind.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,
	David Marchand <david.marchand@redhat.com>,
	Stephen Hemminger <stephen@networkplumber.org>,
	Maryam Tahhan <mtahhan@redhat.com>,
	Ciara Loftus <ciara.loftus@intel.com>,
	Ariel Otilibili <ariel.otilibili@6wind.com>
Subject: [PATCH v9 0/2] Fix use after free, and refactor af_xdp_tx_zc
Date: Fri,  7 Feb 2025 11:45:50 +0100	[thread overview]
Message-ID: <20250207104552.1663519-1-ariel.otilibili@6wind.com> (raw)
In-Reply-To: <20250116195640.68885-1-ariel.otilibili@6wind.com>

Hello,

The series addresses Bugzilla ID 1440 in two steps;

1. Fix use after free.
2. Refactor af_xdp_tx_zc().

Thank you,
---
v9
* desc->len takes its value from mbuf (Maryam Tahhan)

v8 (https://inbox.dpdk.org/dev/20250206204645.1564535-1-ariel.otilibili@6wind.com/)
* 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 | 75 ++++++++++++++++-------------
 2 files changed, 42 insertions(+), 35 deletions(-)

-- 
2.30.2


  parent reply	other threads:[~2025-02-07 10:46 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-16 19:56 [PATCH 0/2] Fix use after free, and refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-16 19:56 ` [PATCH 1/2] net/af_xdp: fix use after free in af_xdp_tx_zc() Ariel Otilibili
2025-01-30 18:24   ` Stephen Hemminger
2025-01-30 22:22     ` Ariel Otilibili
2025-01-16 19:56 ` [PATCH 2/2] net/af_xdp: Refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-16 21:47   ` Stephen Hemminger
2025-01-16 22:20     ` Ariel Otilibili
2025-01-16 22:26       ` Stephen Hemminger
2025-01-16 22:36         ` Ariel Otilibili
2025-01-16 22:51 ` [PATCH v2 0/2] Fix use after free, and refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-16 22:51   ` [PATCH v2 1/2] net/af_xdp: fix use after free in af_xdp_tx_zc() Ariel Otilibili
2025-01-20 14:54     ` Maryam Tahhan
2025-01-21  8:54       ` Ariel Otilibili
2025-01-16 22:51   ` [PATCH v2 2/2] net/af_xdp: Refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-20 15:28     ` Maryam Tahhan
2025-01-21  8:57       ` Ariel Otilibili
2025-01-28 23:11 ` [PATCH v3 0/2] Fix use after free, and refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-28 23:11   ` [PATCH v3 1/2] net/af_xdp: fix use after free in af_xdp_tx_zc() Ariel Otilibili
2025-01-28 23:11   ` [PATCH v3 2/2] net/af_xdp: Refactor af_xdp_tx_zc() Ariel Otilibili
2025-01-29 17:58     ` Maryam Tahhan
2025-01-30 23:06       ` Ariel Otilibili
2025-01-30 22:18 ` [PATCH v4 0/2] Fix use after free, and refactor af_xdp_tx_zc Ariel Otilibili
2025-01-30 22:18   ` [PATCH v4 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-01-30 22:18   ` [PATCH v4 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-01-30 23:55     ` Stephen Hemminger
2025-01-31 18:36       ` Ariel Otilibili
2025-01-31 18:34 ` [PATCH v5 0/2] Fix use after free, and refactor af_xdp_tx_zc Ariel Otilibili
2025-01-31 18:34   ` [PATCH v5 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-01-31 18:34   ` [PATCH v5 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-01-31 23:10 ` [PATCH v6 0/2] Fix use after free, and refactor af_xdp_tx_zc Ariel Otilibili
2025-01-31 23:10 ` [PATCH v6 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-01-31 23:10 ` [PATCH v6 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-02-01 10:02 ` [PATCH v7 0/2] Fix use after free, and refactor af_xdp_tx_zc Ariel Otilibili
2025-02-01 10:02   ` [PATCH v7 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-02-01 10:03   ` [PATCH v7 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-02-04 13:39     ` Maryam Tahhan
2025-02-06  1:09     ` Maryam Tahhan
2025-02-06  1:17       ` Maryam Tahhan
2025-02-06 18:06       ` Ariel Otilibili
2025-02-06  2:08     ` Maryam Tahhan
2025-02-06 17:56       ` Ariel Otilibili
2025-02-06 20:46 ` [PATCH v8 0/2] Fix use after free, and refactor af_xdp_tx_zc Ariel Otilibili
2025-02-06 20:46   ` [PATCH v8 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-02-06 20:46   ` [PATCH v8 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-02-06 21:42     ` Stephen Hemminger
2025-02-07  9:18       ` Maryam Tahhan
2025-02-07  7:09     ` Maryam Tahhan
2025-02-07 10:48       ` Ariel Otilibili
2025-02-07 10:45 ` Ariel Otilibili [this message]
2025-02-07 10:45   ` [PATCH v9 1/2] net/af_xdp: Fix use after free in af_xdp_tx_zc Ariel Otilibili
2025-02-07 10:45   ` [PATCH v9 2/2] net/af_xdp: Refactor af_xdp_tx_zc Ariel Otilibili
2025-02-07 11:13     ` Maryam Tahhan
2025-02-07 12:33       ` Ariel Otilibili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250207104552.1663519-1-ariel.otilibili@6wind.com \
    --to=ariel.otilibili@6wind.com \
    --cc=ciara.loftus@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=mtahhan@redhat.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).