summaryrefslogtreecommitdiffstats
path: root/net/sched/Makefile
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-10-04 00:05:36 +0200
committerDavid S. Miller <davem@davemloft.net>2018-10-05 23:26:44 +0200
commit8b4c3cdd9dd8290343ce959a132d3b334062c5b9 (patch)
tree11f2cdafb6a217858f0fa1f273bb26cc919be840 /net/sched/Makefile
parentrtnetlink: fix rtnl_fdb_dump() for ndmsg header (diff)
downloadlinux-8b4c3cdd9dd8290343ce959a132d3b334062c5b9.tar.xz
linux-8b4c3cdd9dd8290343ce959a132d3b334062c5b9.zip
net: sched: Add policy validation for tc attributes
A number of TC attributes are processed without proper validation (e.g., length checks). Add a tca policy for all input attributes and use when invoking nlmsg_parse. The 2 Fixes tags below cover the latest additions. The other attributes are a string (KIND), nested attribute (OPTIONS which does seem to have validation in most cases), for dumps only or a flag. Fixes: 5bc1701881e39 ("net: sched: introduce multichain support for filters") Fixes: d47a6b0e7c492 ("net: sched: introduce ingress/egress block index attributes for qdisc") Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Makefile')
0 files changed, 0 insertions, 0 deletions