Re: [PATCH net v3] net/sched: cls_api: add missing validation of netlink attributes

2018-10-15 Thread David Miller
From: Davide Caratti Date: Wed, 10 Oct 2018 22:00:58 +0200 > 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 >

[PATCH net v3] net/sched: cls_api: add missing validation of netlink attributes

2018-10-10 Thread Davide Caratti
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