Go to file
Anatoly Burakov d2bd796d7b mem: fix potential underflow on mem size calculation
If total memory is already bigger than max memory, an underflow
will occur on subtraction. Fix it by simply stopping whenever
we already have amount of memory that is bigger than maximum.

Fixes: 66cc45e293 ("mem: replace memseg with memseg lists")

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-05-14 03:15:31 +02:00
app app/testpmd: add commands to load/unload BPF filters 2018-05-12 00:37:51 +02:00
buildtools buildtools: output build failure reason to stderr 2018-02-08 22:25:37 +01:00
config build: fix check for libbsd in meson 2018-05-08 22:21:56 +02:00
devtools compress/isal: add skeleton ISA-L compression PMD 2018-05-10 17:46:20 +01:00
doc bus/fslmc: support device blacklisting 2018-05-14 00:35:47 +02:00
drivers raw/skeleton: remove dead code 2018-05-14 01:01:10 +02:00
examples examples/vhost_scsi: replace strncpy with strlcpy 2018-05-13 23:54:28 +02:00
kernel kni: fix possible mbuf leaks and speed up port release 2018-05-13 23:58:20 +02:00
lib mem: fix potential underflow on mem size calculation 2018-05-14 03:15:31 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk bpf: add ability to load eBPF program from ELF object file 2018-05-12 00:35:20 +02:00
pkg version: 18.02.0 2018-02-14 19:11:02 +01:00
test test/pipeline: fix return type of stub miss 2018-05-13 23:24:54 +02:00
usertools usertools: add Cavium TIM as an event device 2018-04-16 11:11:06 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS doc: add BPF library guide 2018-05-12 00:38:19 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00
meson.build kernel: fix cross-build of Linux modules with meson 2018-05-08 22:21:38 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +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