numam-dpdk/drivers
Jun Qiu 8168328854 net/bonding: fix Tx hash for TCP
In the following two cases, tcp_hdr + sizeof(*tcp_hdr) == pkt_end,
and the TCP port is not taken into account in calculating the HASH
value of TCP packets. TCP connections with the same source and
destination IP addresses will be hashed to the same slave port,
which may cause load imbalance.
1. TCP Pure ACK packets with no options, The header length is 20
and there is no data.
2. A TCP packet contains data, but the first seg of the mbuf
contains only the header information (ETH, IP, TCP), and the
data is in subsequent segs, which is usually the case in the
indirect mbuf used for zero-copy.

Fixes: 726158060d ("net/bonding: fix potential out of bounds read")
Cc: stable@dpdk.org

Signed-off-by: Jun Qiu <jun.qiu@jaguarmicro.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
2022-10-09 19:44:19 +02:00
..
baseband drivers/baseband: expose per operation type queues 2022-10-07 08:44:58 +02:00
bus bus/dpaa: move mempool registration before probing 2022-10-07 17:19:03 +02:00
common crypto/cnxk: support fixed point multiplication 2022-10-07 19:46:11 +02:00
compress dev: hide driver object 2022-09-23 16:14:34 +02:00
crypto crypto/ipsec_mb: support all tag sizes for ZUC-EIA3-256 2022-10-07 19:46:11 +02:00
dma drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
event drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
gpu dev: hide driver object 2022-09-23 16:14:34 +02:00
mempool drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
net net/bonding: fix Tx hash for TCP 2022-10-09 19:44:19 +02:00
raw drivers: mark SW PMDs to support disabling IOVA as PA 2022-10-09 13:14:57 +02:00
regex regex/mlx5: forbid changing maximum match number 2022-10-09 16:33:32 +02:00
vdpa vdpa/sfc: support multi-queue 2022-10-04 17:23:58 +02:00
meson.build build: add option to configure IOVA mode as PA 2022-10-09 13:14:52 +02:00