Go to file
Dapeng Yu d8f852f5f3 net/softnic: fix memory leak in arguments parsing
In function pmd_parse_args(), firmware path is duplicated from device
arguments as character string, but is never freed, which cause memory
leak.

This patch changes the type of firmware member of struct pmd_params to
character array, to make memory resource release unnecessary, and
changes the type of name member to character array, to keep the
consistency of character string handling in struct pmd_params.

Fixes: 7e68bc20f8 ("net/softnic: restructure")
Cc: stable@dpdk.org

Signed-off-by: Dapeng Yu <dapengx.yu@intel.com>
Acked-by: Jasvinder Singh <jasvinder.singh@intel.com>
2021-07-23 10:09:23 +02:00
.ci build: update minimum required Meson version 2021-04-16 18:51:51 +02:00
.github/workflows eal: handle compressed firmware 2021-07-07 16:41:53 +02:00
app test/crypto: check raw API support 2021-07-21 15:12:02 +02:00
buildtools build: support drivers symlink on Windows 2021-07-09 17:22:42 +02:00
config build: check for broken AVX512 compiler support 2021-07-22 20:04:24 +02:00
devtools build: use platform for generic and native builds 2021-07-09 14:50:54 +02:00
doc net/mlx5: support meter for trTCM profiles 2021-07-22 13:29:01 +02:00
drivers net/softnic: fix memory leak in arguments parsing 2021-07-23 10:09:23 +02:00
examples vhost: rework async configuration structure 2021-07-21 07:56:13 +02:00
kernel kni: fix crash on userspace VA for segmented packets 2021-06-24 10:04:25 +02:00
lib eal/windows: check callback parameter of alarm functions 2021-07-22 22:06:27 +02:00
license lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
usertools raw/cnxk_bphy: add baseband PHY skeleton driver 2021-07-05 23:08:11 +02:00
.editorconfig doc: add Meson coding style to contributors guide 2021-04-21 14:04:09 +02:00
.gitattributes
.gitignore doc: add flow API features tables 2021-05-18 19:06:56 +02:00
.travis.yml eal: handle compressed firmware 2021-07-07 16:41:53 +02:00
ABI_VERSION version: 21.08-rc0 2021-05-21 20:07:04 +02:00
MAINTAINERS maintainers: update for crypto API 2021-07-22 21:11:04 +02:00
Makefile
meson_options.txt build: use platform for generic and native builds 2021-07-09 14:50:54 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
README
VERSION version: 21.08-rc1 2021-07-10 12:01:52 +02:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org