Re: sockstat: struct xtcpcb size mismatch

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Fri, 07 Dec 2007 16:06:28 +0300
On Fri, 7 Dec 2007 08:09:57 +0100 Attilio Rao wrote:
> 2007/12/6, Boris Samorodov <bsam_at_ipt.ru>:

> > tinderbox# uname -a
> > FreeBSD tinderbox.i386.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Dec  6 23:01:37 MSK 2007     root_at_tinderbox.i386.ipt.ru:/usr/obj/usr/src/sys/GENERIC+LP  i386
> > tinderbox# sockstat
> > sockstat: struct xtcpcb size mismatch
> > sockstat: struct xinpcb size mismatch
> > sockstat: struct xunpcb size mismatch
> > sockstat: struct xunpcb size mismatch
> > USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> > tinderbox#
[...]
> > +option         LOCK_PROFILING

> LOCK_PROFILING conditional ABI changes break this.

Thanks for the answer. And sorry, I can't understand what to do
further. Is it by design and should stay so or should it be fixed?

BTW, RELENG_7 behaves the same way. And "netstat -a" is broken:
-----
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
       0 #0     786433      0        0 ffffff0073eec940        0        0 E
       0 #0     524289      0        0 ffffff005a4a6a68        0        0
       0 #0     786433      0        0 ffffff00472aca68        0        0 E
       0 #0     524289      0        0 ffffff007cb77250        0        0
       0 #0          1      0        0 ffffff002e9cf378        0        0
-----


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Fri Dec 07 2007 - 12:08:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC