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

[ Upstream commit 5d089684dc434a31e08d32f0530066d0025c52e4 ]

This reverts commit 6f9b1a0731662648949a1c0587f6acb3b7f8acf1.

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

Fixes: 6f9b1a073166 ("net/mlx5e: fix double free of encap_header")
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