cvs commit: src UPDATING src/sys/sys param.h src/sys/net if.c
if.h
Brooks Davis
brooks at one-eyed-alien.net
Mon Aug 30 14:53:24 PDT 2004
On Mon, Aug 30, 2004 at 05:34:23PM -0400, Andrew Gallatin wrote:
>
> Brooks Davis writes:
> >
> > I don't think so. The main offenders will be programs that walk the
> > interface list via libkvm and programs that use struct if_data.
> > ifconfig does neither. If you haven't recompiled a module, a
> > non-working ifconfig might result if by some miracle you didn't get a
> > panic on attach.
>
> ppc does not even build modules, so that's out. An older ifconfig
> pukes, while a new one works, so some sort of kernel/userland ABI must
> have changed in the last week. Has the data exported by sysctl changed
> recently?
I think I found it, at least partially. The issue is struct if_msghdr
which is used by ifconfig. It contains a struct if_data. It has grown
by a struct timeval. The weird thing is that this shouldn't be a
problem becuase if_msghdr has a length and my addition was to the end so
ifconfig should be able to skip over it, but it doesn't seem to actually
work.
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040830/fb91349b/attachment.bin
More information about the cvs-src
mailing list