Files
linux/net/ipv6
Greg Rose 2e3cbdeae8 rtnetlink: Compute and store minimum ifinfo dump size
commit c7ac8679be upstream.

The message size allocated for rtnl ifinfo dumps was limited to
a single page.  This is not enough for additional interface info
available with devices that support SR-IOV and caused a bug in
which VF info would not be displayed if more than approximately
40 VFs were created per interface.

Implement a new function pointer for the rtnl_register service that will
calculate the amount of data required for the ifinfo dump and allocate
enough data to satisfy the request.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:43:58 -08:00
..
2012-02-03 09:18:54 -08:00
2010-09-23 14:33:39 -07:00
2011-04-22 11:04:14 -07:00
2010-05-11 14:40:55 +02:00
2012-10-13 05:28:07 +09:00
2011-05-19 16:21:22 -04:00
2012-10-13 05:28:07 +09:00
2012-10-28 10:02:13 -07:00
2010-10-25 13:09:45 -07:00