[dpdk-dev] [PATCH] example/ipv4_multicast: fix app hanging when using clone
Herakliusz Lipiec
herakliusz.lipiec at intel.com
Mon Nov 12 21:46:50 CET 2018
This example was dropping packets when using clone (ip 224.0.0.103).
The problem was that mbufs were not freed. This was caused by coping
ol_flags from cloned mbuf to header mbufs.
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec at intel.com>
---
examples/ipv4_multicast/main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c
index 4073a4907..428ca4694 100644
--- a/examples/ipv4_multicast/main.c
+++ b/examples/ipv4_multicast/main.c
@@ -266,8 +266,6 @@ mcast_out_pkt(struct rte_mbuf *pkt, int use_clone)
hdr->tx_offload = pkt->tx_offload;
hdr->hash = pkt->hash;
- hdr->ol_flags = pkt->ol_flags;
-
__rte_mbuf_sanity_check(hdr, 1);
return hdr;
}
--
2.17.1
More information about the dev
mailing list