numam-dpdk/lib
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
..
acl lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
bbdev bbdev: reduce log level of a failure message 2021-10-08 21:31:07 +02:00
bitratestats bitrate: promote free function to stable 2021-10-01 15:31:47 +02:00
bpf lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
cfgfile version: 21.11-rc0 2021-08-17 08:37:52 +02:00
cmdline version: 21.11-rc0 2021-08-17 08:37:52 +02:00
compressdev log: register with standardized names 2021-05-11 15:17:55 +02:00
cryptodev security: add SA config option for inner checksum 2021-10-08 21:39:39 +02:00
distributor lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
eal eal/freebsd: ignore in-memory option 2021-10-13 17:11:26 +02:00
efd efd: allow more CPU sockets in table creation 2021-10-01 16:33:20 +02:00
ethdev ethdev: remove legacy mirroring API 2021-10-07 13:02:26 +02:00
eventdev doc: remove event crypto metadata deprecation note 2021-10-08 21:31:07 +02:00
fib sort symbol maps 2021-10-05 17:03:37 +02:00
flow_classify flow_classify: fix leaking rules on delete 2021-06-24 15:34:45 +02:00
graph eal: save error in string copy 2021-07-05 15:11:30 +02:00
gro net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
gso version: 21.11-rc0 2021-08-17 08:37:52 +02:00
hash eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
ip_frag ip_frag: fix fragmenting IPv4 fragment 2021-10-14 08:52:34 +02:00
ipsec version: 21.11-rc0 2021-08-17 08:37:52 +02:00
jobstats version: 21.11-rc0 2021-08-17 08:37:52 +02:00
kni version: 21.11-rc0 2021-08-17 08:37:52 +02:00
kvargs kvargs: fix comments style 2021-09-30 17:38:13 +02:00
latencystats version: 21.11-rc0 2021-08-17 08:37:52 +02:00
lpm version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mbuf mbuf: remove deprecated flag for bad outer IPv4 checksum 2021-10-13 23:03:47 +02:00
member version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mempool mempool: fix name size in mempool structure 2021-10-13 22:54:10 +02:00
meter version: 21.11-rc0 2021-08-17 08:37:52 +02:00
metrics metrics: promote deinitialize API 2021-09-23 19:21:47 +02:00
net net: promote IPv6 external headers skip API as stable 2021-10-13 12:57:12 +02:00
node lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
pci eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
pdump version: 21.11-rc0 2021-08-17 08:37:52 +02:00
pipeline net: rename Ethernet header fields 2021-10-08 14:58:11 +02:00
port version: 21.11-rc0 2021-08-17 08:37:52 +02:00
power lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
rawdev version: 21.11-rc0 2021-08-17 08:37:52 +02:00
rcu lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
regexdev lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
reorder version: 21.11-rc0 2021-08-17 08:37:52 +02:00
rib sort symbol maps 2021-10-05 17:03:37 +02:00
ring ring: promote new sync modes and peek to stable 2021-10-05 10:09:15 +02:00
sched sched: get 64-bit greatest common divisor 2021-09-27 17:24:16 +02:00
security security: add SA config option for inner checksum 2021-10-08 21:39:39 +02:00
stack mempool/stack: build on Windows 2021-10-01 16:46:05 +02:00
table eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
telemetry telemetry: fix JSON output buffer length 2021-10-13 18:17:24 +02:00
timer version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost vhost: normalize return type and function name 2021-09-28 21:23:00 +02:00
meson.build security: build on Windows 2021-10-07 14:47:35 +02:00