All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas@monjalon.net>
To: Kerem Aksu <kerem.aksu@i2i-systems.com>
Cc: linville@tuxdriver.com, dev@dpdk.org, stephen@networkplumber.org,
	stable@dpdk.org
Subject: Re: [PATCH v2] net/af_packet: fix crash in secondary process
Date: Fri, 12 Sep 2025 19:01:58 +0200	[thread overview]
Message-ID: <24079784.6Emhk5qWAg@thomas> (raw)
In-Reply-To: <20250912113525.396070-1-kerem.aksu@i2i-systems.com>

12/09/2025 13:35, Kerem Aksu:
> 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>

Great, thank you.





      parent reply	other threads:[~2025-09-12 17:02 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
2025-09-12 17:01   ` Thomas Monjalon [this message]

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=24079784.6Emhk5qWAg@thomas \
    --to=thomas@monjalon.net \
    --cc=dev@dpdk.org \
    --cc=kerem.aksu@i2i-systems.com \
    --cc=linville@tuxdriver.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.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 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.