numam-dpdk/examples
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
..
bbdev_app ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
bond ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
cmdline mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
distributor examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
ethtool mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
eventdev_pipeline examples/eventdev_pipeline: support Tx adapter 2018-10-01 16:52:47 +02:00
exception_path ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
fips_validation examples/fips_validation: fix uninitialized access 2018-11-07 14:53:36 +01:00
flow_classify ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
flow_filtering examples/flow_filtering: fix capability setting 2018-11-14 00:35:53 +01:00
helloworld
ip_fragmentation ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ip_pipeline examples/ip_pipeline: fix null pointer dereference 2018-11-12 17:45:31 +01:00
ip_reassembly ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
ipsec-secgw examples/ipsec-secgw: fix wrong session size 2018-09-25 17:57:25 +02:00
ipv4_multicast examples/ipv4_multicast: fix leak of cloned packets 2018-11-18 22:55:52 +01:00
kni examples/kni: improve zeroing statistics 2018-10-26 19:46:29 +02:00
l2fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-cat mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
l2fwd-crypto ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-jobstats ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l2fwd-keepalive ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-acl ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
l3fwd-power examples/l3fwd-power: fix power library fallback 2018-11-14 04:39:56 +01:00
l3fwd-vf ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
link_status_interrupt ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
load_balancer mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
multi_process examples/multi_process: add sigint handler to server 2018-11-04 21:54:04 +01:00
netmap_compat ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
packet_ordering ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
performance-thread mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
ptpclient ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
qos_meter ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
qos_sched mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
quota_watermark ethdev: make default behavior CRC strip on Rx 2018-09-14 20:08:41 +02:00
rxtx_callbacks ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
server_node_efd examples: make Linux environment check consistent 2018-07-12 09:48:12 +02:00
service_cores examples/service_cores: check cores before run 2018-10-29 03:05:15 +01:00
skeleton ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
tep_termination mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
timer
vdpa examples/vdpa: fix spelling in error message 2018-10-26 22:14:05 +02:00
vhost mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vhost_crypto examples/vhost_crypto: fix zero copy 2018-11-16 16:13:30 +01:00
vhost_scsi mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
vm_power_manager examples/vm_power: respect maximum CPUs 2018-11-04 21:54:04 +01:00
vmdq ethdev: remove old offload API 2018-07-04 21:50:32 +02:00
vmdq_dcb examples: fix RSS hash function configuration 2018-07-05 15:46:48 +02:00
Makefile examples/fips_validation: fix build 2018-11-05 21:04:18 +01:00
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00