summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorwenxu2019-05-15 11:25:45 +0200
committerSaeed Mahameed2019-05-29 03:25:42 +0200
commit24bcd210e272c1e5fc712fbc5e5c21f59a21abf7 (patch)
tree1c68aed2c52a7eaa34353984f8f6a9993f5fefdb /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5: Allocate root ns memory using kzalloc to match kfree (diff)
downloadkernel-qcow2-linux-24bcd210e272c1e5fc712fbc5e5c21f59a21abf7.tar.gz
kernel-qcow2-linux-24bcd210e272c1e5fc712fbc5e5c21f59a21abf7.tar.xz
kernel-qcow2-linux-24bcd210e272c1e5fc712fbc5e5c21f59a21abf7.zip
net/mlx5e: restrict the real_dev of vlan device is the same as uplink device
When register indr block for vlan device, it should check the real_dev of vlan device is same as uplink device. Or it will set offload rule to mlx5e which will never hit. Fixes: 35a605db168c ("net/mlx5e: Offload TC e-switch rules with ingress VLAN device") Signed-off-by: wenxu <wenxu@ucloud.cn> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions