All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression: "rtnetlink: Compute and store minimum ifinfo dump size" breaks glibc's getifaddrs()
@ 2012-01-27 12:36 David Vrabel
  2012-01-27 21:53 ` David Miller
  0 siblings, 1 reply; 6+ messages in thread
From: David Vrabel @ 2012-01-27 12:36 UTC (permalink / raw)
  To: netdev@vger.kernel.org; +Cc: Greg Rose, David S. Miller

Changeset c7ac8679bec9397afe8918f788cbcef88c38da54 (rtnetlink: Compute
and store minimum ifinfo dump size) applied to 3.1 increased the maximum
size of the RTM_GETLINK message response.

glibc's getifaddrs() function uses a page sized (4 KiB) buffer for the
RTM_GETLINK response and returns a failure if the message is truncated.
This buffer is not large enough if there is a network card with many
virtual functions.

What do you recommend to resolve this regression?

David

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

end of thread, other threads:[~2012-01-30 17:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 12:36 Regression: "rtnetlink: Compute and store minimum ifinfo dump size" breaks glibc's getifaddrs() David Vrabel
2012-01-27 21:53 ` David Miller
2012-01-27 22:26   ` Štefan Gula
2012-01-30 16:50   ` Rose, Gregory V
2012-01-30 16:58     ` David Miller
2012-01-30 17:02       ` Rose, Gregory V

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.