Go to file
Anatoly Burakov 9554dbb50a malloc: do not skip pad on free
Previously, we were skipping erasing pad because we were
expecting it to be freed when we were merging adjacent
segments. However, if there were no adjacent segments to
merge, we would've skipped erasing the pad, leaving non-zero
memory in our free space.

Fix this by including pad in the erasing unconditionally.

Fixes: e43a9f52b7 ("malloc: fix pad erasing")
Cc: stable@dpdk.org

Reported-by: Andrew Rybchenko <arybchenko@solarflare.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: Andrew Rybchenko <arybchenko@solarflare.com>
2018-07-20 11:21:31 +02:00
app app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
buildtools mk: fix cross build 2018-07-11 21:13:25 +02:00
config net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
devtools devtools: add checks for ABI symbol addition 2018-07-16 01:09:58 +02:00
doc app/testpmd: fix typo in setting Tx offload command 2018-07-16 00:42:46 +02:00
drivers devargs: add non-variadic parsing function 2018-07-15 23:42:10 +02:00
examples examples/ipsec-secgw: use function to access mbuf private 2018-07-13 23:13:52 +02:00
kernel igb_uio: fix build with lock down checks 2018-07-11 18:49:21 +02:00
lib malloc: do not skip pad on free 2018-07-20 11:21:31 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk net/netvsc: add Hyper-V network device 2018-07-13 23:48:07 +02:00
pkg version: 18.05.0 2018-05-30 22:55:57 +02:00
test test/power: fix 32-bit build 2018-07-13 18:24:52 +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 devtools: add checks for ABI symbol addition 2018-07-16 01:09:58 +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 version: 18.08-rc1 2018-07-16 01:17:18 +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