aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMaor Dickman <maord@nvidia.com>2022-08-04 15:28:42 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2022-08-22 12:57:09 -0700
commit550f96432e6f6770efdaee0e65239d61431062a1 (patch)
treef938a3e97674ef398b11093e8c333e7388a1b964 /lib/mpi/mpi-bit.c
parentnet/mlx5e: TC, Add missing policer validation (diff)
downloadwireguard-linux-550f96432e6f6770efdaee0e65239d61431062a1.tar.xz
wireguard-linux-550f96432e6f6770efdaee0e65239d61431062a1.zip
net/mlx5e: Fix wrong tc flag used when set hw-tc-offload off
The cited commit reintroduced the ability to set hw-tc-offload in switchdev mode by reusing NIC mode calls without modifying it to support both modes, this can cause an illegal memory access when trying to turn hw-tc-offload off. Fix this by using the right TC_FLAG when checking if tc rules are installed while disabling hw-tc-offload. Fixes: d3cbd4254df8 ("net/mlx5e: Add ndo_set_feature for uplink representor") Signed-off-by: Maor Dickman <maord@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions