dragonfly.git
2 years agoioapic_abi: More consistent function name w/ legacy interrupt
Sepherosa Ziehau [Thu, 12 Jan 2012 10:48:29 +0000 (18:48 +0800)]
ioapic_abi: More consistent function name w/ legacy interrupt

No functional changes

2 years agotcp_output: Move output mbuf related variables' cleanup to the again label
Sepherosa Ziehau [Thu, 12 Jan 2012 03:09:20 +0000 (11:09 +0800)]
tcp_output: Move output mbuf related variables' cleanup to the again label

Though not all cleanups are necessary if we loop back to again label,
better safe than sorry

2 years agoroute: Log R_Malloc failure in rtrequest1()
Sepherosa Ziehau [Thu, 12 Jan 2012 02:14:44 +0000 (10:14 +0800)]
route: Log R_Malloc failure in rtrequest1()

2 years agodrm.4: Add some info about what to do when acceleration fails to initialize.
Sascha Wildner [Wed, 11 Jan 2012 04:49:17 +0000 (05:49 +0100)]
drm.4: Add some info about what to do when acceleration fails to initialize.

Submitted-by: Andrea Magliano <masterblaster@tiscali.it>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2230>

2 years agonetgraph: remove unused variable.
Nuno Antunes [Tue, 10 Jan 2012 13:31:17 +0000 (13:31 +0000)]
netgraph: remove unused variable.

2 years agonetgraph: handle M_PREPEND failure.
Nuno Antunes [Mon, 9 Jan 2012 13:56:06 +0000 (13:56 +0000)]
netgraph: handle M_PREPEND failure.

Noticed-by: Sepherosa Ziehau
2 years agonetgraph7: move static to the front and remove MALLOC/FREE macro usage.
Nuno Antunes [Sat, 10 Dec 2011 18:20:24 +0000 (18:20 +0000)]
netgraph7: move static to the front and remove MALLOC/FREE macro usage.

2 years agonetgraph7: uncomment ng_tcpmss cookie.
Nuno Antunes [Sat, 10 Dec 2011 08:42:49 +0000 (08:42 +0000)]
netgraph7: uncomment ng_tcpmss cookie.

* Forgotten in last commit.

2 years agonetgraph7: welcome ng_tcpmss.
Nuno Antunes [Sat, 10 Dec 2011 08:16:51 +0000 (08:16 +0000)]
netgraph7: welcome ng_tcpmss.

2 years agonetgraph7: welcome ng_rfc1490.
Nuno Antunes [Fri, 9 Dec 2011 22:37:28 +0000 (22:37 +0000)]
netgraph7: welcome ng_rfc1490.

2 years agonetgraph7: welcome ng_hub.
Nuno Antunes [Fri, 9 Dec 2011 22:19:07 +0000 (22:19 +0000)]
netgraph7: welcome ng_hub.

2 years agonetgraph7: conditionalize netgraph modules build.
Nuno Antunes [Fri, 9 Dec 2011 20:27:38 +0000 (20:27 +0000)]
netgraph7: conditionalize netgraph modules build.

* If WANT_NETRAPH7 make variable is set then build netgraph7 modules,
  otherwise build netgraph modules.

2 years agonetgraph7: convert lockmgr locks into mutexes.
Nuno Antunes [Fri, 18 Nov 2011 20:45:06 +0000 (20:45 +0000)]
netgraph7: convert lockmgr locks into mutexes.

2 years agoRevert "netgraph7: Make netgraph7 kernel modules names unique."
Nuno Antunes [Sun, 12 Dec 2010 13:22:40 +0000 (13:22 +0000)]
Revert "netgraph7: Make netgraph7 kernel modules names unique."

This reverts commit b3caef111369521fa1099de35840437191aa1436.

* Now that netgraph7 kernel buils is under the WANT_NETGRAPH7 make
  variable, this commit can be reverted.

2 years agonetgraph7: Put netgraph7 kernel build under WANT_NETGRAPH7 make variable too.
Nuno Antunes [Sun, 12 Dec 2010 08:45:42 +0000 (08:45 +0000)]
netgraph7: Put netgraph7 kernel build under WANT_NETGRAPH7 make variable too.

* When the WANT_NETGRAPH7 make variable is set, libnetgraph7 and the
  netgraph7 kernel parts instead of their legacy couterparts.
  Previously, only the libnetgraph7 build was controled by this variable.
  This commit puts the kernel build part under the same variable as well
  so that the legacy kernel modules are not overwriten by the new ones.

2 years agonetgraph7: ng_socket: use lksleep() instead of home brewed version.
Nuno Antunes [Wed, 22 Sep 2010 14:40:24 +0000 (15:40 +0100)]
netgraph7: ng_socket: use lksleep() instead of home brewed version.

* This eliminates the last function in netgraph7/dragonfly.c.
  Remove the file because it is no longer needed.

2 years agonetgraph7: staticize linker_api_avaliable() and move it to ng_socket.c.
Nuno Antunes [Wed, 22 Sep 2010 14:11:48 +0000 (15:11 +0100)]
netgraph7: staticize linker_api_avaliable() and move it to ng_socket.c.

2 years agonetgraph7: Remove unused functions.
Nuno Antunes [Wed, 22 Sep 2010 14:02:30 +0000 (15:02 +0100)]
netgraph7: Remove unused functions.

2 years agonetgraph7: Include the correct header file in dragonfly.c.
Nuno Antunes [Wed, 22 Sep 2010 00:50:20 +0000 (01:50 +0100)]
netgraph7: Include the correct header file in dragonfly.c.

* The dragonfly.c file was #including the legacy netgraph
  ng_message.h header instead of the new one.

* Add missing include to netgraph7 ng_message.h.

2 years agonetgraph7: Make netgraph7 kernel modules names unique.
Nuno Antunes [Wed, 22 Sep 2010 00:35:16 +0000 (01:35 +0100)]
netgraph7: Make netgraph7 kernel modules names unique.

* This way, netgraph (legacy) and netgraph7 kernel modules names
  do not colide and do not overwrite each other in /boot/<blah> during
  make installkernel.

2 years agonetgraph7: curthread visibility is needed, so #include <sys/globaldata.h>
Nuno Antunes [Sat, 18 Sep 2010 14:33:02 +0000 (15:33 +0100)]
netgraph7: curthread visibility is needed, so #include <sys/globaldata.h>

2 years agonetgraph7: Welcome ng_pppoe.
Nuno Antunes [Sat, 18 Sep 2010 11:20:12 +0000 (12:20 +0100)]
netgraph7: Welcome ng_pppoe.

2 years agonetgraph7: Welcome ng_one2many.
Nuno Antunes [Sat, 18 Sep 2010 01:45:25 +0000 (02:45 +0100)]
netgraph7: Welcome ng_one2many.

2 years agonetgraph7: Welcome ng_mppc.
Nuno Antunes [Sat, 18 Sep 2010 01:37:29 +0000 (02:37 +0100)]
netgraph7: Welcome ng_mppc.

2 years agouipc: Import mbuf utility function m_unshare() from FreeBSD.
Nuno Antunes [Sat, 18 Sep 2010 01:28:50 +0000 (02:28 +0100)]
uipc: Import mbuf utility function m_unshare() from FreeBSD.

* This function creates a version of the specified mbuf chain whose
  contents can be safely modified without affecting other users.

Taken-from: FreeBSD

2 years agonetgraph7: Welcome ng_ppp.
Nuno Antunes [Fri, 17 Sep 2010 23:15:42 +0000 (00:15 +0100)]
netgraph7: Welcome ng_ppp.

2 years agonetgraph7: Welcome ng_lmi.
Nuno Antunes [Fri, 17 Sep 2010 22:34:39 +0000 (23:34 +0100)]
netgraph7: Welcome ng_lmi.

2 years agonetgraph7: Welcome ng_l2tp.
Nuno Antunes [Fri, 17 Sep 2010 22:28:25 +0000 (23:28 +0100)]
netgraph7: Welcome ng_l2tp.

2 years agonetgraph7: ng_ksocket: lwkt_{get,rel}token() -> lwkt_{get,rel}pooltoken().
Nuno Antunes [Fri, 17 Sep 2010 15:04:16 +0000 (16:04 +0100)]
netgraph7: ng_ksocket: lwkt_{get,rel}token() -> lwkt_{get,rel}pooltoken().

2 years agonetgraph7: Properly lock ng_ksocket during accept phase.
Nuno Antunes [Fri, 17 Sep 2010 14:46:55 +0000 (15:46 +0100)]
netgraph7: Properly lock ng_ksocket during accept phase.

* Use ssb_token to protect the TAILQ.

2 years agonetgraph7: welcome ng_frame_relay.
Nuno Antunes [Fri, 17 Sep 2010 00:16:04 +0000 (01:16 +0100)]
netgraph7: welcome ng_frame_relay.

2 years agonetgraph7: Welcome ng_etf.
Nuno Antunes [Fri, 17 Sep 2010 00:05:47 +0000 (01:05 +0100)]
netgraph7: Welcome ng_etf.

2 years agonetgraph7: Welcome ng_echo.
Nuno Antunes [Thu, 16 Sep 2010 23:53:48 +0000 (00:53 +0100)]
netgraph7: Welcome ng_echo.

2 years agonetgraph7: Welcome ng_pptpgre.
Nuno Antunes [Thu, 16 Sep 2010 23:40:37 +0000 (00:40 +0100)]
netgraph7: Welcome ng_pptpgre.

2 years agonetgraph7: catch up with pr_* -> netmsg changes.
Nuno Antunes [Thu, 16 Sep 2010 22:54:05 +0000 (23:54 +0100)]
netgraph7: catch up with pr_* -> netmsg changes.

2 years agonetgraph7: fix netgraph7 build
Nuno Antunes [Mon, 13 Sep 2010 23:42:20 +0000 (00:42 +0100)]
netgraph7: fix netgraph7 build

* add missing socketvar2.h header #include's.

* fix comment.

2 years agoNETGRAPH7: ng_ksocket: Use atomic ops for ssb_flags handling.
Nuno Antunes [Tue, 7 Sep 2010 18:18:48 +0000 (19:18 +0100)]
NETGRAPH7: ng_ksocket: Use atomic ops for ssb_flags handling.

2 years agoNETGRAPH: Simplify ng_ether_input_orphan().
Nuno Antunes [Tue, 7 Sep 2010 17:48:42 +0000 (18:48 +0100)]
NETGRAPH: Simplify ng_ether_input_orphan().

* Restore ethernet header on mbuf before passing it to
  ng_ether_input_orphan(), instead of doing it later. This improves
  API consistency between legacy netgraph and netgraph7.

Taken-from: FreeBSD

2 years agoNETGRAPH7: Welcome ng_ksocket.
Nuno Antunes [Sun, 5 Sep 2010 00:58:32 +0000 (01:58 +0100)]
NETGRAPH7: Welcome ng_ksocket.

* Put ng_ksocket in its own subdirectory and attach it to the build

2 years agoNETGRAPH7: Fix kernel build with options NETGRAPH7.
Nuno Antunes [Fri, 3 Sep 2010 20:30:04 +0000 (21:30 +0100)]
NETGRAPH7: Fix kernel build with options NETGRAPH7.

* Pass flags to tsleep_interlock.
* Silence gcc warning being treated as error.
* Remove socket polling.

2 years agoNETGRAPH7: libnetgraph7: fix compilation.
Nuno Antunes [Fri, 3 Sep 2010 18:51:38 +0000 (19:51 +0100)]
NETGRAPH7: libnetgraph7: fix compilation.

2 years agolibnetgraph7: remove extra WARNS from the Makefile
Nuno Antunes [Fri, 3 Sep 2010 18:04:15 +0000 (19:04 +0100)]
libnetgraph7: remove extra WARNS from the Makefile

* Remove superfluous WARNS?= declaration.

2 years agoWelcome ng_deflate.
Nuno Antunes [Tue, 23 Jun 2009 19:27:48 +0000 (20:27 +0100)]
Welcome ng_deflate.

2 years agoWelcome ng_bridge.
Nuno Antunes [Tue, 23 Jun 2009 17:12:50 +0000 (18:12 +0100)]
Welcome ng_bridge.

And also add netgraph7 include files to the Makefile. These somehow
were omited in the previous commit.

2 years agoApply netgraph7 megapatch.
Nuno Antunes [Sun, 21 Jun 2009 12:58:01 +0000 (13:58 +0100)]
Apply netgraph7 megapatch.

* Translate objcache calls.
* Translate uma_zone to objcache.
* Introduce libnetgraph7 (is compiled when WANT_NETGRAPH7 is defined).
* Welcome ng_socket.
* Convert netgraph netisr to a real taskqueue. This fixes a deadlock
  specific to dragonfly.
* Welcome ng_async.
* Welcome ng_UI.
* Welcome ng_ether.
* Fix mtx_assert translation.
* Welcome ng_hole.
* Welcome ng_cisco.
* Welcome ng_iface.
* Welcome ng_tee.
* Welcome ng_atmllc.
* Welcome ng_bpf.
* Welcome ng_vjc.

2 years agoIntroduce WANT_NETGRAPH7 make variable.
Nuno Antunes [Sat, 20 Jun 2009 23:13:47 +0000 (00:13 +0100)]
Introduce WANT_NETGRAPH7 make variable.

The WANT_NETGRAPH7 make option tells us to build libnetgraph7 instead of the lecagy libnetgraph library.

2 years agoi386: LINE interrupt -> LEGACY interrupt
Sepherosa Ziehau [Tue, 10 Jan 2012 12:51:52 +0000 (20:51 +0800)]
i386: LINE interrupt -> LEGACY interrupt

2 years agox86_64: LINE interrupt -> LEGACY interrupt
Sepherosa Ziehau [Tue, 10 Jan 2012 11:36:06 +0000 (19:36 +0800)]
x86_64: LINE interrupt -> LEGACY interrupt

2 years agotest commit: does it still work
Nuno Antunes [Tue, 10 Jan 2012 10:59:59 +0000 (10:59 +0000)]
test commit: does it still work

2 years agoAdd a mail user for dma(8).
Sascha Wildner [Mon, 9 Jan 2012 14:06:39 +0000 (15:06 +0100)]
Add a mail user for dma(8).

Reported-by: Tim Darby <t+dfbsd@timdarby.net>
Tested-by: Max Herrgard <herrgard@gmail.com>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2270>

2 years agodma.8: dma(8) only uses two config files, auth.conf and dma.conf.
Sascha Wildner [Mon, 9 Jan 2012 09:15:42 +0000 (10:15 +0100)]
dma.8: dma(8) only uses two config files, auth.conf and dma.conf.

Submitted-by: Max Herrgard <herrgard@gmail.com>
2 years agomfiutil(8): Correct sysctl name.
Sascha Wildner [Mon, 9 Jan 2012 03:47:19 +0000 (04:47 +0100)]
mfiutil(8): Correct sysctl name.

2 years agoftp: NetBSD uses __dead, and we use __dead2.
Peter Avalos [Mon, 9 Jan 2012 01:46:12 +0000 (17:46 -0800)]
ftp:  NetBSD uses __dead, and we use __dead2.

2 years agoMerge branch 'master' of /home/www-data/gitweb/dragonfly
Peter Avalos [Mon, 9 Jan 2012 01:17:34 +0000 (17:17 -0800)]
Merge branch 'master' of /home/www-data/gitweb/dragonfly

2 years agoUpdate files for xz import.
Peter Avalos [Mon, 9 Jan 2012 01:14:04 +0000 (17:14 -0800)]
Update files for xz import.

This primarily installs some scripts and associated manual pages for
diff, grep, and less functionality for xz (xzdiff, xzgrep, xzless,
xzmore).

2 years agoisp.4: Use .Nx
Sascha Wildner [Sun, 8 Jan 2012 21:52:36 +0000 (22:52 +0100)]
isp.4: Use .Nx

2 years agoMerge branch 'vendor/XZ'
Peter Avalos [Sun, 8 Jan 2012 21:49:37 +0000 (13:49 -0800)]
Merge branch 'vendor/XZ'

2 years agoImport xz-5.0.3.
Peter Avalos [Sun, 8 Jan 2012 21:32:05 +0000 (13:32 -0800)]
Import xz-5.0.3.

    * xz --force now (de)compresses files that have setuid, setgid,
      or sticky bit set and files that have multiple hard links.
      The man page had it documented this way already, but the code
      had a bug.

    * LZMA2 decompressor now correctly accepts LZMA2 streams with no
      uncompressed data. Previously it considered them corrupt. The
      bug can affect applications that use raw LZMA2 streams. It is
      very unlikely to affect .xz files because no compressor creates
      .xz files with empty LZMA2 streams. (Empty .xz files are a
      different thing than empty LZMA2 streams.)

    * "xz --suffix=.foo filename.foo" now refuses to compress the
      file due to it already having the suffix .foo. It was already
      documented on the man page, but the code lacked the test.

    * liblzma fixes:

        - A memory leak was fixed.

        - lzma_stream_buffer_encode() no longer creates an empty .xz
          Block if encoding an empty buffer. Such an empty Block with
          LZMA2 data would trigger a bug.

        - Validate function arguments better in a few functions. Most
          importantly, specifying an unsupported integrity check to
          lzma_stream_buffer_encode() no longer creates a corrupt .xz
          file. Probably no application tries to do that, so this
          shouldn't be a big problem in practice.

        - Document that lzma_block_buffer_encode(),
          lzma_easy_buffer_encode(), lzma_stream_encoder(), and
          lzma_stream_buffer_encode() may return LZMA_UNSUPPORTED_CHECK.

        - The return values of the _memusage() functions are now
          documented better.

2 years agoMerge branch 'vendor/TNFTP'
Peter Avalos [Sun, 8 Jan 2012 20:43:07 +0000 (12:43 -0800)]
Merge branch 'vendor/TNFTP'

2 years agoftp: Import NetBSD's latest version.
Peter Avalos [Sun, 8 Jan 2012 20:36:27 +0000 (12:36 -0800)]
ftp:  Import NetBSD's latest version.

Move determination of socket buffer sizes from startup to the first
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).

Use __dead

Fix warnings.

Obtained-from:  NetBSD

2 years agomfiutil(8): Use dehumanize_number() instead of rolling our own.
Sascha Wildner [Sun, 8 Jan 2012 19:03:57 +0000 (20:03 +0100)]
mfiutil(8): Use dehumanize_number() instead of rolling our own.

2 years agomfiutil(8): Remove some compatibility defines which we don't need.
Sascha Wildner [Sun, 8 Jan 2012 18:39:18 +0000 (19:39 +0100)]
mfiutil(8): Remove some compatibility defines which we don't need.

2 years agomfi(4): Fix volume creation with mfiutil(8).
Sascha Wildner [Sun, 8 Jan 2012 17:14:47 +0000 (18:14 +0100)]
mfi(4): Fix volume creation with mfiutil(8).

This change (taken from LSI in 175660922b2422bdda81a5967c5dadd176fe1c3c)
caused the mfi_config_data structure to change size which ultimately
ended up in the MFI_DCMD_CFG_ADD command failing. Stuff seems to work fine
without it.

Reported-by: Tomi Juvonen <tomi.juvonen@kenou.biz>
2 years agoahci: Black list more chips which do not support MSI properly
Sepherosa Ziehau [Sun, 8 Jan 2012 13:27:16 +0000 (21:27 +0800)]
ahci: Black list more chips which do not support MSI properly

According-to: Linux

2 years agopcidevs: regen
Sepherosa Ziehau [Sun, 8 Jan 2012 13:26:52 +0000 (21:26 +0800)]
pcidevs: regen

2 years agopcidevs: More device IDs for AHCI chips
Sepherosa Ziehau [Sun, 8 Jan 2012 13:26:27 +0000 (21:26 +0800)]
pcidevs: More device IDs for AHCI chips

2 years agovmstat: Always print interrupts cpuid under verbose mode
Sepherosa Ziehau [Sun, 8 Jan 2012 12:19:44 +0000 (20:19 +0800)]
vmstat: Always print interrupts cpuid under verbose mode

2 years agojme: Use MSI, if the device supports it
Sepherosa Ziehau [Sun, 8 Jan 2012 11:22:46 +0000 (19:22 +0800)]
jme: Use MSI, if the device supports it

2 years agodntpd: Don't assume that reconnect to server always succeeds
Sepherosa Ziehau [Sun, 8 Jan 2012 11:04:54 +0000 (19:04 +0800)]
dntpd: Don't assume that reconnect to server always succeeds

2 years agoUpdate the pciconf(8) database.
Sascha Wildner [Sun, 8 Jan 2012 03:16:11 +0000 (04:16 +0100)]
Update the pciconf(8) database.

Jan 6, 2012 snapshot from http://pciids.sourceforge.net/

2 years agomfi(4): Remove two NULL checks after kmalloc() with M_WAITOK.
Sascha Wildner [Sat, 7 Jan 2012 11:58:28 +0000 (12:58 +0100)]
mfi(4): Remove two NULL checks after kmalloc() with M_WAITOK.

2 years agomfi(4): Avoid some code duplication.
Sascha Wildner [Fri, 6 Jan 2012 18:06:48 +0000 (19:06 +0100)]
mfi(4): Avoid some code duplication.

2 years agomfi(4): Use callout_init_mp() for the watchdog callout.
Sascha Wildner [Fri, 6 Jan 2012 17:26:10 +0000 (18:26 +0100)]
mfi(4): Use callout_init_mp() for the watchdog callout.

mfi_timeout() is MP safe. When porting, I missed that FreeBSD passes
CALLOUT_MPSAFE here.

2 years agoioapic_abi/x86_64: Remove no longer applied warning
Sepherosa Ziehau [Fri, 6 Jan 2012 16:10:33 +0000 (00:10 +0800)]
ioapic_abi/x86_64: Remove no longer applied warning

While I'm here, strip blank lines

2 years agoahci: Create black list for devices which do not support MSI properly
Sepherosa Ziehau [Fri, 6 Jan 2012 15:49:47 +0000 (23:49 +0800)]
ahci: Create black list for devices which do not support MSI properly

2 years agopcidevs: regen
Sepherosa Ziehau [Fri, 6 Jan 2012 15:33:05 +0000 (23:33 +0800)]
pcidevs: regen

2 years agopcidevs: Add ATI SB7x0/SB8x0/SB9x0 AHCI device ID
Sepherosa Ziehau [Fri, 6 Jan 2012 15:32:36 +0000 (23:32 +0800)]
pcidevs: Add ATI SB7x0/SB8x0/SB9x0 AHCI device ID

2 years agoi386: Add MSI support for ICU MachIntrABI
Sepherosa Ziehau [Fri, 6 Jan 2012 15:20:55 +0000 (23:20 +0800)]
i386: Add MSI support for ICU MachIntrABI

This merges 759fc5332c2b97c3a48b5aefb94b6cab57de07a4

2 years agoi386: Add MSI support for IOAPIC MachIntrABI
Sepherosa Ziehau [Fri, 6 Jan 2012 14:54:59 +0000 (22:54 +0800)]
i386: Add MSI support for IOAPIC MachIntrABI

This merges:
4234567cdb0fd130f7b2aca6b09a0519348541eb
7b87350be06bbe28afbe743f8b189bcfce77c05a
and part of
2c3d7ac8b794c14f1a14b7cf04c0c144a1aed6dd

2 years agomsi/i386: Add setup/map function
Sepherosa Ziehau [Fri, 6 Jan 2012 14:02:18 +0000 (22:02 +0800)]
msi/i386: Add setup/map function

This merges c9852c4cdc5706115542e9c0f6228b2612e359d4

2 years agomsi/i386: Add interrupt vectors
Sepherosa Ziehau [Fri, 6 Jan 2012 13:52:45 +0000 (21:52 +0800)]
msi/i386: Add interrupt vectors

This is mainly based on apic/apic_vector.s

2 years agomfi(4) & mfiutil(8): Sync with FreeBSD.
Sascha Wildner [Fri, 6 Jan 2012 03:37:51 +0000 (04:37 +0100)]
mfi(4) & mfiutil(8): Sync with FreeBSD.

2 years agomfi(4): Use MSI if it is supported by the device.
Sascha Wildner [Wed, 4 Jan 2012 23:29:38 +0000 (00:29 +0100)]
mfi(4): Use MSI if it is supported by the device.

2 years agokernel: do not try to always build IPv4-specific code
Francois Tigeot [Thu, 5 Jan 2012 17:40:50 +0000 (18:40 +0100)]
kernel: do not try to always build IPv4-specific code

* it fails when no INET support is present

* and people may want to start running IPv6-only hosts

2 years agokernel: gre(4) should depend on 'options INET' if it is in the config.
Sascha Wildner [Thu, 5 Jan 2012 17:41:50 +0000 (18:41 +0100)]
kernel: gre(4) should depend on 'options INET' if it is in the config.

2 years agodfregress(8): Fix a typo in an error message.
Sascha Wildner [Thu, 5 Jan 2012 15:55:20 +0000 (16:55 +0100)]
dfregress(8): Fix a typo in an error message.

2 years agoisp(4): Use MSI if it is supported by the device.
Sascha Wildner [Wed, 4 Jan 2012 23:22:07 +0000 (00:22 +0100)]
isp(4): Use MSI if it is supported by the device.

2 years agoisp(4): Fix a typo in a message.
Sascha Wildner [Thu, 5 Jan 2012 15:05:35 +0000 (16:05 +0100)]
isp(4): Fix a typo in a message.

2 years agodma.8: Fix a few small issues.
Sascha Wildner [Thu, 5 Jan 2012 13:30:39 +0000 (14:30 +0100)]
dma.8: Fix a few small issues.

2 years agoUPDATING: Add some info about the dma(8) upgrade.
Sascha Wildner [Thu, 5 Jan 2012 13:30:10 +0000 (14:30 +0100)]
UPDATING: Add some info about the dma(8) upgrade.

2 years agopam: Need to list ruser for pam_group.
Peter Avalos [Thu, 5 Jan 2012 02:30:17 +0000 (18:30 -0800)]
pam:  Need to list ruser for pam_group.

2 years agoUpdate files for OpenSSL-1.0.0f import.
Peter Avalos [Thu, 5 Jan 2012 00:25:38 +0000 (16:25 -0800)]
Update files for OpenSSL-1.0.0f import.

2 years agoMerge branch 'vendor/OPENSSL'
Peter Avalos [Thu, 5 Jan 2012 00:20:06 +0000 (16:20 -0800)]
Merge branch 'vendor/OPENSSL'

2 years agoImport OpenSSL-1.0.0f.
Peter Avalos [Thu, 5 Jan 2012 00:06:12 +0000 (16:06 -0800)]
Import OpenSSL-1.0.0f.

      o Fix for DTLS plaintext recovery attack CVE-2011-4108
      o Clear block padding bytes of SSL 3.0 records CVE-2011-4576
      o Only allow one SGC handshake restart for SSL/TLS CVE-2011-4619
      o Check parameters are not NULL in GOST ENGINE CVE-2012-0027
      o Check for malformed RFC3779 data CVE-2011-4577

2 years agokernel: Use NULL for pointers.
Sascha Wildner [Tue, 3 Jan 2012 21:22:30 +0000 (22:22 +0100)]
kernel: Use NULL for pointers.

2 years agodma(8): Upgrade to v0.7.
Sascha Wildner [Tue, 3 Jan 2012 14:31:49 +0000 (15:31 +0100)]
dma(8): Upgrade to v0.7.

For the change log, see:

https://github.com/corecode/dma/blob/master/debian/changelog

Tested-by: luxh
Submitted-by: corecode
2 years agoRun VFS_START() for the root mount point.
Francois Tigeot [Thu, 25 Aug 2011 09:39:18 +0000 (11:39 +0200)]
Run VFS_START() for the root mount point.

The namecache has to be initialized properly for that. Use code
taken from start_init()

2 years agogold linker v2.22: Remove unnecessary assertions
John Marino [Tue, 3 Jan 2012 16:51:24 +0000 (17:51 +0100)]
gold linker v2.22: Remove unnecessary assertions

Fixes this error: internal error in relocate_tls
Reported as binutils bug 13359
<http://sourceware.org/bugzilla/show_bug.cgi?id=13359>
Applied to trunk 2011-10-31
Backported to 2.22 branch on 2011-12-19

2 years agogold linker v2.22: Fix constructor handling
John Marino [Tue, 3 Jan 2012 10:50:54 +0000 (11:50 +0100)]
gold linker v2.22: Fix constructor handling

Starting with gold 2.22, gold looks for contructors in DT_INIT_ARRAY by
default, but gcc defines them in a .ctors section.  Apparently the
presence of crtbegin and crtend with their .init sections are confusing
gold, but not gnu ld.

To combat this, a new option "--no-ctors-in-init-array" was added to
emulate gnu ld behavior of looking for constructors in the .ctors
section provided by gcc.  This commit makes this new option the default
behavior on DragonFly's gold.

Without this modification, a gold-built world is unbootable!

2 years agokernel - Fix a case in if_re which could lockup the system
Matthew Dillon [Tue, 3 Jan 2012 17:18:28 +0000 (09:18 -0800)]
kernel - Fix a case in if_re which could lockup the system

* if_re's re_start function was not always properly setting IFF_OACTIVE
  in situations where packets would be left on the if_snd queue, causing
  if_start_dispatch() to get into an endless message loop.

* Add debugging to device_printf() when the case occurs.