net/mlx5e: E-Switch, Fix comparing termination table instance
stable inclusion from stable-v5.10.155 commit 3b27e20601abe48ae4baf9cb0cb0e3dcfdff4525 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7M5F4 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3b27e20601abe48ae4baf9cb0cb0e3dcfdff4525 -------------------------------- [ Upstream commit f4f4096b ] The pkt_reformat pointer being saved under flow_act and not dest attribute in the termination table instance. Fix the comparison pointers. Also fix returning success if one pkt_reformat pointer is null and the other is not. Fixes: 249ccc3c ("net/mlx5e: Add support for offloading traffic from uplink to uplink") Signed-off-by:Roi Dayan <roid@nvidia.com> Reviewed-by:
Chris Mi <cmi@nvidia.com> Signed-off-by:
Saeed Mahameed <saeedm@nvidia.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment