numam-dpdk/lib/librte_ip_frag
Allain Legacy 4f512a1919 ip_frag: fix double free of chained mbufs
The first mbuf and the last mbuf to be visited in the preceding loop
are not set to NULL in the fragmentation table.  This creates the
possibility of a double free when the fragmentation table is later freed
with rte_ip_frag_table_destroy().

Fixes: 95908f5239 ("ip_frag: free mbufs on reassembly table destroy")
Cc: stable@dpdk.org

Signed-off-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2018-04-15 14:44:07 +02:00
..
ip_frag_common.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
ip_frag_internal.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_ip_frag_common.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_ip_frag_version.map ip_frag: rename map file to standardized name 2017-08-31 23:02:57 +02:00
rte_ip_frag.h lib: fix missing includes in exported headers 2018-01-17 00:31:05 +01:00
rte_ipv4_fragmentation.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_ipv4_reassembly.c ip_frag: fix double free of chained mbufs 2018-04-15 14:44:07 +02:00
rte_ipv6_fragmentation.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_ipv6_reassembly.c ip_frag: fix double free of chained mbufs 2018-04-15 14:44:07 +02:00