netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3.0.y 0/3] rtnetlink: Fix problem with buffer allocation
@ 2013-01-04  0:30 Ben Hutchings
  2013-01-04  0:32 ` [PATCH 3.0.y 1/3] rtnetlink: Compute and store minimum ifinfo dump size Ben Hutchings
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ben Hutchings @ 2013-01-04  0:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: David Miller, Greg Rose, stable, e1000-devel, netdev,
	linux-net-drivers

These patches fix the problem that interface information including many
VFs is too large for the 4K buffers used by glibc and other clients.
This breaks many network services.

The first of these ('rtnetlink: Compute and store minimum ifinfo dump
size') went into 3.1 and has also been included in SLE11 SP2.  The
second and third were acked by David Miller and included in 3.2.34.

I've applied and briefly tested these changes in conjunction with a
backport of the sfc driver to SLE11 SP3.

Ben.

Eric Dumazet (1):
  rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo()

Greg Rose (2):
  rtnetlink: Compute and store minimum ifinfo dump size
  rtnetlink: Fix problem with buffer allocation

 drivers/infiniband/core/netlink.c    |    2 +-
 include/linux/if_link.h              |    1 +
 include/linux/netlink.h              |    6 +-
 include/linux/rtnetlink.h            |    3 +
 include/net/rtnetlink.h              |    7 ++-
 net/bridge/br_netlink.c              |   15 +++--
 net/core/fib_rules.c                 |    6 +-
 net/core/neighbour.c                 |   11 ++--
 net/core/rtnetlink.c                 |  127 +++++++++++++++++++++++++++-------
 net/dcb/dcbnl.c                      |    4 +-
 net/decnet/dn_dev.c                  |    6 +-
 net/decnet/dn_fib.c                  |    4 +-
 net/decnet/dn_route.c                |    5 +-
 net/ipv4/devinet.c                   |    6 +-
 net/ipv4/fib_frontend.c              |    6 +-
 net/ipv4/inet_diag.c                 |    2 +-
 net/ipv4/ipmr.c                      |    3 +-
 net/ipv4/route.c                     |    2 +-
 net/ipv6/addrconf.c                  |   16 +++--
 net/ipv6/addrlabel.c                 |    9 ++-
 net/ipv6/ip6_fib.c                   |    3 +-
 net/ipv6/ip6mr.c                     |    3 +-
 net/ipv6/route.c                     |    6 +-
 net/netfilter/ipset/ip_set_core.c    |    2 +-
 net/netfilter/nf_conntrack_netlink.c |    4 +-
 net/netlink/af_netlink.c             |   17 +++--
 net/netlink/genetlink.c              |    2 +-
 net/phonet/pn_netlink.c              |   13 ++--
 net/sched/act_api.c                  |    7 +-
 net/sched/cls_api.c                  |    6 +-
 net/sched/sch_api.c                  |   12 ++--
 net/xfrm/xfrm_user.c                 |    3 +-
 32 files changed, 216 insertions(+), 103 deletions(-)


-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-01-14 21:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04  0:30 [PATCH 3.0.y 0/3] rtnetlink: Fix problem with buffer allocation Ben Hutchings
2013-01-04  0:32 ` [PATCH 3.0.y 1/3] rtnetlink: Compute and store minimum ifinfo dump size Ben Hutchings
2013-01-04  0:33 ` [PATCH 3.0.y 2/3] rtnetlink: Fix problem with buffer allocation Ben Hutchings
2013-01-04 18:39   ` Greg Rose
2013-01-04  0:34 ` [PATCH 3.0.y 3/3] rtnetlink: fix rtnl_calcit() and rtnl_dump_ifinfo() Ben Hutchings
2013-01-04 18:40   ` Greg Rose
2013-01-04  0:36 ` [PATCH 3.0.y 0/3] rtnetlink: Fix problem with buffer allocation David Miller
2013-01-14 21:04 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).