Paolo Abeni
97763dc0f4
net_sched: reject unknown tcfa_action values
...
After the commit 802bfb1915
("net/sched: user-space can't set
unknown tcfa_action values"), unknown tcfa_action values are
converted to TC_ACT_UNSPEC, but the common agreement is instead
rejecting such configurations.
This change also introduces a helper to simplify the destruction
of a single action, avoiding code duplication.
v1 -> v2:
- helper is now static and renamed according to act_* convention
- updated extack message, according to the new behavior
Fixes: 802bfb1915
("net/sched: user-space can't set unknown tcfa_action values")
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
Acked-by: Jiri Pirko <jiri@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2018-08-29 22:10:59 -07:00
..
2018-08-29 22:10:59 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:45 -07:00
2018-08-21 12:45:44 -07:00
2017-12-13 13:18:46 -05:00
2017-10-12 22:13:20 -07:00
2017-12-13 13:18:46 -05:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-29 18:11:05 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-21 12:45:44 -07:00
2018-08-27 15:16:16 -07:00
2018-07-24 14:10:42 -07:00
2018-07-29 13:19:49 -07:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-08-07 12:35:17 -07:00
2018-05-24 22:56:15 -04:00
2018-08-16 12:08:26 -07:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2018-08-13 19:37:42 -07:00
2018-08-26 14:21:50 -07:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2018-02-21 13:15:33 -05:00
2017-07-01 07:39:08 -07:00
2018-01-24 14:52:40 -05:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-10-16 21:00:40 +01:00
2018-07-24 14:44:00 -07:00
2018-07-24 14:44:00 -07:00
2018-07-04 22:30:27 +09:00
2017-12-21 12:32:51 -05:00
2018-06-17 08:42:33 +09:00
2018-08-22 21:39:45 -07:00
2017-12-21 12:32:51 -05:00
2018-07-26 13:58:30 -07:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-07-04 22:30:28 +09:00
2017-12-21 12:32:51 -05:00
2018-07-12 12:32:09 -07:00
2018-05-02 16:37:38 -04:00
2018-05-31 13:26:19 -04:00
2017-12-21 12:32:50 -05:00
2018-06-23 10:58:46 +09:00
2018-06-12 16:19:22 -07:00
2018-06-24 16:42:46 +09:00
2018-01-17 14:53:57 -05:00
2018-05-29 09:49:16 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-06-28 22:06:24 +09:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2018-02-28 12:06:01 -05:00
2017-12-21 12:32:51 -05:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:51 -05:00
2017-12-21 12:32:51 -05:00
2018-07-24 14:44:00 -07:00
2018-05-18 13:52:32 -04:00
2017-12-21 12:32:50 -05:00