<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/net, branch releng/5.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F5.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F5.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2003-01-15T20:25:08Z</updated>
<entry>
<title>MFC 1.29: sync with KAME to simplify Rev 1.27.2.1</title>
<updated>2003-01-15T20:25:08Z</updated>
<author>
<name>SUZUKI Shinsuke</name>
<email>suz@FreeBSD.org</email>
</author>
<published>2003-01-15T20:25:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bec33ea3a3821b5ff0085afe0feb52cb889e4f8b'/>
<id>urn:sha1:bec33ea3a3821b5ff0085afe0feb52cb889e4f8b</id>
<content type='text'>
Reviewed by: fenner
Approved by: re (jhb)
Obtained from:KAME
</content>
</entry>
<entry>
<title>MFC 1.28: fix alignment problems.</title>
<updated>2003-01-15T16:16:34Z</updated>
<author>
<name>Bill Fenner</name>
<email>fenner@FreeBSD.org</email>
</author>
<published>2003-01-15T16:16:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7e061d80058ac0243438bac33a2d3cfd3f3dfb16'/>
<id>urn:sha1:7e061d80058ac0243438bac33a2d3cfd3f3dfb16</id>
<content type='text'>
Approved by:	re (rwatson)
</content>
</entry>
<entry>
<title>MFC if_loop.c:1.74:</title>
<updated>2002-12-18T21:03:41Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2002-12-18T21:03:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=96220312f4fdc145b2e4ea6fc0ae8bbc57aca335'/>
<id>urn:sha1:96220312f4fdc145b2e4ea6fc0ae8bbc57aca335</id>
<content type='text'>
  Under some circumstances, the loopback interface will allocate a new
  mbuf for a packet looping back to provide alignment guarantees for
  KAME.  Unfortunately, this code performs a direct copy of the header
  rather than using a header copying primitive (largely because we have
  sucky header copying primitives).  This results in a multiple free
  of the MAC label in the header when the same label data is freed
  twice when the two mbufs with that header are freed.  As a temporary
  work-around, clear the initialized flag on the label to prevent the
  duplicate free, which prevents panics on large unaligned loopback
  IP and IPv6 data.  The real fix is to improve and make use of proper
  packet header copying routines here.

  Obtained from:  TrustedBSD Project
  Sponsored by:   DARPA, Network Associates Laboratories

Approved by:	re (jhb)
</content>
</entry>
<entry>
<title>MFS: recognize gre packets used in the WCCP protocol.</title>
<updated>2002-12-07T14:22:05Z</updated>
<author>
<name>Maxim Sobolev</name>
<email>sobomax@FreeBSD.org</email>
</author>
<published>2002-12-07T14:22:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=16199bf2d38bee2301699284d4b3b07b017e5b3f'/>
<id>urn:sha1:16199bf2d38bee2301699284d4b3b07b017e5b3f</id>
<content type='text'>
Approved by:	re
</content>
</entry>
<entry>
<title>Move fw_one_pass from ip_fw2.c to ip_input.c so that neither</title>
<updated>2002-11-20T19:07:27Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-20T19:07:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=97850a5dd9c14361417fef688aed00fa6568c770'/>
<id>urn:sha1:97850a5dd9c14361417fef688aed00fa6568c770</id>
<content type='text'>
bridge.c nor if_ethersubr.c depend on IPFIREWALL.
Restore the use of fw_one_pass in if_ethersubr.c

ipfw.8 will be updated with a separate commit.

Approved by: re
</content>
</entry>
<entry>
<title>Back out some style changes. They are not urgent,</title>
<updated>2002-11-20T19:00:54Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-20T19:00:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=032dcc7680b14f7ce99a135b0df2c4bb48bfe458'/>
<id>urn:sha1:032dcc7680b14f7ce99a135b0df2c4bb48bfe458</id>
<content type='text'>
I will put them back in after 5.0 is out.

Requested by: sam
Approved by: re
</content>
</entry>
<entry>
<title>correct function declarations of stubs used for building w/o device bpf</title>
<updated>2002-11-19T02:50:46Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2002-11-19T02:50:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e5562bee601f12f7af44d7254535b81fe2bf2487'/>
<id>urn:sha1:e5562bee601f12f7af44d7254535b81fe2bf2487</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace m_copy() with m_copypacket() where applicable.</title>
<updated>2002-11-17T18:14:04Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-17T18:14:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6c6cc282a74e80d765a5cd77c10506b74a4138a3'/>
<id>urn:sha1:6c6cc282a74e80d765a5cd77c10506b74a4138a3</id>
<content type='text'>
Replace 0 with NULL where appropriate.
Fix indentation and function headers.
</content>
</entry>
<entry>
<title>Fix function headers, remove 'register' from variable declarations.</title>
<updated>2002-11-17T18:13:02Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-17T18:13:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9897b2662f65e5871230e7c14cbb7e3efcdba5d'/>
<id>urn:sha1:a9897b2662f65e5871230e7c14cbb7e3efcdba5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Massive cleanup of the ip_mroute code.</title>
<updated>2002-11-15T22:53:53Z</updated>
<author>
<name>Luigi Rizzo</name>
<email>luigi@FreeBSD.org</email>
</author>
<published>2002-11-15T22:53:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bbb4330b6156ef2827cc03ff4aab7a0fe307683c'/>
<id>urn:sha1:bbb4330b6156ef2827cc03ff4aab7a0fe307683c</id>
<content type='text'>
No functional changes, but:

  + the mrouting module now should behave the same as the compiled-in
    version (it did not before, some of the rsvp code was not loaded
    properly);
  + netinet/ip_mroute.c is now truly optional;
  + removed some redundant/unused code;
  + changed many instances of '0' to NULL and INADDR_ANY as appropriate;
  + removed several static variables to make the code more SMP-friendly;
  + fixed some minor bugs in the mrouting code (mostly, incorrect return
    values from functions).

This commit is also a prerequisite to the addition of support for PIM,
which i would like to put in before DP2 (it does not change any of
the existing APIs, anyways).

Note, in the process we found out that some device drivers fail to
properly handle changes in IFF_ALLMULTI, leading to interesting
behaviour when a multicast router is started. This bug is not
corrected by this commit, and will be fixed with a separate commit.

Detailed changes:
--------------------
netinet/ip_mroute.c     all the above.
conf/files              make ip_mroute.c optional
net/route.c             fix mrt_ioctl hook
netinet/ip_input.c      fix ip_mforward hook, move rsvp_input() here
                        together with other rsvp code, and a couple
                        of indentation fixes.
netinet/ip_output.c     fix ip_mforward and ip_mcast_src hooks
netinet/ip_var.h        rsvp function hooks
netinet/raw_ip.c        hooks for mrouting and rsvp functions, plus
                        interface cleanup.
netinet/ip_mroute.h     remove an unused and optional field from a struct

Most of the code is from Pavlin Radoslavov and the XORP project

Reviewed by: sam
MFC after: 1 week
</content>
</entry>
</feed>
