Re: [PATCH net] rtnetlink: fix rtnl_vfinfo_size

2016-11-15 Thread David Miller
From: Sabrina Dubroca Date: Tue, 15 Nov 2016 10:39:03 +0100 > The size reported by rtnl_vfinfo_size doesn't match the space used by > rtnl_fill_vfinfo. > > rtnl_vfinfo_size currently doesn't account for the nest attributes > used by statistics (added in commit 3b766cd83232), nor for struct > ifl

[PATCH net] rtnetlink: fix rtnl_vfinfo_size

2016-11-15 Thread Sabrina Dubroca
The size reported by rtnl_vfinfo_size doesn't match the space used by rtnl_fill_vfinfo. rtnl_vfinfo_size currently doesn't account for the nest attributes used by statistics (added in commit 3b766cd83232), nor for struct ifla_vf_tx_rate (since commit ed616689a3d9, which added ifla_vf_rate to the d