Date: Wed, 15 Mar 2006 19:59:09 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys socketvar.h Message-ID: <20060315185909.GA16188@garage.freebsd.pl> In-Reply-To: <200603151230.k2FCU6sH042768@repoman.freebsd.org> References: <200603151230.k2FCU6sH042768@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Mar 15, 2006 at 12:30:06PM +0000, Robert Watson wrote: +> rwatson 2006-03-15 12:30:06 UTC +> +> FreeBSD src repository +> +> Modified files: +> sys/sys socketvar.h +> Log: +> Add SS_PROTOREF socket flag, which represents a strong reference by the +> protocol to the socket. Normally protocol references are weak: that is, +> 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. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEGGP9ForvXbEpPzQRAlU4AJ0futRhlOVrCpE7M62LvCbsm2Eg8ACg1Qsl OM+E+twZd0KD6/XVCNtlrCw= =93ro -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060315185909.GA16188>
