Daniele Di Proietto
efa6665e4d
odp-util: Commit ICMP set only for ICMP packets.
...
commit_set_icmp_action() should do its job only if the packet is ICMP,
otherwise there will be two problems:
* A set ICMP action will be inserted in the ODP actions and the flow
will be slow pathed.
* The tp_src and tp_dst field will be unwildcarded.
Normal TCP or UDP packets won't be impacted, because
commit_set_icmp_action() is called after commit_set_port_action() and it
will see the fields as already committed (TCP/UCP transport ports and ICMP
code/type are stored in the same members in struct flow).
MPLS packets though will hit the bug, causing a nonsensical set action
(which will end up zeroing the transport source port) and an invalid
mask to be generated.
The commit also alters an MPLS testcase to trigger the bug.
2015-12-10 17:38:23 -08:00
..
2015-05-19 14:47:00 -07:00
2015-08-07 12:58:37 -07:00
2015-10-16 15:44:39 -07:00
2015-03-03 16:19:26 -08:00
2015-12-04 08:45:39 -08:00
2015-08-03 16:50:01 -07:00
2014-05-22 14:25:50 -07:00
2014-06-13 11:31:17 -07:00
2015-06-26 08:14:20 -07:00
2015-11-26 18:37:07 +09:00
2015-06-23 07:40:27 -07:00
2015-04-22 08:18:56 -07:00
2015-10-13 15:34:16 -07:00
2014-06-26 16:46:58 -07:00
2015-08-24 11:01:00 -07:00
2015-03-31 17:10:58 -07:00
2014-06-26 16:53:40 -07:00
2014-06-25 11:39:25 -07:00
2015-09-09 10:24:24 -07:00
2015-09-09 10:24:24 -07:00
2014-10-06 10:23:46 -07:00
2015-06-25 11:08:58 -07:00
2014-12-15 14:15:25 +01:00
2015-09-09 10:24:24 -07:00
2014-06-24 09:53:10 -07:00
2015-12-10 17:38:23 -08:00
2015-12-04 08:32:38 -08:00
2015-11-25 16:04:59 -08:00
2014-09-04 12:31:00 -07:00
2015-11-30 11:23:09 -08:00
2014-05-01 07:25:47 -07:00
2015-11-29 10:56:23 -08:00
2015-11-30 10:27:51 -08:00
2015-12-04 08:41:58 -08:00
2015-11-26 18:37:21 +09:00
2015-10-16 23:52:40 -07:00
2015-10-16 23:52:41 -07:00
2015-10-16 23:52:41 -07:00
2015-12-04 08:58:00 -08:00
2015-11-26 13:28:29 -08:00
2015-09-09 10:28:20 -07:00
2015-11-30 16:12:11 -08:00
2015-11-26 13:28:29 -08:00
2015-09-09 10:28:20 -07:00
2015-09-09 10:28:20 -07:00
2014-08-20 10:25:35 -07:00
2015-05-29 15:17:24 -07:00
2015-09-09 10:24:24 -07:00
2015-11-26 13:28:29 -08:00
2015-09-09 10:24:24 -07:00
2014-05-28 08:34:28 -07:00
2015-09-09 10:24:24 -07:00
2014-06-27 08:21:44 -07:00
2015-11-26 13:28:29 -08:00
2015-09-09 10:24:24 -07:00
2015-03-17 08:15:57 -07:00
2015-03-17 08:15:57 -07:00
2014-11-14 14:07:51 -08:00
2014-10-30 10:24:05 -07:00
2015-04-16 15:08:48 +09:00
2014-09-09 11:45:43 -07:00
2015-11-24 14:59:18 -08:00
2015-12-04 15:01:05 -08:00
2015-08-07 12:58:26 -07:00
2015-11-25 16:04:59 -08:00
2015-11-24 13:33:22 -08:00
2015-08-07 12:58:37 -07:00
2015-09-04 16:24:04 -07:00
2014-10-30 09:14:46 -07:00
2015-11-26 18:37:11 +09:00
2015-03-17 08:15:57 -07:00
2015-03-03 13:37:39 -08:00
2014-10-30 09:14:46 -07:00
2015-08-28 14:55:11 -07:00
2015-06-25 11:08:31 -07:00
2015-04-10 08:45:45 -07:00
2015-03-03 13:37:37 -08:00
2015-06-09 18:20:02 -07:00
2015-03-17 08:15:57 -07:00
2014-10-30 09:14:46 -07:00
2014-10-30 09:14:46 -07:00
2014-10-30 09:14:46 -07:00
2015-09-30 20:43:46 -07:00
2015-11-25 15:30:16 -08:00
2014-12-15 14:15:25 +01:00
2015-04-06 14:02:28 -07:00
2014-12-15 14:15:19 +01:00
2014-10-30 09:14:46 -07:00
2015-09-30 20:43:46 -07:00
2015-10-13 15:34:16 -07:00
2015-07-20 10:19:12 -07:00
2015-10-22 18:00:16 -07:00
2015-11-23 08:47:10 -08:00
2015-11-23 08:34:54 -08:00
2015-11-24 12:48:44 -08:00
2014-10-30 09:14:46 -07:00
2015-03-17 08:15:57 -07:00
2015-03-03 13:37:37 -08:00
2015-09-30 20:43:46 -07:00
2014-10-30 09:14:46 -07:00
2015-03-03 13:37:37 -08:00
2015-07-30 18:00:01 -07:00
2014-10-30 09:14:46 -07:00
2015-06-10 09:19:39 -07:00
2014-10-30 09:14:46 -07:00
2015-03-17 08:15:57 -07:00
2015-12-04 08:45:39 -08:00
2015-02-13 10:41:43 -08:00
2015-12-04 08:45:39 -08:00
2015-11-30 10:27:51 -08:00
2015-09-09 09:43:43 -07:00
2015-09-09 10:28:20 -07:00
2015-09-09 10:24:24 -07:00
2014-10-06 15:33:37 -07:00
2015-09-09 10:28:20 -07:00
2015-11-26 18:37:26 +09:00