Re: [PATCH net] rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver

2015-07-08 Thread David Miller
From: Daniel Borkmann Date: Tue, 7 Jul 2015 00:07:52 +0200 > Jason Gunthorpe reported that since commit c02db8c6290b ("rtnetlink: make > SR-IOV VF interface symmetric"), we don't verify IFLA_VF_INFO attributes > anymore with respect to their policy, that is, ifla_vfinfo_policy[]. > > Before, th

Re: [PATCH net] rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver

2015-07-07 Thread Vlad Zolotarov
On 07/07/15 01:07, Daniel Borkmann wrote: Jason Gunthorpe reported that since commit c02db8c6290b ("rtnetlink: make SR-IOV VF interface symmetric"), we don't verify IFLA_VF_INFO attributes anymore with respect to their policy, that is, ifla_vfinfo_policy[]. Before, they were part of ifla_polic

[PATCH net] rtnetlink: verify IFLA_VF_INFO attributes before passing them to driver

2015-07-06 Thread Daniel Borkmann
Jason Gunthorpe reported that since commit c02db8c6290b ("rtnetlink: make SR-IOV VF interface symmetric"), we don't verify IFLA_VF_INFO attributes anymore with respect to their policy, that is, ifla_vfinfo_policy[]. Before, they were part of ifla_policy[], but they have been nested since placed un