Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 14:53:23 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src UPDATING src/sys/sys param.h src/sys/net if.c if.h
Message-ID:  <20040830215323.GB24404@odin.ac.hmc.edu>
In-Reply-To: <16691.40287.478937.342838@grasshopper.cs.duke.edu>
References:  <200408300629.i7U6TQ5C088279@repoman.freebsd.org> <20040830155015.A40262@grasshopper.cs.duke.edu> <20040830213003.GA24404@odin.ac.hmc.edu> <16691.40287.478937.342838@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--bCsyhTFzCvuiizWE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 30, 2004 at 05:34:23PM -0400, Andrew Gallatin wrote:
>=20
> Brooks Davis writes:
>  >=20
>  > 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.
>=20
> 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

--=20
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

--bCsyhTFzCvuiizWE
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBM6HSXY6L6fI4GtQRAoxAAJ9ZjfCtlenItNzql76w7J7Gg6PLngCfUtBZ
eOdt+Tv5b35GMti6UcBqbRs=
=QMpm
-----END PGP SIGNATURE-----

--bCsyhTFzCvuiizWE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040830215323.GB24404>