Re: [PATCH net] net: sched: Add policy validation for tc attributes

2018-10-05 Thread David Miller
From: David Ahern Date: Wed, 3 Oct 2018 15:05:36 -0700 > From: David Ahern > > 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

[PATCH net] net: sched: Add policy validation for tc attributes

2018-10-03 Thread David Ahern
From: David Ahern 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 (O