Hi, This series by Shahar introduces RX async resync request cancel function in tls module, and uses it in mlx5e driver. For a device-offloaded TLS RX connection, the TLS module increments rcd_delta each time a new TLS record is received, tracking the distance from the original resync request. In the meanwhile, the device is queried and is expected to respond, asynchronously. However, if the device response is delayed or fails (e.g due to unstable connection and device getting out of tracking, hardware errors, resource exhaustion etc.), the TLS module keeps logging and incrementing rcd_delta, which can lead to a WARN() when rcd_delta exceeds the threshold. This series improves this code area by canceling the resync request when spotting an issue with the device response. Regards, Tariq Shahar Shitrit (3): net: tls: Introduce RX async resync request cancel function net: tls: Cancel RX async resync request on rdc_delta overflow net/mlx5e: kTLS, cancel RX async resync request in error flows .../mellanox/mlx5/core/en_accel/ktls_rx.c | 29 +++++++++++++++++-- .../mellanox/mlx5/core/en_accel/ktls_txrx.h | 4 +++ .../net/ethernet/mellanox/mlx5/core/en_rx.c | 4 +++ include/net/tls.h | 9 ++++++ net/tls/tls_device.c | 5 +++- 5 files changed, 47 insertions(+), 4 deletions(-) base-commit: 78dd8ad62cad4f5af22afc842890d531312bbb8a -- 2.31.1