All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Kerem Aksu <kerem.aksu@i2i-systems.com>
Cc: thomas@monjalon.net, linville@tuxdriver.com, dev@dpdk.org,
	stable@dpdk.org
Subject: Re: [PATCH v2] net/af_packet: fix crash in secondary process
Date: Fri, 12 Sep 2025 08:29:47 -0700	[thread overview]
Message-ID: <20250912082947.6eaf4cf0@hermes.local> (raw)
In-Reply-To: <20250912113525.396070-1-kerem.aksu@i2i-systems.com>

On Fri, 12 Sep 2025 14:35:25 +0300
Kerem Aksu <kerem.aksu@i2i-systems.com> wrote:

> dumpcap crashes when trying to capture from af_packet devices. This is
> caused by allocating interface name with
> strdup (i.e. malloc). Interface name is not accessible from secondary
> process and causes segmentation fault. Use rte_malloc instead of
> strdup to fix the issue.
> 
> Bugzilla ID: 1786
> Fixes: 1b93c2aa81b4 ("net/af_packet: add interface name to internals")
> Cc: stable@dpdk.org
> 
> Reported-by: Kerem Aksu <kerem.aksu@i2i-systems.com>
> Signed-off-by: Kerem Aksu <kerem.aksu@i2i-systems.com>

Queued to next-net

  reply	other threads:[~2025-09-12 15:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-12  8:47 [PATCH] net/af_packet: fix crash in secondary process Kerem Aksu
2025-09-12  9:32 ` Thomas Monjalon
2025-09-12 11:14   ` Kerem Aksu
2025-09-12 11:35 ` [PATCH v2] " Kerem Aksu
2025-09-12 15:29   ` Stephen Hemminger [this message]
2025-09-12 17:01   ` Thomas Monjalon

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=20250912082947.6eaf4cf0@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=kerem.aksu@i2i-systems.com \
    --cc=linville@tuxdriver.com \
    --cc=stable@dpdk.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.