]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: forwarding: vxlan_bridge_1d: use more proper tos value
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 17 Feb 2020 03:43:15 +0000 (11:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:18:29 +0000 (07:18 +0100)
commit16a4f09b0c9a96e2a5e33e3a965aed4f5ee76d2a
treec75929374ecebdafe42cd2638a47c41286ed7e4b
parent75f65936d79a93fb59005cb7d54d194cda5a9001
selftests: forwarding: vxlan_bridge_1d: use more proper tos value

[ Upstream commit 9b64208f74fbd0e920475ecfe9326f8443fdc3a5 ]

0x11 and 0x12 set the ECN bits based on RFC2474, it would be better to avoid
that. 0x14 and 0x18 would be better and works as well.

Reported-by: Petr Machata <petrm@mellanox.com>
Fixes: 4e867c9a50ff ("selftests: forwarding: vxlan_bridge_1d: fix tos value")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh