<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netinet/ip_input.c, branch release/5.2.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F5.2.0_cvs'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2004-01-10T05:53:29Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2004-01-10T05:53:29Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-01-10T05:53:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=58c9ff44c8041f394c663cb9640e9b77fe07bb13'/>
<id>urn:sha1:58c9ff44c8041f394c663cb9640e9b77fe07bb13</id>
<content type='text'>
'RELENG_5_2_0_RELEASE'.

This commit was manufactured to restore the state of the 5.2-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
</content>
</entry>
<entry>
<title>Make sure all uses of stack allocated struct route's are properly</title>
<updated>2003-11-26T20:31:13Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-26T20:31:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0cfbbe3bdeedd02f73214f4482fa9309df399b55'/>
<id>urn:sha1:0cfbbe3bdeedd02f73214f4482fa9309df399b55</id>
<content type='text'>
zeroed.  Doing a bzero on the entire struct route is not more
expensive than assigning NULL to ro.ro_rt and bzero of ro.ro_dst.

Reviewed by:	sam (mentor)
Approved by:	re  (scottl)
</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-test2/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-test2/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>Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but</title>
<updated>2003-11-17T03:17:49Z</updated>
<author>
<name>Brian Feldman</name>
<email>green@FreeBSD.org</email>
</author>
<published>2003-11-17T03:17:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=633461295a6a55de1b7eea89c9ede087d19c8b2d'/>
<id>urn:sha1:633461295a6a55de1b7eea89c9ede087d19c8b2d</id>
<content type='text'>
do not have mh_nextpkt initialized.  Somtimes what's there is "1", and the
ip_input() code pukes trying to m_free() it, rendering divert sockets and
such broken.
This really underscores the need to get rid of MT_TAG.

Reviewed by:	rwatson
</content>
</entry>
<entry>
<title>Make ipstealth global as we need it in ip_fastforward too.</title>
<updated>2003-11-15T01:45:56Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-15T01:45:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c76ff7084fb90152836ce2093ec14d0e17770899'/>
<id>urn:sha1:c76ff7084fb90152836ce2093ec14d0e17770899</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the global one-level rtcache variable and associated</title>
<updated>2003-11-14T21:48:57Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2003-11-14T21:48:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=02c1c7070ef7e0cdee45ad20327400448a1f71f6'/>
<id>urn:sha1:02c1c7070ef7e0cdee45ad20327400448a1f71f6</id>
<content type='text'>
complex locking and rework ip_rtaddr() to do its own rtlookup.
Adopt all its callers to this and make ip_output() callable
with NULL rt pointer.

Reviewed by:	sam (mentor)
</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-test2/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>replace explicit changes to rt_refcnt by RT_ADDREF and RT_REMREF</title>
<updated>2003-11-08T23:36:32Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2003-11-08T23:36:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7138d65c3fe802e1ddafb8f02224b0e302ce8b7e'/>
<id>urn:sha1:7138d65c3fe802e1ddafb8f02224b0e302ce8b7e</id>
<content type='text'>
macros that expand to include assertions when the system is built
with INVARIANTS

Supported by:	FreeBSD Foundation
</content>
</entry>
<entry>
<title>o add a flags parameter to netisr_register that is used to specify</title>
<updated>2003-11-08T22:28:40Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2003-11-08T22:28:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7902224c6bf05f57bba57a72b6d11d4023a84883'/>
<id>urn:sha1:7902224c6bf05f57bba57a72b6d11d4023a84883</id>
<content type='text'>
  whether or not the isr needs to hold Giant when running; Giant-less
  operation is also controlled by the setting of debug_mpsafenet
o mark all netisr's except NETISR_IP as needing Giant
o add a GIANT_REQUIRED assertion to the top of netisr's that need Giant
o pickup Giant (when debug_mpsafenet is 1) inside ip_input before
  calling up with a packet
o change netisr handling so swi_net runs w/o Giant; instead we grab
  Giant before invoking handlers based on whether the handler needs Giant
o change netisr handling so that netisr's that are marked MPSAFE may
  have multiple instances active at a time
o add netisr statistics for packets dropped because the isr is inactive

Supported by:	FreeBSD Foundation
</content>
</entry>
</feed>
