Revert "net/mlx5e: fix double free of encap_header"

[ Upstream commit 5d089684dc ]

This reverts commit 6f9b1a0731.

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

Fixes: 6f9b1a0731 ("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>
This commit is contained in:
Vlad Buslov 2023-11-21 13:52:28 +01:00 • committed by Greg Kroah-Hartman
commit 31037cfcef