Go to file
Aaron Conole 2e088e6f94 service: don't walk out of bounds when checking services
The service_valid call is used without properly bounds checking the
input parameter.  Almost all instances of the service_valid call are
inside a for() loop that prevents excessive walks, but some of the
public APIs don't bounds check and will pass invalid arguments.

Prevent this by using SERVICE_GET_OR_ERR_RET where it makes sense,
and adding a bounds check to one service_valid() use.

Fixes: 8d39d3e237 ("service: fix race in service on app lcore function")
Fixes: e9139a32f6 ("service: add function to run on app lcore")
Fixes: e30dd31847 ("service: add mechanism for quiescing")
Cc: stable@dpdk.org

Signed-off-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2019-12-20 15:09:35 +01:00
.ci ci: add minimal check on testpmd 2019-11-27 00:00:24 +01:00
app test/common: fix log2 check 2019-12-20 15:05:41 +01:00
buildtools devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
config build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
devtools devtools: fix debug build test 2019-12-16 16:27:50 +01:00
doc doc: fix build with python 3.8 2019-12-12 23:18:10 +01:00
drivers build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
examples build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
kernel kni: fix build with Linux 4.9.x 2019-11-28 14:48:24 +01:00
lib service: don't walk out of bounds when checking services 2019-12-20 15:09:35 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes
.gitignore git: ignore more build directories 2019-11-27 23:16:27 +01:00
.travis.yml config: add pkgconfig for arm64 2019-11-28 23:03:52 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile
MAINTAINERS devtools: move ABI scripts from buildtools 2019-11-28 16:36:11 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README
VERSION version: 20.02-rc0 2019-12-02 17:59:49 +01: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