<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netatm/ipatm, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2008-05-25T22:11:40Z</updated>
<entry>
<title>Remove netatm from HEAD as it is not MPSAFE and relies on the now removed</title>
<updated>2008-05-25T22:11:40Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2008-05-25T22:11:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4372ceba044f2b6dbde2fabf95ce2717135d47c'/>
<id>urn:sha1:e4372ceba044f2b6dbde2fabf95ce2717135d47c</id>
<content type='text'>
NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
months in HEAD/RELENG_7.  Specifics:

- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.

MFC after:	3 weeks
Reviewed by:	bz
Discussed with:	bms, bz, harti
</content>
</entry>
<entry>
<title>In keeping with style(9)'s recommendations on macros, use a ';'</title>
<updated>2008-03-16T10:58:09Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2008-03-16T10:58:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=237fdd787b20699fc2c01387011b06a9ce746cfa'/>
<id>urn:sha1:237fdd787b20699fc2c01387011b06a9ce746cfa</id>
<content type='text'>
after each SYSINIT() macro invocation.  This makes a number of
lightweight C parsers much happier with the FreeBSD kernel
source, including cflow's prcc and lxr.

MFC after:	1 month
Discussed with:	imp, rink
</content>
</entry>
<entry>
<title>Fix various compilation warnings for gcc-4.2.</title>
<updated>2007-06-23T00:02:20Z</updated>
<author>
<name>Matt Jacob</name>
<email>mjacob@FreeBSD.org</email>
</author>
<published>2007-06-23T00:02:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2a9a64c6a2c43649b24d6f0c9d82dabfeb01eeb9'/>
<id>urn:sha1:2a9a64c6a2c43649b24d6f0c9d82dabfeb01eeb9</id>
<content type='text'>
Approved by:	re (bruce)
</content>
</entry>
<entry>
<title>Convert to ANSI C function declarations.</title>
<updated>2006-01-22T01:07:11Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-01-22T01:07:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed75546c77d624151455967ab46d0f9743d298cb'/>
<id>urn:sha1:ed75546c77d624151455967ab46d0f9743d298cb</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Normalize a significant number of kernel malloc type names:</title>
<updated>2005-10-31T15:41:29Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-10-31T15:41:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5bb84bc84b1d1f978dd93aa02acef9936e79abc0'/>
<id>urn:sha1:5bb84bc84b1d1f978dd93aa02acef9936e79abc0</id>
<content type='text'>
- Prefer '_' to ' ', as it results in more easily parsed results in
  memory monitoring tools such as vmstat.

- Remove punctuation that is incompatible with using memory type names
  as file names, such as '/' characters.

- Disambiguate some collisions by adding subsystem prefixes to some
  memory types.

- Generally prefer lower case to upper case.

- If the same type is defined in multiple architecture directories,
  attempt to use the same name in additional cases.

Not all instances were caught in this change, so more work is required to
finish this conversion.  Similar changes are required for UMA zone names.
</content>
</entry>
<entry>
<title>Push the assignment of a new or updated so_qlimit from solisten()</title>
<updated>2005-10-30T19:44:40Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-10-30T19:44:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d374e81efdc3cba56fdda9df539773070ca00dfe'/>
<id>urn:sha1:d374e81efdc3cba56fdda9df539773070ca00dfe</id>
<content type='text'>
following the protocol pru_listen() call to solisten_proto(), so
that it occurs under the socket lock acquisition that also sets
SO_ACCEPTCONN.  This requires passing the new backlog parameter
to the protocol, which also allows the protocol to be aware of
changes in queue limit should it wish to do something about the
new queue limit.  This continues a move towards the socket layer
acting as a library for the protocol.

Bump __FreeBSD_version due to a change in the in-kernel protocol
interface.  This change has been tested with IPv4 and UNIX domain
sockets, but not other protocols.
</content>
</entry>
<entry>
<title>Stop embedding struct ifnet at the top of driver softcs. Instead the</title>
<updated>2005-06-10T16:49:24Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2005-06-10T16:49:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fc74a9f93a5fbc83262aa12084404ac953c854b5'/>
<id>urn:sha1:fc74a9f93a5fbc83262aa12084404ac953c854b5</id>
<content type='text'>
struct ifnet or the layer 2 common structure it was embedded in have
been replaced with a struct ifnet pointer to be filled by a call to the
new function, if_alloc(). The layer 2 common structure is also allocated
via if_alloc() based on the interface type. It is hung off the new
struct ifnet member, if_l2com.

This change removes the size of these structures from the kernel ABI and
will allow us to better manage them as interfaces come and go.

Other changes of note:
 - Struct arpcom is no longer referenced in normal interface code.
   Instead the Ethernet address is accessed via the IFP2ENADDR() macro.
   To enforce this ac_enaddr has been renamed to _ac_enaddr.
 - The second argument to ether_ifattach is now always the mac address
   from driver private storage rather than sometimes being ac_enaddr.

Reviewed by:	sobomax, sam
</content>
</entry>
<entry>
<title>In the current world order, solisten() implements the state transition of</title>
<updated>2005-02-21T21:58:17Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-02-21T21:58:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0daccb9c9439393cb1c83104717ab7e0e4db26b0'/>
<id>urn:sha1:0daccb9c9439393cb1c83104717ab7e0e4db26b0</id>
<content type='text'>
a socket from a regular socket to a listening socket able to accept new
connections.  As part of this state transition, solisten() calls into the
protocol to update protocol-layer state.  There were several bugs in this
implementation that could result in a race wherein a TCP SYN received
in the interval between the protocol state transition and the shortly
following socket layer transition would result in a panic in the TCP code,
as the socket would be in the TCPS_LISTEN state, but the socket would not
have the SO_ACCEPTCONN flag set.

This change does the following:

- Pushes the socket state transition from the socket layer solisten() to
  to socket "library" routines called from the protocol.  This permits
  the socket routines to be called while holding the protocol mutexes,
  preventing a race exposing the incomplete socket state transition to TCP
  after the TCP state transition has completed.  The check for a socket
  layer state transition is performed by solisten_proto_check(), and the
  actual transition is performed by solisten_proto().

- Holds the socket lock for the duration of the socket state test and set,
  and over the protocol layer state transition, which is now possible as
  the socket lock is acquired by the protocol layer, rather than vice
  versa.  This prevents additional state related races in the socket
  layer.

This permits the dual transition of socket layer and protocol layer state
to occur while holding locks for both layers, making the two changes
atomic with respect to one another.  Similar changes are likely require
elsewhere in the socket/protocol code.

Reported by:		Peter Holm &lt;peter@holm.cc&gt;
Review and fixes from:	emax, Antoine Brodin &lt;antoine.brodin@laposte.net&gt;
Philosophical head nod:	gnn
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T01:45:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T01:45:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c398230b64aea809cb7c5cea8db580af7097920c'/>
<id>urn:sha1:c398230b64aea809cb7c5cea8db580af7097920c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Include &lt;sys/malloc.h&gt; for the declaration of malloc(), etc. instead</title>
<updated>2003-11-14T21:02:10Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2003-11-14T21:02:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f9d801d6f7aa87151c11a4079eb72b744370b236'/>
<id>urn:sha1:f9d801d6f7aa87151c11a4079eb72b744370b236</id>
<content type='text'>
of depending on namespace pollution 2 layers deep in &lt;vm/uma.h&gt;.  Fixed
most nearby include messes (another like this, several the opposite of
this, and some formatting).
</content>
</entry>
</feed>
