numam-dpdk/lib/ip_frag
Huichao Cai 567473433b ip_frag: fix fragmenting IPv4 fragment
Current implementation of rte_ipv4_fragment_packet() doesn’t take
into account offset and flag values of the given packet, but blindly
assumes they are always zero (original packet is not fragmented).
According to RFC791, fragment and flag values for new fragment
should take into account values provided in the original IPv4 packet.

Fixes: 4c38e5532a ("ip_frag: refactor IPv4 fragmentation into a proper library")
Cc: stable@dpdk.org

Signed-off-by: Huichao Cai <chcchc88@163.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2021-10-14 08:52:34 +02:00
..
ip_frag_common.h
ip_frag_internal.c
meson.build
rte_ip_frag_common.c
rte_ip_frag.h eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
rte_ipv4_fragmentation.c ip_frag: fix fragmenting IPv4 fragment 2021-10-14 08:52:34 +02:00
rte_ipv4_reassembly.c
rte_ipv6_fragmentation.c
rte_ipv6_reassembly.c
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00