<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet/ip_input.c, branch release/8.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F8.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2010-05-06T06:44:19Z</updated>
<entry>
<title>MFC r207369:</title>
<updated>2010-05-06T06:44:19Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2010-05-06T06:44:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=480d7c6c419d5be2cd82024245b354f1ee7dcb90'/>
<id>urn:sha1:480d7c6c419d5be2cd82024245b354f1ee7dcb90</id>
<content type='text'>
  MFP4: @176978-176982, 176984, 176990-176994, 177441

  "Whitspace" churn after the VIMAGE/VNET whirls.

  Remove the need for some "init" functions within the network
  stack, like pim6_init(), icmp_init() or significantly shorten
  others like ip6_init() and nd6_init(), using static initialization
  again where possible and formerly missed.

  Move (most) variables back to the place they used to be before the
  container structs and VIMAGE_GLOABLS (before r185088) and try to
  reduce the diff to stable/7 and earlier as good as possible,
  to help out-of-tree consumers to update from 6.x or 7.x to 8 or 9.

  This also removes some header file pollution for putatively
  static global variables.

  Revert VIMAGE specific changes in ipfilter::ip_auth.c, that are
  no longer needed.

  Reviewed by:	jhb
  Discussed with:	rwatson
  Sponsored by:	The FreeBSD Foundation
  Sponsored by:	CK Software GmbH
</content>
</entry>
<entry>
<title>MFC r206989:</title>
<updated>2010-05-02T15:55:29Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2010-05-02T15:55:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b5076c9df86d64e5ef3de3197c4003fbeb96d4f'/>
<id>urn:sha1:8b5076c9df86d64e5ef3de3197c4003fbeb96d4f</id>
<content type='text'>
  Avoid memory access after free.  Use the (shortend) copy for the
  ipsec mtu lookup as well.

PR:		kern/145736
Submitted by:	Peter Molnar (peter molnar.cc)
</content>
</entry>
<entry>
<title>MFC 205066, 205069, 205093, 205097, 205488:</title>
<updated>2010-04-01T00:36:40Z</updated>
<author>
<name>Kip Macy</name>
<email>kmacy@FreeBSD.org</email>
</author>
<published>2010-04-01T00:36:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e952596a10a17d33ddaf86c916bcc3b1c08da597'/>
<id>urn:sha1:e952596a10a17d33ddaf86c916bcc3b1c08da597</id>
<content type='text'>
r205066:

Log:
 - restructure flowtable to support ipv6
 - add a name argument to flowtable_alloc for printing with ddb commands
 - extend ddb commands to print destination address or 4-tuples
 - don't parse ports in ulp header if FL_HASH_ALL is not passed
 - add kern_flowtable_insert to enable more generic use of flowtable
   (e.g. system calls for adding entries)
 - don't hash loopback addresses
 - cleanup whitespace
 - keep statistics per-cpu for per-cpu flowtables to avoid cache line contention
 - add sysctls to accumulate stats and report aggregate

r205069:
Log:
 fix stats reporting sysctl

r205093:
Log:
 re-update copyright to 2010
 pointed out by danfe@

r205097:

Log:
 flowtable_get_hashkey is only used by a DDB function - move under #ifdef DDB

 pointed out by jkim@

r205488:

Log:
 - boot-time size the ipv4 flowtable and the maximum number of flows
 - increase flow cleaning frequency and decrease flow caching time
   when near the flow limit
 - stop allocating new flows when within 3% of maxflows don't start
   allocating again until below 12.5%
</content>
</entry>
<entry>
<title>MFC r204140:</title>
<updated>2010-03-27T17:34:57Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2010-03-27T17:34:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e47658ce90a2aea4fac40b8f74fc8b568d4f2cd8'/>
<id>urn:sha1:e47658ce90a2aea4fac40b8f74fc8b568d4f2cd8</id>
<content type='text'>
  Split up ip_drain() into an outer lock and iterator part and
  a "locked" version that will only handle a single network stack
  instance. The latter is called directly from ip_destroy().

  Hook up an ip_destroy() function to release resources from the
  legacy IP network layer upon virtual network stack teardown.

  Reviewed by:  rwatson
</content>
</entry>
<entry>
<title>MFC of 197952 and 198075</title>
<updated>2010-02-07T09:00:22Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2010-02-07T09:00:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2ae7ec29fdc503579c8cc2b62714e3057c800ce2'/>
<id>urn:sha1:2ae7ec29fdc503579c8cc2b62714e3057c800ce2</id>
<content type='text'>
    Virtualize the pfil hooks so that different jails may chose different
    packet filters. ALso allows ipfw to be enabled on on ejail and disabled
    on another. In 8.0 it's a global setting.
and
    Unbreak the VIMAGE build with IPSEC, broken with r197952 by
    virtualizing the pfil hooks.
    For consistency add the V_ to virtualize the pfil hooks in here as well.
</content>
</entry>
<entry>
<title>Merge r198438 from head to stable/8:</title>
<updated>2009-12-14T11:53:02Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-12-14T11:53:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1120ce6b6964a9abb64de10460f47742de6f1054'/>
<id>urn:sha1:1120ce6b6964a9abb64de10460f47742de6f1054</id>
<content type='text'>
  Correct spelling typo in ip_input comment.

  Pointed out by:       N.J. Mann &lt;njm at njm.me.uk&gt;,
                John Nielsen &lt;john at jnielsen.net&gt;, julian (!), lstewart
</content>
</entry>
<entry>
<title>Merge r198393 from head to stable/8:</title>
<updated>2009-12-14T11:15:47Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-12-14T11:15:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec610c212b6ccf49cc9061fb604b7cb48be32402'/>
<id>urn:sha1:ec610c212b6ccf49cc9061fb604b7cb48be32402</id>
<content type='text'>
  Improve grammar in ip_input comment while attempting to maintain what
  might be its meaning.

(Note, merge of the revision correcting a spelling error in this commit
will follow as well!)
</content>
</entry>
<entry>
<title>Merge r198196 from head to stable/8:</title>
<updated>2009-10-20T16:22:31Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-10-20T16:22:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=92b52ada7cd26eb88ef9a8c3fe825e1ff6e18d48'/>
<id>urn:sha1:92b52ada7cd26eb88ef9a8c3fe825e1ff6e18d48</id>
<content type='text'>
  Rewrap ip_input() comment so that it prints more nicely.

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Many network stack subsystems use a single global data structure to hold</title>
<updated>2009-08-02T19:43:32Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-08-02T19:43:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=315e3e38faa1ac7e775bbbbca0079c23fa3513ea'/>
<id>urn:sha1:315e3e38faa1ac7e775bbbbca0079c23fa3513ea</id>
<content type='text'>
all pertinent statatistics for the subsystem.  These structures are
sometimes "borrowed" by kernel modules that require a place to store
statistics for similar events.

Add KPI accessor functions for statistics structures referenced by kernel
modules so that they no longer encode certain specifics of how the data
structures are named and stored.  This change is intended to make it
easier to move to per-CPU network stats following 8.0-RELEASE.

The following modules are affected by this change:

      if_bridge
      if_cxgb
      if_gif
      ip_mroute
      ipdivert
      pf

In practice, most of these statistics consumers should, in fact, maintain
their own statistics data structures rather than borrowing structures
from the base network stack.  However, that change is too agressive for
this point in the release cycle.

Reviewed by:	bz
Approved by:	re (kib)
</content>
</entry>
<entry>
<title>Merge the remainder of kern_vimage.c and vimage.h into vnet.c and</title>
<updated>2009-08-01T19:26:27Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-08-01T19:26:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=530c006014fae95c670f4b699fef8bb93034bc6d'/>
<id>urn:sha1:530c006014fae95c670f4b699fef8bb93034bc6d</id>
<content type='text'>
vnet.h, we now use jails (rather than vimages) as the abstraction
for virtualization management, and what remained was specific to
virtual network stacks.  Minor cleanups are done in the process,
and comments updated to reflect these changes.

Reviewed by:	bz
Approved by:	re (vimage blanket)
</content>
</entry>
</feed>
