[PATCH v2] net/af_packet: fix crash in secondary process
Stephen Hemminger
stephen at networkplumber.org
Fri Sep 12 17:29:47 CEST 2025
On Fri, 12 Sep 2025 14:35:25 +0300
Kerem Aksu <kerem.aksu at 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 at dpdk.org
>
> Reported-by: Kerem Aksu <kerem.aksu at i2i-systems.com>
> Signed-off-by: Kerem Aksu <kerem.aksu at i2i-systems.com>
Queued to next-net
More information about the dev
mailing list