[PATCH] lib/ethdev: fix segfault in secondary process by validating dev_private pointer
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 22 19:38:24 CEST 2025
On Tue, 22 Jul 2025 22:04:32 +0500
Khadem Ullah <14pwcse1224 at uetpeshawar.edu.pk> wrote:
> Agree, but I think it's also a good practice to guard against known cases
> that are prone to crashes.
Right but DPDK chooses performance over API safety.
For example rx/tx burst doesn't check args.
The point is that as a library, if application is doing something wrong
returning error doesn't always help.
More information about the dev
mailing list