Bug#740509: ifconfig: ioctl(SIOCGIFINFO_IN6): No such device or address
On 23:34, Steven Chamberlain wrote:
> A sysctl { CTL_NET, PF_ROUTE, 0, 0, NET_RT_IFLIST, 0 } from
> kfreebsd-i386 userland on kfreebsd-amd64 9.0 or 10.0 kernel, never
> seems to fail with ENOMEM! Regardless of given buffer size:
Have tried on upstream 32-bit kernel with 32-bit userland, and it
doesn't have this issue. So it is probably a bug in the compat code
only.
GNU libc should perhaps start with an initial 1024-byte allocation
anyway, since 512 bytes is no longer enough even for a machine with
only one NIC.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: