cvs commit: src/sys/netinet tcp_input.c

Joerg Sonnenberger joerg at britannica.bec.de
Thu Apr 19 08:33:42 PDT 2007


On Wed, Apr 18, 2007 at 08:36:32PM -0700, Matthew Dillon wrote:
>     It is starting to make more sense.  I think what is happening is that
>     a callout timer is getting held up long enough for the TCP state to
>     change radically, due to the huge netstat -an, whos data is being loaded
>     via a sysctl.  I committed a fix for one related problem to HEAD but I
>     don't know if it is the one causing the crash.  Another possibility is
>     that the callout code is not properly detecting when a callout gets
>     ripped out from under it after blocking on the big giant lock.

Can't you just explicitly release and reacquire giant in the sysctl? It
should be MP safe already.

Joerg





More information about the Commits mailing list