From owner-cvs-src@FreeBSD.ORG Wed Mar 15 18:59:55 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC5F116A420; Wed, 15 Mar 2006 18:59:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E4DB43D45; Wed, 15 Mar 2006 18:59:54 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9D92D51A3A; Wed, 15 Mar 2006 19:59:52 +0100 (CET) Received: from localhost (dkj188.neoplus.adsl.tpnet.pl [83.24.13.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 318FA516FE; Wed, 15 Mar 2006 19:59:45 +0100 (CET) Date: Wed, 15 Mar 2006 19:59:09 +0100 From: Pawel Jakub Dawidek To: Robert Watson Message-ID: <20060315185909.GA16188@garage.freebsd.pl> References: <200603151230.k2FCU6sH042768@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <200603151230.k2FCU6sH042768@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys socketvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2006 18:59:55 -0000 --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 15, 2006 at 12:30:06PM +0000, Robert Watson wrote: +> rwatson 2006-03-15 12:30:06 UTC +>=20 +> FreeBSD src repository +>=20 +> Modified files: +> sys/sys socketvar.h=20 +> Log: +> Add SS_PROTOREF socket flag, which represents a strong reference by the +> protocol to the socket. Normally protocol references are weak: that i= s, +> the socket layer can tear down the socket (and hence protocol state) +> when it finds convenient. This flag will allow the protocol to +> explicitly declare to the socket layer that it is maintaining a +> strong reference, rather than the current implicit model associated +> with so_pcb pointer values and repeated attempts to possibly free the +> socket. [...] +> @@ -208,6 +208,7 @@ extern struct mtx accept_mtx; +> #define SS_ASYNC 0x0200 /* async i/o notify */ +> #define SS_ISCONFIRMING 0x0400 /* deciding to accept connection req */ +> #define SS_ISDISCONNECTED 0x2000 /* socket disconnected from peer */ +> +#define SS_PROTOREF 0x400 /* strong protocol reference */ You probably wanted 0x4000 here, no 0x400 which is already defined as SS_ISCONFIRMING. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEGGP9ForvXbEpPzQRAlU4AJ0futRhlOVrCpE7M62LvCbsm2Eg8ACg1Qsl OM+E+twZd0KD6/XVCNtlrCw= =93ro -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc--