Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2001 05:57:59 -0700 (PDT)
From:      Joseph Mallett <jmallett@xMach.org>
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/30234: socketvar.h comment references obsolete structure members
Message-ID:  <200108311257.f7VCvx776057@freefall.freebsd.org>

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

>Number:         30234
>Category:       docs
>Synopsis:       socketvar.h comment references obsolete structure members
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 31 06:00:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Mallett
>Release:        4.3
>Organization:
>Environment:
FreeBSD Dalek.xMach.ORG 4.3-STABLE FreeBSD 4.3-STABLE #0: Mon Jun 18 07:07:16 EDT 2001     jmallett@Dalek.xMach.ORG:/usr/home/jmallett/vmunix.build  i386
>Description:
/sys/sys/socketvar.h has the folllowing comment:

 * For head socket so_q0 queues partially completed connections,
 * while so_q is a queue of connections ready to be accepted.
 * If a connection is aborted and it has so_head set, then
 * it has to be pulled out of either so_q0 or so_q.
 * We allow connections to queue up based on current queue lengths
 * and limit on number of queued connections for this socket.

but q0 and q have been replaced by so_incomp and so_comp.
>How-To-Repeat:
vi /sys/sys/socketvar.h
read the comment
and then look for the structure members it references
>Fix:
just replace the old names with the new names, and possibly mention something about the use of TAILQ
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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