numam-dpdk/lib
Yi Yang b9b75d9b5c gso: fix payload unit size for UDP
Fragment offset of IPv4 header is measured in units of
8 bytes. Fragment offset of UDP fragments will be wrong
after GSO if pyld_unit_size isn't multiple of 8. Say
pyld_unit_size is 1500, fragment offset of the second
UDP fragment will be 187 (i.e. 1500 / 8), which means 1496,
and it will result in 4-byte data loss (1500 - 1496 = 4).
So UDP GRO will reassemble out a wrong packet.

Fixes: b166d4f30b ("gso: support UDP/IPv4 fragmentation")
Cc: stable@dpdk.org

Signed-off-by: Yi Yang <yangyi01@inspur.com>
Acked-by: Jiayu Hu <jiayu.hu@intel.com>
2020-09-18 18:55:12 +02:00
..
librte_acl build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_bbdev build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_bitratestats build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_bpf bpf: promote library as stable 2020-09-16 18:52:55 +02:00
librte_cfgfile build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_cmdline build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_compressdev build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_cryptodev build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_distributor build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_eal service: retrieve lcore active state 2020-09-21 16:37:11 +02:00
librte_efd build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_ethdev ethdev: support TM for shaper config in packet mode 2020-09-18 18:55:10 +02:00
librte_eventdev build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_fib build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_flow_classify build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_graph build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_gro build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_gso gso: fix payload unit size for UDP 2020-09-18 18:55:12 +02:00
librte_hash build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_ip_frag build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_ipsec build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_jobstats build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_kni mem: remove physical address aliases 2020-09-19 00:25:35 +02:00
librte_kvargs build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_latencystats build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_lpm build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_mbuf mbuf: remove physical address alias 2020-09-19 00:25:37 +02:00
librte_member build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_mempool mempool: remove physical address aliases 2020-09-19 00:25:37 +02:00
librte_meter build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_metrics build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_net net: check first segment length on SW VLAN insertion 2020-09-18 18:55:10 +02:00
librte_node build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_pci pci: move resource mapping to the PCI bus 2020-09-21 10:12:10 +02:00
librte_pdump build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_pipeline build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_port build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_power build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_rawdev rawdev: mark start and stop functions optional 2020-09-11 11:51:16 +02:00
librte_rcu build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_regexdev build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_reorder build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_rib build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_ring config: remove default configs used with make 2020-09-08 00:11:30 +02:00
librte_sched build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_security build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_stack build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_table build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_telemetry telemetry: build stubs on Windows 2020-09-11 01:55:35 +02:00
librte_timer build: remove makefiles 2020-09-08 00:09:50 +02:00
librte_vhost build: remove makefiles 2020-09-08 00:09:50 +02:00
meson.build ethdev: build on Windows 2020-09-11 01:55:39 +02:00