[dpdk-dev] [PATCH] ip_frag : Fix double-free of chained mbufs

Ananyev, Konstantin konstantin.ananyev at intel.com
Fri Apr 22 11:54:29 CEST 2016


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of cychong
> Sent: Thursday, April 21, 2016 6:28 PM
> To: dev at dpdk.org
> Cc: cychong at gmail.com
> Subject: [dpdk-dev] [PATCH] ip_frag : Fix double-free of chained mbufs
> 
> If any fragment hole is found in ipv4_frag_reassemble() and ipv6_frag_reassemble(),
> whole ip_frag_pkt mbufs are moved to death-row. Any mbufs already chained to
> another mbuf are freed multiple times as there are still in ip_frag_pkt array.
> 
> Signed-off-by: cychong <cychong at gmail.com>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>



More information about the dev mailing list