Hangbin Liu
5aa3c334a4
selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
...
The ECN bit defines ECT(1) = 1, ECT(0) = 2. So inner 0x02 + outer 0x01
should be inner ECT(0) + outer ECT(1). Based on the description of
__INET_ECN_decapsulate, the final decapsulate value should be
ECT(1). So fix the test expect value to 0x01.
Before the fix:
TEST: VXLAN: ECN decap: 01/02->0x02 [FAIL]
Expected to capture 10 packets, got 0.
After the fix:
TEST: VXLAN: ECN decap: 01/02->0x01 [ OK ]
Fixes: a0b61f3d8e ("selftests: forwarding: vxlan_bridge_1d: Add an ECN decap test")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-03-19 13:54:28 -07:00
..
2021-03-19 13:54:28 -07:00
2021-03-12 17:52:27 -08:00
2020-09-24 08:53:04 +02:00
2019-11-08 14:10:27 -08:00
2020-11-12 16:14:38 -08:00
2020-11-02 15:23:27 -08:00
2020-12-08 23:30:04 +09:00
2020-09-30 18:01:26 -07:00
2021-01-14 16:26:50 -08:00
2020-07-14 15:06:12 -07:00
2021-03-04 14:04:49 -08:00
2019-05-21 13:44:17 -07:00
2021-01-19 17:03:16 -08:00
2019-05-22 17:50:24 -07:00
2020-02-02 13:33:21 -08:00
2020-02-02 13:33:21 -08:00
2020-03-29 21:48:30 -07:00
2020-08-17 14:59:24 -07:00
2020-06-02 15:54:20 -07:00
2020-07-17 12:49:18 -07:00
2021-03-05 13:00:38 -08:00
2019-05-28 17:18:53 -07:00
2019-05-28 17:18:53 -07:00
2019-05-28 17:18:53 -07:00
2019-10-22 14:01:35 -07:00
2021-01-26 17:52:16 -08:00
2020-08-05 12:25:35 -07:00
2018-12-03 15:58:32 -08:00
2021-01-14 16:26:50 -08:00
2021-01-07 12:03:36 -08:00
2020-11-09 16:41:40 -08:00
2019-05-30 11:29:55 -07:00
2020-09-03 14:59:10 -07:00
2019-05-30 11:29:55 -07:00
2021-03-16 15:01:21 -07:00
2020-03-12 12:08:09 -07:00
2020-03-21 20:23:10 -07:00
2018-12-14 15:55:20 -08:00
2019-11-01 15:11:02 -07:00
2019-06-24 09:02:47 -07:00
2020-10-19 17:55:29 -07:00
2019-07-02 20:17:49 -04:00
2019-04-19 14:39:51 -07:00
2020-08-02 01:02:12 -07:00
2020-06-23 20:36:46 -07:00
2021-02-08 14:56:20 -08:00
2019-12-14 18:03:01 -08:00
2020-12-04 13:30:51 -08:00
2020-12-04 13:30:51 -08:00
2019-06-16 14:27:14 -07:00
2019-08-15 11:34:32 -07:00
2019-06-05 17:30:27 +02:00
2020-08-20 16:14:53 -07:00
2019-07-01 19:34:46 -07:00
2018-12-18 21:18:26 -08:00
2020-12-14 17:38:12 -08:00
2020-11-02 14:21:39 -08:00
2021-02-03 18:47:36 -08:00
2019-11-06 17:35:49 -08:00
2019-07-08 15:39:38 -07:00
2021-02-04 20:22:30 -08:00
2020-07-21 16:11:07 -07:00
2018-11-07 16:23:05 -08:00
2021-01-05 16:59:21 -08:00
2020-12-10 13:22:19 -08:00
2019-11-07 14:54:08 -07:00
2019-06-19 17:33:47 -04:00
2019-11-25 14:58:09 -08:00
2021-01-26 17:52:16 -08:00
2020-10-14 17:14:28 -07:00
2020-07-23 17:51:04 -07:00
2020-04-22 19:31:40 -07:00
2021-01-04 10:35:09 +01:00