linux-uconsole/net/decnet
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
..
netfilter include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
af_decnet.c decnet: Convert to use flowidn where applicable. 2011-03-12 15:08:55 -08:00
dn_dev.c rtnetlink: Compute and store minimum ifinfo dump size 2013-01-17 08:43:58 -08:00
dn_fib.c rtnetlink: Compute and store minimum ifinfo dump size 2013-01-17 08:43:58 -08:00
dn_neigh.c net: fix NULL dereferences in check_peer_redir() 2012-02-13 11:06:13 -08:00
dn_nsp_in.c Merge branch 'master' of /repos/git/net-next-2.6 2010-04-20 16:02:01 +02:00
dn_nsp_out.c decnet: Convert to use flowidn where applicable. 2011-03-12 15:08:55 -08:00
dn_route.c rtnetlink: Compute and store minimum ifinfo dump size 2013-01-17 08:43:58 -08:00
dn_rules.c decnet: Convert to use flowidn where applicable. 2011-03-12 15:08:55 -08:00
dn_table.c decnet: Don't leak entries when rebuilding zone. 2011-04-17 20:47:07 -07:00
dn_timer.c
Kconfig
Makefile
README
sysctl_net_decnet.c net: avoid limits overflow 2010-11-10 12:12:00 -08:00
TODO

                       Linux DECnet Project
                      ======================

The documentation for this kernel subsystem is available in the
Documentation/networking subdirectory of this distribution and also
on line at http://www.chygwyn.com/DECnet/

Steve Whitehouse <SteveW@ACM.org>