sockstat: struct xtcpcb size mismatch

Boris Samorodov bsam at ipt.ru
Fri Dec 7 05:08:08 PST 2007


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


More information about the freebsd-current mailing list