]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mlxsw: spectrum_flower: Fix TOS matching
authorJiri Pirko <jiri@mellanox.com>
Tue, 11 Jun 2019 07:19:43 +0000 (10:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:08:14 +0000 (11:08 -0700)
commite49f9adffb28c5acbaea46ddfe2d17b1373c2473
tree23d1fce415cc222e6039b2a21a9308e9fc7cd8ac
parent45a69b70f54854a043530cc0f86fc30d77bc9620
mlxsw: spectrum_flower: Fix TOS matching

The TOS value was not extracted correctly. Fix it.

Fixes: 87996f91f739 ("mlxsw: spectrum_flower: Add support for ip tos")
Reported-by: Alexander Petrovskiy <alexpe@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c