> > 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: 726158060d55 ("net/bonding: fix potential out of bounds read") > > Cc: sta...@dpdk.org > > > > Signed-off-by: Jun Qiu <jun....@jaguarmicro.com> > Acked-by: Min Hu (Connor) <humi...@huawei.com>
Applied, thanks.