<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/dev/cp, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2008-08-28T08:30:19Z</updated>
<entry>
<title>MFC: r180132 and 176407</title>
<updated>2008-08-28T08:30:19Z</updated>
<author>
<name>Roman Kurakin</name>
<email>rik@FreeBSD.org</email>
</author>
<published>2008-08-28T08:30:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=63bdb67b2d73446060f74a8a0ddd430fb6c827af'/>
<id>urn:sha1:63bdb67b2d73446060f74a8a0ddd430fb6c827af</id>
<content type='text'>
  ------------------------------------------------------------------------
  r180132 | rik | 2008-07-01 01:18:27 +0400 (Tue, 01 Jul 2008) | 4 lines

  Do not set IFF_DEBUG directly from the driver.

  MFC after:      1 month.

  ------------------------------------------------------------------------
  r176407 | ru | 2008-02-19 10:09:19 +0300 (Tue, 19 Feb 2008) | 2 lines

  getopt(3) returns -1, not EOF.
</content>
</entry>
<entry>
<title>First in a series of changes to remove the now-unused Giant compatibility</title>
<updated>2007-07-27T11:59:57Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-07-27T11:59:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33d2bb9ca36ea0f03136360180314e080084862e'/>
<id>urn:sha1:33d2bb9ca36ea0f03136360180314e080084862e</id>
<content type='text'>
framework for non-MPSAFE network protocols:

- Remove debug_mpsafenet variable, sysctl, and tunable.
- Remove NET_NEEDS_GIANT() and associate SYSINITSs used by it to force
  debug.mpsafenet=0 if non-MPSAFE protocols are compiled into the kernel.
- Remove logic to automatically flag interrupt handlers as non-MPSAFE if
  debug.mpsafenet is set for an INTR_TYPE_NET handler.
- Remove logic to automatically flag netisr handlers as non-MPSAFE if
  debug.mpsafenet is set.
- Remove references in a few subsystems, including NFS and Cronyx drivers,
  which keyed off debug_mpsafenet to determine various aspects of their own
  locking behavior.
- Convert NET_LOCK_GIANT(), NET_UNLOCK_GIANT(), and NET_ASSERT_GIANT into
  no-op's, as their entire behavior was determined by the value in
  debug_mpsafenet.
- Alias NET_CALLOUT_MPSAFE to CALLOUT_MPSAFE.

Many remaining references to NET_.*_GIANT() and NET_CALLOUT_MPSAFE are still
present in subsystems, and will be removed in followup commits.

Reviewed by:	bz, jhb
Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>Don't call bus_deactivate_resource() explicitly before calling</title>
<updated>2007-03-21T03:38:37Z</updated>
<author>
<name>Yoshihiro Takahashi</name>
<email>nyan@FreeBSD.org</email>
</author>
<published>2007-03-21T03:38:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=41f5bd0f6dc8a92fde5135b6c674e35d4b96501e'/>
<id>urn:sha1:41f5bd0f6dc8a92fde5135b6c674e35d4b96501e</id>
<content type='text'>
bus_release_resource().  This is needed for pc98 by upcoming nexus related
change.
</content>
</entry>
<entry>
<title>o break newbus api: add a new argument of type driver_filter_t to</title>
<updated>2007-02-23T12:19:07Z</updated>
<author>
<name>Paolo Pisati</name>
<email>piso@FreeBSD.org</email>
</author>
<published>2007-02-23T12:19:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef544f631226436ef590825881e7a28369df82f6'/>
<id>urn:sha1:ef544f631226436ef590825881e7a28369df82f6</id>
<content type='text'>
  bus_setup_intr()

o add an int return code to all fast handlers

o retire INTR_FAST/IH_FAST

For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current

Reviewed by: many
Approved by: re@
</content>
</entry>
<entry>
<title>Various bpf(4) related fixes to catch places up to the new bpf(4)</title>
<updated>2006-12-29T13:59:50Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-12-29T13:59:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0dea849ae93133a4a02f0d5fd58340d3df92668b'/>
<id>urn:sha1:0dea849ae93133a4a02f0d5fd58340d3df92668b</id>
<content type='text'>
semantics.
- Stop testing bpf pointers for NULL.  In some cases use
  bpf_peers_present() and then call the function directly inside the
  conditional block instead of the macro.
- For places where the entire conditional block is the macro, remove the
  test and make the macro unconditional.
- Use BPF_MTAP() in if_pfsync on FreeBSD instead of an expanded version of
  the old semantics.

Reviewed by:	csjp (older version)
</content>
</entry>
<entry>
<title>Sweep kernel replacing suser(9) calls with priv(9) calls, assigning</title>
<updated>2006-11-06T13:42:10Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-11-06T13:42:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=acd3428b7d3e94cef0e1881c868cb4b131d4ff41'/>
<id>urn:sha1:acd3428b7d3e94cef0e1881c868cb4b131d4ff41</id>
<content type='text'>
specific privilege names to a broad range of privileges.  These may
require some future tweaking.

Sponsored by:           nCircle Network Security, Inc.
Obtained from:          TrustedBSD Project
Discussed on:           arch@
Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri,
                        Alex Lyashkov &lt;umka at sevcity dot net&gt;,
                        Skip Ford &lt;skip dot ford at verizon dot net&gt;,
                        Antoine Brodin &lt;antoine dot brodin at laposte dot net&gt;
</content>
</entry>
<entry>
<title>trim trailing ^I</title>
<updated>2005-12-17T07:09:17Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2005-12-17T07:09:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6acb2659e24eb8eacb119d0d5d5abdfa83e21f99'/>
<id>urn:sha1:6acb2659e24eb8eacb119d0d5d5abdfa83e21f99</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restore if_cp.c 1.27</title>
<updated>2005-09-27T16:57:44Z</updated>
<author>
<name>Roman Kurakin</name>
<email>rik@FreeBSD.org</email>
</author>
<published>2005-09-27T16:57:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=732c9a17013204144a82c8de5c63d26f8d07bb5d'/>
<id>urn:sha1:732c9a17013204144a82c8de5c63d26f8d07bb5d</id>
<content type='text'>
----------------------------
	revision 1.27
	date: 2005/09/19 03:10:16;  author: imp;  state: Exp;  lines: +3 -2
	Make sure that we call if_free(ifp) after bus_teardown_intr.  Since we
	could get an interrupt after we free the ifp, and the interrupt
	handler depended on the ifp being still alive, this could, in theory,
	cause a crash.  Eliminate this possibility by moving the if_free to
	after the bus_teardown_intr() call.

In fact, this change do nothing for this driver. It is protected from
this by cp_destroy variable. This variable also protects driver from initiation
of any activity from network stack with disabled intr handler with this change
applied.
</content>
</entry>
<entry>
<title>Backout if_cp 1.26, if_ct 1.27, if_cx 1.47 by obrien:</title>
<updated>2005-09-27T16:12:49Z</updated>
<author>
<name>Roman Kurakin</name>
<email>rik@FreeBSD.org</email>
</author>
<published>2005-09-27T16:12:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3dde86fe4c7ae410921506874d7517728c99edb5'/>
<id>urn:sha1:3dde86fe4c7ae410921506874d7517728c99edb5</id>
<content type='text'>
	----------------------------
	revision 1.26
	date: 2005/09/07 09:53:35;  author: obrien;  state: Exp;  lines: +1452 -1453
	Reorder code to not depend on an ISO-C illegal forward extern declaration.
	----------------------------

Reason: do not move large functions location without serious reason. The same
could be done by forward function declaration. Please do not enlarge diff
without a reason any more.

Backout if_cp 1.27
----------------------------
	revision 1.27
	date: 2005/09/19 03:10:16;  author: imp;  state: Exp;  lines: +3 -2
	Make sure that we call if_free(ifp) after bus_teardown_intr.  Since we
	could get an interrupt after we free the ifp, and the interrupt
	handler depended on the ifp being still alive, this could, in theory,
	cause a crash.  Eliminate this possibility by moving the if_free to
	after the bus_teardown_intr() call.

Reason: bad previous commit. Would be restored by next commit.
</content>
</entry>
<entry>
<title>Make sure that we call if_free(ifp) after bus_teardown_intr.  Since we</title>
<updated>2005-09-19T03:10:21Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-09-19T03:10:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ad4f426ef63acf8f93962c281274c677a055e500'/>
<id>urn:sha1:ad4f426ef63acf8f93962c281274c677a055e500</id>
<content type='text'>
could get an interrupt after we free the ifp, and the interrupt
handler depended on the ifp being still alive, this could, in theory,
cause a crash.  Eliminate this possibility by moving the if_free to
after the bus_teardown_intr() call.
</content>
</entry>
</feed>
