diff options
author | Tariq Toukan <tariqt@mellanox.com> | 2020-02-20 14:40:24 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-03-06 02:13:36 +0300 |
commit | 56917766def72f5afdf4235adb91b6897ff26d9d (patch) | |
tree | 28eb3b6d750978474b829f87b8054f9932eb7b0d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 692b0399a22530b2de8490bea75a7d20d59391d0 (diff) | |
download | linux-56917766def72f5afdf4235adb91b6897ff26d9d.tar.xz |
net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
We have an off-by-1 issue in the TCP seq comparison.
The last sequence number that belongs to the TCP packet's payload
is not "start_seq + len", but one byte before it.
Fix it so the 'ends_before' is evaluated properly.
This fixes a bug that results in error completions in the
kTLS HW offload flows.
Fixes: ffbd9ca94e2e ("net/mlx5e: kTLS, Fix corner-case checks in TX resync flow")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions