Hadar Hen Zion
339ba878cf
net_sched: flower: Avoid dissection of unmasked keys
...
The current flower implementation checks the mask range and set all the
keys included in that range as "used_keys", even if a specific key in
the range has a zero mask.
This behavior can cause a false positive return value of
dissector_uses_key function and unnecessary dissection in
__skb_flow_dissect.
This patch checks explicitly the mask of each key and "used_keys" will
be set accordingly.
Fixes: 77b9900ef5
('tc: introduce Flower classifier')
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com >
Signed-off-by: Jiri Pirko <jiri@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-08-18 23:13:13 -07:00
..
2016-08-17 19:27:51 -04:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-08-17 19:27:51 -04:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-07-25 21:49:19 -07:00
2016-08-17 19:27:51 -04:00
2015-03-09 15:35:55 -04:00
2016-07-01 16:00:47 -04:00
2015-07-20 12:41:30 -07:00
2015-11-08 20:56:39 -05:00
2016-08-18 23:13:13 -07:00
2015-09-24 14:33:30 -07:00
2016-07-24 23:11:59 -07:00
2015-03-09 15:35:55 -04:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2015-08-26 11:01:45 -07:00
2015-08-26 11:01:44 -07:00
2016-06-08 21:43:14 -07:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2015-09-18 21:58:14 +02:00
2016-04-14 00:35:30 -04:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2015-02-20 15:30:56 -05:00
2016-07-24 23:11:59 -07:00
2016-07-24 23:11:59 -07:00
2016-08-18 21:19:08 -07:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-08-10 17:19:02 -07:00
2016-06-25 12:19:35 -04:00
2016-08-08 16:06:47 -07:00
2016-06-25 12:19:35 -04:00
2016-07-24 00:53:32 -04:00
2016-06-07 16:59:53 -07:00
2016-08-10 17:19:02 -07:00
2016-08-10 17:19:02 -07:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-30 05:03:36 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00
2016-06-25 12:19:35 -04:00