]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Set proper IPsec source port in L4 selector
authorLeon Romanovsky <leonro@nvidia.com>
Mon, 31 Jul 2023 11:58:42 +0000 (14:58 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Aug 2023 01:38:42 +0000 (18:38 -0700)
commit62da08331f1a2bef9d0148613133ce8e640a2f8d
tree5bd039feb0a77b5fa88a774ea9d346d693ab4be2
parentc635ca45a7a2023904a1f851e99319af7b87017d
net/mlx5e: Set proper IPsec source port in L4 selector

Fix typo in setup_fte_upper_proto_match() where destination UDP port
was used instead of source port.

Fixes: a7385187a386 ("net/mlx5e: IPsec, support upper protocol selector field offload")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/ffc024a4d192113103f392b0502688366ca88c1f.1690803944.git.leonro@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c