[dpdk-stable] [PATCH v2] example/ipv4_multicast: fix app hanging when using clone
Thomas Monjalon
thomas at monjalon.net
Sun Nov 18 22:56:41 CET 2018
> > 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: af75078fece3 ("first public release")
> > CC: stable at dpdk.org
> >
> > Reported-by: Wang Dong <dong1.wang at intel.com>
> > Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec at intel.com>
>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> Acked-by: Wang Dong <dong1.wang at intel.com>
Applied, thanks
More information about the stable
mailing list