# Regression: "rtnetlink: Compute and store minimum ifinfo dump size" breaks glibc's getifaddrs()

- From: David Vrabel \<hidden\>
- Date: 2012-01-27 12:37:17 
- List: netdev
- Page: https://ratatoskr.run/netdev/2012/01/10887352
- Thread: https://ratatoskr.run/netdev/2012/01/10887352/t.md

```text
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
```
