]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: vxlan_bridge_1d: fix tos value
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 13 Feb 2020 09:40:54 +0000 (17:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 02:57:27 +0000 (18:57 -0800)
commitb0d491af21c5f12fe1e389fb4a97651d3001e783
tree03cb1862f34b092ff224ebaa6fc50aefefedb9f2
parent0f4da77bbb2df0bceb6770eaf8fd3ddad6d0d0e2
selftests: forwarding: vxlan_bridge_1d: fix tos value

After commit 6f031e6b7c58 ("vxlan: fix tos value before xmit") we start
strict vxlan xmit tos value by RT_TOS(), which limits the tos value less
than 0x1E. With current value 0x40 the test will failed with "v1: Expected
to capture 10 packets, got 0". So let's choose a smaller tos value for
testing.

Fixes: 65add53921b5 ("selftests: forwarding: vxlan_bridge_1d: Add a TOS test")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/vxlan_bridge_1d.sh