Skip to content
Snippets Groups Projects
Commit a21afd2a authored by Roi Dayan's avatar Roi Dayan Committed by Greg Kroah-Hartman
Browse files

net/mlx5e: Verify flow_source cap before using it


[ Upstream commit 1bf8b0da ]

When adding send to vport rule verify flow_source matching is
supported by checking the flow_source cap.

Fixes: d0444254 ("net/mlx5: E-Switch, set flow source for send to uplink rule")
Signed-off-by: default avatarRoi Dayan <roid@nvidia.com>
Reviewed-by: default avatarMaor Dickman <maord@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c7b2f2bb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment