Go to file
Herakliusz Lipiec 91dc9c13ba examples/ipv4_multicast: fix leak of cloned packets
The ipv4_multicast sample application was dropping packets
when using mbuf clone. When creating an L2 header and copying
metadata from the source packet, the ol_flags were also copied
along with all the other metadata. Because the cloned packet
had IND_ATTACHED_MBUF flag set in its ol_flags,
this caused the packets to never be freed when using rte_pktmbuf_free.
Since copying ol_flags from the cloned packet is
not necessary in the first place, just don't do it.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Reported-by: Dong Wang <dong1.wang@intel.com>
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Dong Wang <dong1.wang@intel.com>
2018-11-18 22:55:52 +01:00
app app/pdump: fix port id storage size 2018-11-18 22:32:47 +01:00
buildtools mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
config build: establish an invariant machine type 2018-11-18 15:30:58 +01:00
devtools devtools: add explicit warnings for forbidden tokens 2018-11-04 21:54:04 +01:00
doc examples/ipv4_multicast: fix leak of cloned packets 2018-11-18 22:55:52 +01:00
drivers net/bonding: fix possible silent failure in configuration 2018-11-16 18:27:55 +01:00
examples examples/ipv4_multicast: fix leak of cloned packets 2018-11-18 22:55:52 +01:00
kernel kni: fix build on Linux < 3.14 2018-10-27 00:18:06 +02:00
lib security: remove experimental tag 2018-11-18 22:31:30 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: allow renaming of build directories 2018-11-14 01:46:00 +01:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test test: fix clean up on failure 2018-11-14 05:01:15 +01:00
usertools usertools: add client script for telemetry 2018-10-27 15:21:38 +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 security: remove experimental tag 2018-11-18 22:31:30 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt build: add option to override drivers install directory 2018-10-27 23:22:21 +02:00
meson.build version: 18.11-rc3 2018-11-14 05:05:29 +01: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