Skip to content
Commit c2bf84f1 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Saeed Mahameed
Browse files

net/mlx5e: Tidy up IPsec NAT-T SA discovery



IPsec NAT-T packets are UDP encapsulated packets over ESP normal ones.
In case they arrive to RX, the SPI and ESP are located in inner header,
while the check was performed on outer header instead.

That wrong check caused to the situation where received rekeying request
was missed and caused to rekey timeout, which "compensated" this failure
by completing rekeying.

Fixes: d6595493 ("net/mlx5e: Support IPsec NAT-T functionality")
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
parent dddb49b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment