<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/net, branch release/5.2.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F5.2.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2004-01-08T16:31:33Z</updated>
<entry>
<title>MFC 1.92: remove extraneous unlock that can lead to a panic</title>
<updated>2004-01-08T16:31:33Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2004-01-08T16:31:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=598a20cc0e6bb34019047496372a01421d7a1917'/>
<id>urn:sha1:598a20cc0e6bb34019047496372a01421d7a1917</id>
<content type='text'>
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Remove the call to M_ASSERTVALID from BPF_MTAP; some mbufs passed to</title>
<updated>2003-11-28T18:48:59Z</updated>
<author>
<name>Mike Silbersack</name>
<email>silby@FreeBSD.org</email>
</author>
<published>2003-11-28T18:48:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7be4a893c005d0779bc62182638d55c1ecfda34'/>
<id>urn:sha1:d7be4a893c005d0779bc62182638d55c1ecfda34</id>
<content type='text'>
mpf are allocated on the stack, which causes this check to falsely trigger.

A new check which takes on-stack mbufs into account will be reintroduced
after 5.2 is out the door.

Approved by:	re (watson)
Requested by:	many
</content>
</entry>
<entry>
<title>workaround LOR in rt_setgate</title>
<updated>2003-11-25T19:52:12Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2003-11-25T19:52:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72b9c8c9fd33286695cd1bab67c3cf89931b0186'/>
<id>urn:sha1:72b9c8c9fd33286695cd1bab67c3cf89931b0186</id>
<content type='text'>
Reviewed by:	andre
Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>Introduce tcp_hostcache and remove the tcp specific metrics from</title>
<updated>2003-11-20T20:07:39Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-20T20:07:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=97d8d152c28bb596e1c310d9842db5d0314207b2'/>
<id>urn:sha1:97d8d152c28bb596e1c310d9842db5d0314207b2</id>
<content type='text'>
the routing table.  Move all usage and references in the tcp stack
from the routing table metrics to the tcp hostcache.

It caches measured parameters of past tcp sessions to provide better
initial start values for following connections from or to the same
source or destination.  Depending on the network parameters to/from
the remote host this can lead to significant speedups for new tcp
connections after the first one because they inherit and shortcut
the learning curve.

tcp_hostcache is designed for multiple concurrent access in SMP
environments with high contention and is hash indexed by remote
ip address.

It removes significant locking requirements from the tcp stack with
regard to the routing table.

Reviewed by:	sam (mentor), bms
Reviewed by:	-net, -current, core@kame.net (IPv6 parts)
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Remove RTF_PRCLONING from routing table and adjust users of it</title>
<updated>2003-11-20T19:47:31Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-20T19:47:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=26d02ca7babf8bb8d1e2b9c8cb3e18ec0fcd1317'/>
<id>urn:sha1:26d02ca7babf8bb8d1e2b9c8cb3e18ec0fcd1317</id>
<content type='text'>
accordingly.  The define is left intact for ABI compatibility
with userland.

This is a pre-step for the introduction of tcp_hostcache.  The
network stack remains fully useable with this change.

Reviewed by:	sam (mentor), bms
Reviewed by:	-net, -current, core@kame.net (IPv6 parts)
Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Introduce a MAC label reference in 'struct inpcb', which caches</title>
<updated>2003-11-18T00:39:07Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2003-11-18T00:39:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a557af222b70694470f63e2a0f1bf58c9dcc73fd'/>
<id>urn:sha1:a557af222b70694470f63e2a0f1bf58c9dcc73fd</id>
<content type='text'>
the   MAC label referenced from 'struct socket' in the IPv4 and
IPv6-based protocols.  This permits MAC labels to be checked during
network delivery operations without dereferencing inp-&gt;inp_socket
to get to so-&gt;so_label, which will eventually avoid our having to
grab the socket lock during delivery at the network layer.

This change introduces 'struct inpcb' as a labeled object to the
MAC Framework, along with the normal circus of entry points:
initialization, creation from socket, destruction, as well as a
delivery access control check.

For most policies, the inpcb label will simply be a cache of the
socket label, so a new protocol switch method is introduced,
pr_sosetlabel() to notify protocols that the socket layer label
has been updated so that the cache can be updated while holding
appropriate locks.  Most protocols implement this using
pru_sosetlabel_null(), but IPv4/IPv6 protocols using inpcbs use
the the worker function in_pcbsosetlabel(), which calls into the
MAC Framework to perform a cache update.

Biba, LOMAC, and MLS implement these entry points, as do the stub
policy, and test policy.

Reviewed by:	sam, bms
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
</content>
</entry>
<entry>
<title>Introduce ip_fastforward and remove ip_flow.</title>
<updated>2003-11-14T21:02:22Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-14T21:02:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9188b4a1696629764d8bab276b82315fd8376a9a'/>
<id>urn:sha1:9188b4a1696629764d8bab276b82315fd8376a9a</id>
<content type='text'>
Short description of ip_fastforward:

 o adds full direct process-to-completion IPv4 forwarding code
 o handles ip fragmentation incl. hw support (ip_flow did not)
 o sends icmp needfrag to source if DF is set (ip_flow did not)
 o supports ipfw and ipfilter (ip_flow did not)
 o supports divert, ipfw fwd and ipfilter nat (ip_flow did not)
 o returns anything it can't handle back to normal ip_input

Enable with sysctl -w net.inet.ip.fastforwarding=1

Reviewed by:	sam (mentor)
</content>
</entry>
<entry>
<title>Fix a bug whereby the physical endpoints of a gre(4) tunnel would not</title>
<updated>2003-11-14T20:58:00Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2003-11-14T20:58:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f16770ae7e91af28ae114597582bcee74ddfb856'/>
<id>urn:sha1:f16770ae7e91af28ae114597582bcee74ddfb856</id>
<content type='text'>
be printed, if the module were loaded into a kernel which had INET6 enabled.

The gre(4) driver does not use INET6, nor is it specified for IPv6. The
tunnel_status() function in ifconfig(8) is somewhat overzealous and assumes
that all tunnel interfaces speak KAME ifioctls.

This fix follows the path of least resistance, by teaching gre(4) about
the two KAME ifioctls concerned.

PR:	bin/56341
</content>
</entry>
<entry>
<title>Add a sysctl MIB, NET_RT_IFMALIST, to retrieve multicast group memberships</title>
<updated>2003-11-14T18:48:15Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2003-11-14T18:48:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05b2efe044c9a43a1d0d9d119064d77b762a0461'/>
<id>urn:sha1:05b2efe044c9a43a1d0d9d119064d77b762a0461</id>
<content type='text'>
in a protocol-independent way.

Submitted by:	harti
</content>
</entry>
<entry>
<title>fix comments.</title>
<updated>2003-11-14T18:17:07Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-11-14T18:17:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=979ed0d5e6dbc26836572da9d1aeb69e18471440'/>
<id>urn:sha1:979ed0d5e6dbc26836572da9d1aeb69e18471440</id>
<content type='text'>
Obtained from:	KAME
</content>
</entry>
</feed>
