Commit Graph

218741 Commits

Author SHA1 Message Date
htodd
9db2d8183e Add ./usr/libdata/debug/usr/libexec/ld.elf_so-i386.debug entry. 2013-05-10 00:50:50 +00:00
gdt
0c9c715c58 Fix FAST_IPSEC locking violation.
Without this change, using ESP tunnels with FAST_IPSEC on a 2-cpu i386
machine results in an mbuf leak.  This change was tested in netbsd-6.

When FAST_IPSEC is enabled and a tunnel is set up, after the
outer packet is stripped off, FAST_IPSEC queues the inner
packet on the appropriate queue (ipinstrq or ip6instrq).
These queues require the KERNEL_LOCK to be held before
using the queue, and the FAST_IPSEC code did not take the
KERNEL_LOCK as required.
KERNEL_LOCK and KERNEL_UNLOCK_ONE calls have been added.

If a struct ifnet instance is passed to the if_handoff
function which does this queuing, the interface's
if_start function may be called.  Some hardware devices
require KERNEL_LOCK to be held; others do not.  Looking
at the body of NetBSD code, other places where an if_start
function is called, KERNEL_LOCK is held.  Thus, the lock is
not released in if_handoff until after the if_start function
is called.  In practice, having the kernel lock when
if_start is called makes no difference - there is not
a single instance in all of the NetBSD code where
if_handoff is passed an instance of struct ifnet.

This commit is the work of Bev Schwartz of BBN.

Approved for Public Release, Distribution Unlimited
This material is based upon work supported by the Defense Advanced Research
Projects Agency and Space and Naval Warfare Systems Center, Pacific, under
Contract No. N66001-09-C-2073.
2013-05-09 19:21:50 +00:00
christos
464306f9db always allow hex where decimal is allowed. 2013-05-09 19:12:03 +00:00
skrll
1f32502b56 Remove redundant assignment. Hasn't been needed since 1999. 2013-05-09 15:47:34 +00:00
christos
c188b90222 remove stray debugging 2013-05-09 15:39:10 +00:00
christos
3c085045e3 convert to SIMPLEQ like the rest of the queues. 2013-05-09 15:38:14 +00:00
christos
a3f195d87d Fix refcount of the object we found in our list by name. 2013-05-09 15:37:58 +00:00
christos
0854846045 When checking for membership in the system group file don't forget to check
the primary group of the user.
2013-05-09 15:25:44 +00:00
matt
d1e50f81fb Don't worry about divide by 0 for kernel or standalone 2013-05-09 15:03:40 +00:00
wiz
96d067c6a4 Punctuation fixes, put FILES in a list. 2013-05-09 13:54:11 +00:00
aymeric
29c8b179ee mention support for AR3012 based chips and point to the corresponding
firmware files
2013-05-09 12:46:21 +00:00
aymeric
65b7149d79 . add support for loading code + config of AR3012 based chips
. make it easy to add vendor and product ids for similar hardware
2013-05-09 12:44:31 +00:00
aymeric
bf96118089 regen 2013-05-09 12:41:13 +00:00
aymeric
512060fb5e Add a Foxconn AR3012 bluetooth controller ids 2013-05-09 12:40:17 +00:00
minoura
707d1bd4d9 Fix a typo, and remove an unused member.
This should fix the problem that recent Qemu dies during configuring a vioif.
2013-05-09 12:23:17 +00:00
skrll
9b98bab04b Fix debug symlink 2013-05-09 11:44:36 +00:00
simonb
3a5cb7b1be Document that a here-document can finish at an EOF as well as at the
delimiter.
2013-05-09 11:43:27 +00:00
skrll
6fec03973c Don't use old syntax - it breaks the build. hi matt. 2013-05-09 07:12:59 +00:00
mbalmer
b1090dff8a racoon default config is in /etc/racoon/racoon.conf 2013-05-08 20:03:02 +00:00
christos
eb1b7900cb ipfitler -> ipfilter 2013-05-08 18:20:14 +00:00
wiz
ce13c0c0df New sentence, new line. Fix minus. Avoid <>.
Remove trailing whitespace.
2013-05-08 18:18:32 +00:00
christos
814d1846cc Clarify which functions are only in libresolv. 2013-05-08 18:06:46 +00:00
christos
dd0c67b2ad atf fixes, whitespace, sorting 2013-05-08 17:41:31 +00:00
christos
881001eb1d no changes for tzcode2013c 2013-05-08 15:50:34 +00:00
christos
f50e99db7e welcome to 2013c! 2013-05-08 15:49:43 +00:00
christos
92fc16666d Put back the second copy of the rtld debug file. Things that link against
the /usr/libexec version of it need it.
2013-05-08 15:35:33 +00:00
christos
ea2a3471f1 provide debug symlink. 2013-05-08 15:33:45 +00:00
christos
e269a2149a need xfree() instead of free(). Using free() ends us up in an infinite loop. 2013-05-08 15:25:01 +00:00
tsutsui
48ffade9e8 Add an entry for scif0 serial. 2013-05-08 15:14:27 +00:00
tsutsui
829ceb66b9 Make sure to create serial device nodes (scif0 and sci0). 2013-05-08 14:59:41 +00:00
pooka
1fddf4baef print more diagnostic info in panic message 2013-05-08 11:08:45 +00:00
reinoud
52cff03007 Fix Typo 2013-05-08 10:39:17 +00:00
reinoud
fa5ee9f6e0 Fix serious file read problem due to not-so-clear VOP_BMAP description. Should
fix PR 45605.
2013-05-08 10:29:22 +00:00
kefren
12d5f1b2e0 First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.
2013-05-08 08:57:45 +00:00
apb
39865ca576 zoneinfo: Import tzdata2013c. [apb 20130508] 2013-05-08 08:24:13 +00:00
apb
ebd8871e22 tzcode2013c/tzdata2013c have been released.
We have updated to tzdata2013c.
2013-05-08 08:23:55 +00:00
apb
f2f7835240 Merge tzdata2013c from ftp://ftp.iana.org/tz/releases/tzdata2013c.tar.gz
Summary of changes from tzdata2013b to tzdata2013c:

  Changes affecting current and future time stamps:

    Palestine observed DST starting March 29, 2013.
    From 2013 on, Gaza and Hebron both observe DST.
    Assume that the recent change to Paraguay's DST rules is permanent.

  Changes affecting past time stamps:

    Fix some historical data for Palestine.
    Fix times of habitation for Macquarie.

  Changing affecting metadata only:

    Macquarie Island is politically part of Australia, not Antarctica.
    Sort Macquarie more-consistently with other parts of Australia.
2013-05-08 08:18:45 +00:00
apb
194bdd8057 Import tzdata2013c from ftp://ftp.iana.org/tz/releases/tzdata2013c.tar.gz
Summary of changes from tzdata2013b to tzdata2013c:

  Changes affecting current and future time stamps:

    Palestine observed DST starting March 29, 2013.
    From 2013 on, Gaza and Hebron both observe DST.
    Assume that the recent change to Paraguay's DST rules is permanent.

  Changes affecting past time stamps:

    Fix some historical data for Palestine.
    Fix times of habitation for Macquarie.

  Changing affecting metadata only:

    Macquarie Island is politically part of Australia, not Antarctica.
    Sort Macquarie more-consistently with other parts of Australia.
2013-05-08 08:15:47 +00:00
msaitoh
b9e616359a No functional change:
- Fix typo
 - Add comment
 - Remove duplicated definitions
2013-05-08 07:50:28 +00:00
skrll
d2e06ef9d4 Add earmhfeb libgmp files. 2013-05-08 05:42:17 +00:00
skrll
2bbf1686a1 Add libgmp files for earmeb. 2013-05-08 05:40:15 +00:00
matt
89ffffc897 Add two convenience macros for testing a zero fraction. 2013-05-08 05:27:01 +00:00
matt
8ef5fb1f7f When using EABI, call __aeabi_{i,l}div0 when diving by 0. 2013-05-08 05:13:56 +00:00
pgoyette
b322009003 Fix the build 2013-05-08 04:33:15 +00:00
msaitoh
df0260146e Check the hardware config words and print them. This change only read them
and print the values.
2013-05-08 04:05:46 +00:00
msaitoh
90a00b5eb9 Add missing bus_dmamap_sync() in bge_intr(). The status word is in DMAed area.
Same as *BSDs.
2013-05-08 03:13:35 +00:00
pooka
fd234450ab regen 2013-05-08 00:57:24 +00:00
pooka
3e76b61ad3 grab mount-related macros too 2013-05-08 00:57:06 +00:00
christos
d5f24c2bef Simplify previous: instead of polluting the whole code with extra arguments
and dealing with byteorder, do the whole thing in where we need it.
2013-05-08 00:34:50 +00:00
pooka
8c02221cee regen 2013-05-08 00:25:55 +00:00