net/mlx5e: Check for needed capability for cvlan matching
stable inclusion from stable-5.10.43 commit c8972cf28ea11043280135859903ad69b03e0851 bugzilla: 109284 CVE: NA -------------------------------- [ Upstream commit afe93f71 ] If not supported show an error and return instead of trying to offload to the hardware and fail. Fixes: 699e96dd ("net/mlx5e: Support offloading tc double vlan headers match") Reported-by: NPablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: NRoi Dayan <roid@nvidia.com> Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录