Davide Caratti
e331473fee
net/sched: cls_api: add missing validation of netlink attributes
...
Similarly to what has been done in 8b4c3cdd9dd8 ("net: sched: Add policy
validation for tc attributes"), fix classifier code to add validation of
TCA_CHAIN and TCA_KIND netlink attributes.
tested with:
# ./tdc.py -c filter
v2: Let sch_api and cls_api share nla_policy they have in common, thanks
to David Ahern.
v3: Avoid EXPORT_SYMBOL(), as validation of those attributes is not done
by TC modules, thanks to Cong Wang.
While at it, restore the 'Delete / get qdisc' comment to its orginal
position, just above tc_get_qdisc() function prototype.
Fixes: 5bc1701881e39 ("net: sched: introduce multichain support for filters")
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-15 21:48:44 -07:00
..
2018-09-03 21:47:33 -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-09-04 12:20:21 -07:00
2018-10-01 22:34:14 -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-09-14 08:46:28 -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-09-07 23:05:07 -07:00
2018-08-21 12:45:44 -07:00
2018-10-15 21:48:44 -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-10-07 21:02:37 -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-10-15 21:48:44 -07:00
2017-12-21 12:32:51 -05:00
2018-06-17 08:42:33 +09:00
2018-10-05 18:06:30 -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