On Wed, Jul 01, 2015 at 11:36:15AM +0200, Daniel Borkmann wrote: > Hi Jason, > > On 07/01/2015 12:52 AM, Jason Gunthorpe wrote: > >It turns out the policy was defined but never actually checked, > >so lets check it. > > > >Fixes: ebc08a6f47ee ("rtnetlink: Add VF config code to rtnetlink") > > I would argue that the actual commit would be ... > > Fixes: c02db8c6290b ("rtnetlink: make SR-IOV VF interface symmetric")
Yes, agree > So, commit c02db8c6290b moved it into a nested attribute (IFLA_VF_INFO) > where we indeed don't do further validation. Imho, we should pass the > parsed attribute table from nla_parse_nested() down into do_setvfinfo(), > something like the below; I can give it a test run on my ixgbe. Yes, that is saner overall Jason -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html