<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet/accf_data.c, branch releng/6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>add missing #include &lt;sys/module.h&gt;</title>
<updated>2004-05-30T20:27:19+00:00</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2004-05-30T20:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5dba30f15ae1cec2dcdc19be3f3efa0331755f42'/>
<id>5dba30f15ae1cec2dcdc19be3f3efa0331755f42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove so*_locked(), which were backed out by mistake.</title>
<updated>2002-06-18T07:42:02+00:00</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-06-18T07:42:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=03e4918190e22ff4002e360efda68eb1882d11da'/>
<id>03e4918190e22ff4002e360efda68eb1882d11da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Back out my lats commit of locking down a socket, it conflicts with hsu's work.</title>
<updated>2002-05-31T11:52:35+00:00</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-05-31T11:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cc20ab1f0f3d1126126327aa298ab88c974c53d'/>
<id>4cc20ab1f0f3d1126126327aa298ab88c974c53d</id>
<content type='text'>
Requested by:	hsu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requested by:	hsu
</pre>
</div>
</content>
</entry>
<entry>
<title>Lock down a socket, milestone 1.</title>
<updated>2002-05-20T05:41:09+00:00</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-05-20T05:41:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=243917fe3b5e36464ab72473e872da9acd44aa1c'/>
<id>243917fe3b5e36464ab72473e872da9acd44aa1c</id>
<content type='text'>
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o Add a mutex (sb_mtx) to struct sockbuf. This protects the data in a
  socket buffer. The mutex in the receive buffer also protects the data
  in struct socket.

o Determine the lock strategy for each members in struct socket.

o Lock down the following members:

  - so_count
  - so_options
  - so_linger
  - so_state

o Remove *_locked() socket APIs.  Make the following socket APIs
  touching the members above now require a locked socket:

 - sodisconnect()
 - soisconnected()
 - soisconnecting()
 - soisdisconnected()
 - soisdisconnecting()
 - sofree()
 - soref()
 - sorele()
 - sorwakeup()
 - sotryfree()
 - sowakeup()
 - sowwakeup()

Reviewed by:	alfred
</pre>
</div>
</content>
</entry>
<entry>
<title>Redo the sigio locking.</title>
<updated>2002-05-01T20:44:46+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-05-01T20:44:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f132072368c112104e35151ee7a1c30a1b74a107'/>
<id>f132072368c112104e35151ee7a1c30a1b74a107</id>
<content type='text'>
Turn the sigio sx into a mutex.

Sigio lock is really only needed to protect interrupts from dereferencing
the sigio pointer in an object when the sigio itself is being destroyed.

In order to do this in the most unintrusive manner change pgsigio's
sigio * argument into a **, that way we can lock internally to the
function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turn the sigio sx into a mutex.

Sigio lock is really only needed to protect interrupts from dereferencing
the sigio pointer in an object when the sigio itself is being destroyed.

In order to do this in the most unintrusive manner change pgsigio's
sigio * argument into a **, that way we can lock internally to the
function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert the change of #includes in sys/filedesc.h and sys/socketvar.h.</title>
<updated>2002-04-30T01:54:54+00:00</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-04-30T01:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=960ed29c4b5c209a86a16b0dee145fd6d23390f8'/>
<id>960ed29c4b5c209a86a16b0dee145fd6d23390f8</id>
<content type='text'>
Requested by:	bde

Since locking sigio_lock is usually followed by calling pgsigio(),
move the declaration of sigio_lock and the definitions of SIGIO_*() to
sys/signalvar.h.

While I am here, sort include files alphabetically, where possible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Requested by:	bde

Since locking sigio_lock is usually followed by calling pgsigio(),
move the declaration of sigio_lock and the definitions of SIGIO_*() to
sys/signalvar.h.

While I am here, sort include files alphabetically, where possible.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a global sx sigio_lock to protect the pointer to the sigio object</title>
<updated>2002-04-27T08:24:29+00:00</updated>
<author>
<name>Seigo Tanimura</name>
<email>tanimura@FreeBSD.org</email>
</author>
<published>2002-04-27T08:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d48d4b2501ae630314107a3b5c1cd442616cad6f'/>
<id>d48d4b2501ae630314107a3b5c1cd442616cad6f</id>
<content type='text'>
of a socket.  This avoids lock order reversal caused by locking a
process in pgsigio().

sowakeup() and the callers of it (sowwakeup, soisconnected, etc.) now
require sigio_lock to be locked.  Provide sowwakeup_locked(),
soisconnected_locked(), and so on in case where we have to modify a
socket and wake up a process atomically.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
of a socket.  This avoids lock order reversal caused by locking a
process in pgsigio().

sowakeup() and the callers of it (sowwakeup, soisconnected, etc.) now
require sigio_lock to be locked.  Provide sowwakeup_locked(),
soisconnected_locked(), and so on in case where we have to modify a
socket and wake up a process atomically.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove headers not needed.</title>
<updated>2000-10-07T23:15:17+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2000-10-07T23:15:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=abbfaeb87b11c3f36cce0d6fea443ead28648636'/>
<id>abbfaeb87b11c3f36cce0d6fea443ead28648636</id>
<content type='text'>
Pointed out by: phk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointed out by: phk
</pre>
</div>
</content>
</entry>
<entry>
<title>Forget to include sysctl.h</title>
<updated>2000-09-09T18:47:46+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2000-09-09T18:47:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b47ce7f5cb5deccf0c360b716c1c1ada38e5a4c7'/>
<id>b47ce7f5cb5deccf0c360b716c1c1ada38e5a4c7</id>
<content type='text'>
Submitted by: des
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by: des
</pre>
</div>
</content>
</entry>
<entry>
<title>return of the accept filter part II</title>
<updated>2000-06-20T01:09:23+00:00</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2000-06-20T01:09:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a79b71281cd63ad7a6cc43a6d5673a2510b51630'/>
<id>a79b71281cd63ad7a6cc43a6d5673a2510b51630</id>
<content type='text'>
accept filters are now loadable as well as able to be compiled into
the kernel.

two accept filters are provided, one that returns sockets when data
arrives the other when an http request is completed (doesn't work
with 0.9 requests)

Reviewed by: jmg
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
accept filters are now loadable as well as able to be compiled into
the kernel.

two accept filters are provided, one that returns sockets when data
arrives the other when an http request is completed (doesn't work
with 0.9 requests)

Reviewed by: jmg
</pre>
</div>
</content>
</entry>
</feed>
