From: Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org,
Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.com>
Subject: [dpdk-dev v4 2/2] net/tap: fix buffer overflow for ptypes list
Date: Thu, 4 Jan 2024 17:51:09 +0000 [thread overview]
Message-ID: <20240104175111.2190075-1-venkatx.sivaramakrishnan@intel.com> (raw)
In-Reply-To: <20231221184001.928922-1-venkatx.sivaramakrishnan@intel.com>
[PATCH 1] - net/tap: fix buffer overflow for ptypes list through
updation of last element. The first patch is for drivers for backporting
[PATCH 2] - net/tap: fix buffer overflow for ptypes list through
through driver API update. The second patch is for drivers API update
Sivaramakrishnan Venkat (2):
net/tap: fix buffer overflow for ptypes list through updation of last
element.
net/tap: fix buffer overflow for ptypes list through driver API update
drivers/net/atlantic/atl_ethdev.c | 13 ++++++++-----
drivers/net/axgbe/axgbe_ethdev.c | 13 ++++++++-----
drivers/net/bnxt/bnxt_ethdev.c | 7 ++++---
drivers/net/cnxk/cnxk_ethdev.h | 3 ++-
drivers/net/cnxk/cnxk_lookup.c | 7 ++++---
drivers/net/cpfl/cpfl_ethdev.c | 7 ++++---
drivers/net/cxgbe/cxgbe_ethdev.c | 10 ++++++----
drivers/net/cxgbe/cxgbe_pfvf.h | 3 ++-
drivers/net/dpaa/dpaa_ethdev.c | 8 ++++++--
drivers/net/dpaa2/dpaa2_ethdev.c | 10 ++++++----
drivers/net/e1000/igb_ethdev.c | 13 ++++++++-----
drivers/net/enetc/enetc_ethdev.c | 7 ++++---
drivers/net/enic/enic_ethdev.c | 17 ++++++++++-------
drivers/net/failsafe/failsafe_ops.c | 5 +++--
drivers/net/fm10k/fm10k_ethdev.c | 15 +++++++++------
drivers/net/hns3/hns3_rxtx.c | 16 +++++++++-------
drivers/net/hns3/hns3_rxtx.h | 3 ++-
drivers/net/i40e/i40e_rxtx.c | 11 +++++++----
drivers/net/i40e/i40e_rxtx.h | 3 ++-
drivers/net/iavf/iavf_ethdev.c | 10 ++++++----
drivers/net/ice/ice_dcf_ethdev.c | 7 ++++---
drivers/net/ice/ice_rxtx.c | 23 ++++++++++++++---------
drivers/net/ice/ice_rxtx.h | 3 ++-
drivers/net/idpf/idpf_ethdev.c | 7 ++++---
drivers/net/igc/igc_ethdev.c | 10 ++++++----
drivers/net/ionic/ionic_rxtx.c | 7 ++++---
drivers/net/ionic/ionic_rxtx.h | 3 ++-
drivers/net/ixgbe/ixgbe_ethdev.c | 18 ++++++++++++------
drivers/net/mana/mana.c | 7 ++++---
drivers/net/mlx4/mlx4.h | 3 ++-
drivers/net/mlx4/mlx4_ethdev.c | 17 ++++++++++-------
drivers/net/mlx5/mlx5.h | 3 ++-
drivers/net/mlx5/mlx5_ethdev.c | 11 +++++++----
drivers/net/mvneta/mvneta_ethdev.c | 4 +++-
drivers/net/mvpp2/mrvl_ethdev.c | 4 +++-
drivers/net/netvsc/hn_var.h | 3 ++-
drivers/net/netvsc/hn_vf.c | 5 +++--
drivers/net/nfp/nfp_net_common.c | 14 ++++++++++----
drivers/net/nfp/nfp_net_common.h | 3 ++-
drivers/net/ngbe/ngbe_ethdev.c | 9 ++++++---
drivers/net/ngbe/ngbe_ethdev.h | 3 ++-
drivers/net/ngbe/ngbe_ptypes.c | 3 ++-
drivers/net/ngbe/ngbe_ptypes.h | 2 +-
drivers/net/octeontx/octeontx_ethdev.c | 11 +++++++----
drivers/net/pfe/pfe_ethdev.c | 8 ++++++--
drivers/net/qede/qede_ethdev.c | 11 +++++++----
drivers/net/sfc/sfc_dp_rx.h | 2 +-
drivers/net/sfc/sfc_ef10.h | 3 ++-
drivers/net/sfc/sfc_ef100_rx.c | 7 ++++---
drivers/net/sfc/sfc_ef10_rx.c | 11 ++++++-----
drivers/net/sfc/sfc_ethdev.c | 5 +++--
drivers/net/sfc/sfc_rx.c | 7 ++++---
drivers/net/tap/rte_eth_tap.c | 6 ++++--
drivers/net/thunderx/nicvf_ethdev.c | 8 +++++---
drivers/net/txgbe/txgbe_ethdev.c | 9 ++++++---
drivers/net/txgbe/txgbe_ethdev.h | 3 ++-
drivers/net/txgbe/txgbe_ptypes.c | 6 +++---
drivers/net/txgbe/txgbe_ptypes.h | 2 +-
drivers/net/vmxnet3/vmxnet3_ethdev.c | 14 +++++++++-----
lib/ethdev/ethdev_driver.h | 3 ++-
lib/ethdev/rte_ethdev.c | 10 ++++++----
61 files changed, 295 insertions(+), 181 deletions(-)
--
2.25.1
next prev parent reply other threads:[~2024-01-04 17:51 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 14:37 [PATCH v1] " Sivaramakrishnan Venkat
2023-12-12 15:23 ` Ferruh Yigit
2023-12-15 13:38 ` [PATCH v2] " Sivaramakrishnan Venkat
2023-12-15 13:52 ` Ferruh Yigit
2023-12-15 13:55 ` Sivaramakrishnan, VenkatX
2023-12-15 17:21 ` Ferruh Yigit
2023-12-21 18:40 ` [PATCH v3] ethdev: fix getting supported " Sivaramakrishnan Venkat
2023-12-21 21:03 ` Tyler Retzlaff
2023-12-22 8:21 ` David Marchand
2024-01-04 17:51 ` Sivaramakrishnan Venkat [this message]
2024-01-04 17:51 ` [dpdk-dev v4 1/2] net/tap: fix buffer overflow for ptypes list through updation of last element Sivaramakrishnan Venkat
2024-01-11 15:11 ` Ferruh Yigit
2024-01-04 17:51 ` [dpdk-dev v4 2/2] net/tap: fix buffer overflow for ptypes list through driver API update Sivaramakrishnan Venkat
2024-01-11 15:12 ` Ferruh Yigit
2024-01-11 16:29 ` Andrew Rybchenko
2024-01-18 12:07 ` [PATCH v5 1/2] drivers/net: fix buffer overflow for ptypes list Sivaramakrishnan Venkat
2024-01-18 12:07 ` [PATCH v5 2/2] drivers/net: return number of types in get supported types Sivaramakrishnan Venkat
2024-01-19 14:51 ` Ferruh Yigit
2024-01-23 12:07 ` Power, Ciara
2024-01-23 14:59 ` Ferruh Yigit
2024-01-23 15:12 ` Ferruh Yigit
2024-01-23 15:37 ` Power, Ciara
2024-01-19 14:58 ` [PATCH v5 1/2] drivers/net: fix buffer overflow for ptypes list Ferruh Yigit
2024-01-19 17:10 ` Power, Ciara
2024-01-22 9:42 ` Ferruh Yigit
2024-01-22 9:46 ` Power, Ciara
2024-01-22 10:03 ` Ferruh Yigit
2024-01-25 16:07 ` [PATCH v6 " Sivaramakrishnan Venkat
2024-01-25 16:07 ` [PATCH v6 2/2] drivers/net: return number of types in get supported types Sivaramakrishnan Venkat
2024-01-31 3:22 ` Ferruh Yigit
2024-02-01 15:43 ` [PATCH v7 1/2] drivers/net: fix buffer overflow for ptypes list Sivaramakrishnan Venkat
2024-02-01 15:50 ` Sivaramakrishnan Venkat
2024-02-01 15:50 ` [PATCH v7 2/2] drivers/net: return number of types in get supported types Sivaramakrishnan Venkat
2024-02-01 23:02 ` Ferruh Yigit
2024-02-01 22:58 ` [PATCH v7 1/2] drivers/net: fix buffer overflow for ptypes list Ferruh Yigit
2024-02-01 23:29 ` Ferruh Yigit
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=20240104175111.2190075-1-venkatx.sivaramakrishnan@intel.com \
--to=venkatx.sivaramakrishnan@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
/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).