Revert "net/mlx5e: fix double free of encap_header in update funcs"
authorVlad Buslov <vladbu@nvidia.com>
Tue, 21 Nov 2023 12:51:52 +0000 (13:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jan 2024 12:42:28 +0000 (12:42 +0000)
commitc47e9c569176cfe52d1cfc1572d6232999e65f35
tree991fc3af701d559093e1e88f495fc769b3244f4c
parentbcc5b2d8a339f089572b0e6360916177a596344b
Revert "net/mlx5e: fix double free of encap_header in update funcs"

[ Upstream commit 66ca8d4deca09bce3fc7bcf8ea7997fa1a51c33c ]

This reverts commit 3a4aa3cb83563df942be49d145ee3b7ddf17d6bb.

This patch is causing a null ptr issue, the proper fix is in the next
patch.

Fixes: 3a4aa3cb8356 ("net/mlx5e: fix double free of encap_header in update funcs")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c