aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ulp.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2023-01-09 08:43:13 +0000
committerSaeed Mahameed <[email protected]>2023-01-18 08:01:39 +0000
commit16bccbaa00b6127ed0ebfd77bd1f10341df8d498 (patch)
tree3b205deb457de6e87ba52c76fa0cac3f126e11d1 /net/ipv4/tcp_ulp.c
parentnet/mlx5e: Set decap action based on attr for sample (diff)
downloadkernel-16bccbaa00b6127ed0ebfd77bd1f10341df8d498.tar.gz
kernel-16bccbaa00b6127ed0ebfd77bd1f10341df8d498.zip
net/mlx5e: Remove optimization which prevented update of ESN state
aso->use_cache variable introduced in commit 8c582ddfbb47 ("net/mlx5e: Handle hardware IPsec limits events") was an optimization to skip recurrent calls to mlx5e_ipsec_aso_query(). Such calls are possible when lifetime event is generated: -> mlx5e_ipsec_handle_event() -> mlx5e_ipsec_aso_query() - first call -> xfrm_state_check_expire() -> mlx5e_xfrm_update_curlft() -> mlx5e_ipsec_aso_query() - second call However, such optimization not really effective as mlx5e_ipsec_aso_query() is needed to be called for update ESN anyway, which was missed due to misplaced use_cache assignment. Fixes: cee137a63431 ("net/mlx5e: Handle ESN update events") Reviewed-by: Jianbo Liu <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ulp.c')
0 files changed, 0 insertions, 0 deletions