Commit Graph

242539 Commits

Author SHA1 Message Date
nakayama
da6c94469a Fix (unused) pstate mask bits in tstate and comment. 2016-05-18 07:59:30 +00:00
knakahara
27d6758ddb device drivers should not divert ifp->if_flags to manage H/W satatus. 2016-05-18 07:49:34 +00:00
knakahara
7041241bc0 refactor: eliminate "txq->txq_descs_size", use WM_TXDESCS_SIZE instead. 2016-05-18 06:59:59 +00:00
knakahara
2195dace3a fix unmatched dma sync size for NEWQUEUE. This bug would have caused
wm_nq_tx_offload() not to work.
2016-05-18 06:55:51 +00:00
spz
54b54045cc Fixes for CVE-2016-0718 from upstream. 2016-05-17 23:53:02 +00:00
christos
874c2fbeab mention my last coda work 2016-05-17 21:03:36 +00:00
christos
e6adf9a769 reflect reality (through my ping glasses) 2016-05-17 20:53:53 +00:00
palle
2f23095fbd sun4v: Implement missng MMU protection trap handling - mostly from OpenBSD 2016-05-17 19:43:28 +00:00
palle
61ea5f5e14 Update TODO: sun4v_datatrap handling for trap level 0 is working 2016-05-17 19:39:44 +00:00
ozaki-r
9b5dfda043 Fix RT_IN_PRINT 2016-05-17 15:21:14 +00:00
jdc
197c227429 PR kern/46083
Track the start of each packet, so that we set the "Start of Frame" bit in
all the relevant transmit descriptors when enqueing multiple packets.

Patch from Valery Ushakov, slightly modified by me to handle debug output.

Tested on macppc/6.x and sparc64/7.99.x.
2016-05-17 14:44:53 +00:00
christos
5a6c14c844 Add RCSID's 2016-05-17 14:00:09 +00:00
ozaki-r
cba53ba7a5 Tidy up route_output
Avoid jumping into the middle of a switch statement, use a function instead.
2016-05-17 12:58:21 +00:00
pooka
e7ea1faa65 initialize buf to NULL for error branch on line 532 2016-05-17 11:37:50 +00:00
pooka
7608448abe Try to get more packets going if the transmit interrupt indicates
some were sent.  Doing so avoids a situation where vioif_start never
gets called in case the sendqueue fills up and therefore the interface
perpetually drops all packets due to the queue being full.
(not sure why all drivers need to do this themselves; just keeping
up with the joneses)

Problem reported and patch tested by jmmlmendes and yasukata at
repo.rumpkernel.org/rumprun
2016-05-17 10:05:31 +00:00
kre
c80063823d Use valid (standard) shell syntax, in anticipation of /bin/sh enforcing
it sometime soon (perhaps.)
2016-05-17 09:05:14 +00:00
ozaki-r
1acd48af54 Get rid of unnecessary assignment 2016-05-17 09:00:24 +00:00
msaitoh
7ca43d6799 Fix CORTEXA9Rx definitions. 2016-05-17 08:27:24 +00:00
ryo
72c0aec318 Note i.MX7 2016-05-17 06:52:00 +00:00
ryo
ec48232126 Add initial support for Freescale i.MX7 SoC and
Atmark Techno Armadillo-IoT G3 boards.

Contributed by Internet Initiative Japan Inc.
2016-05-17 06:44:45 +00:00
ozaki-r
842c4ed6c1 Get rcvif once and reuse it
No functional change.
2016-05-17 03:27:02 +00:00
ozaki-r
31da384114 Make sure icmp6_redirect_input frees mbuf before return 2016-05-17 03:24:46 +00:00
martin
28b6430ec6 Mark a diagnostic only variable 2016-05-17 03:20:58 +00:00
christos
10c1bb4dec Clamt the PAX_ASLR random value to the max bits we have for VA. 2016-05-17 00:39:43 +00:00
christos
f2f81db6f6 Hook to clamp the random value for mmap for machies that don't have enough
VA bits.
2016-05-17 00:38:50 +00:00
christos
bb32bde822 Adjust to new freetype-2.6.3 2016-05-16 22:20:10 +00:00
christos
5d3395496d Adjust to new freetype structure. 2016-05-16 22:19:41 +00:00
christos
5b57c7ffa3 Adjust to 2.6.3. 2016-05-16 22:19:10 +00:00
palle
ef44ed55df Avoid assembler-specific defines by using the export keyword in genassym.cf instead 2016-05-16 20:03:07 +00:00
pooka
3bc931a0af Add workaround for PR kern/51135
If the rnd component is present, load extra initial entropy to avoid
/dev/random not being able to request it on demand.  The extra initial
entropy will allow a few instances of /dev/random, but will eventually
go into the failure mode described in the PR.
2016-05-16 16:31:07 +00:00
skrll
35ca377c08 Simplify and fixup roothub interrupt transfers to work as well as before
nick-nhusb.
2016-05-16 15:09:29 +00:00
ozaki-r
cef59834c4 Use M_GETCTX and M_SETCTX instead of open-coding rcvif
No functional change.
2016-05-16 09:53:59 +00:00
skrll
5da2f1cee0 Update comment 2016-05-16 08:00:25 +00:00
skrll
e0f98e3455 Really fix comment 2016-05-16 07:59:42 +00:00
maxv
9c4befc9b2 Update kern.ldscript.4MB. It is the same as kern.ldscript, but with a large
page alignment before rodata.
2016-05-16 07:52:31 +00:00
maxv
683c80c88e Mention fine-grained permissions and large pages on x86. 2016-05-16 07:37:45 +00:00
nonaka
dd98b35fce Fix format 2016-05-16 04:20:13 +00:00
ozaki-r
2ccabb7fd7 Apply if_get and if_put to bridge(4) 2016-05-16 01:23:51 +00:00
ozaki-r
fd97b511fe Replace ifnet_lock with if_get and if_put
ifnet_lock is a dedicated method to safely destroy an interface over running
ioctl operations. Replace it with a more generic mechanism using psref(9).
2016-05-16 01:16:24 +00:00
ozaki-r
b59e9a736b Introduce if_get, if_get_byindex and if_put
The new API enables to obtain an ifnet object with protected by psref(9).
It is intended to be used where an obtained ifnet object is used over
sleepable operations.
2016-05-16 01:06:31 +00:00
nakayama
49bc961c13 %g1 is not preserved across function call, so load it before
return_from_trap.
2016-05-15 23:54:58 +00:00
jnemeth
936489bc66 PR/51028 - Nikolai Lifanov -- add RPKI, BGPSEC 2016-05-15 23:54:19 +00:00
jnemeth
27b3875271 PR/51023 - Nikolai Lifanov -- add more acronyms 2016-05-15 23:40:46 +00:00
dholland
f73cfd4294 add:
config(1)  (cube)
        error(1)   (christos)
        inetd(8)   (me)
        mail(1)    (christos)
        sh(1)      (add kre)

and take out entries compat_irix, compat_darwin, and compat_mach as
these were removed from the kernel some time back.
2016-05-15 22:57:31 +00:00
kamil
c5cd6fc399 Remove redundant entry for pmax 2016-05-15 22:47:12 +00:00
christos
91e51ad49a remove stray debugging. 2016-05-15 20:37:48 +00:00
christos
6a4222698f Bail out if the string does not look like a timezone (is empty or does not
start with a letter or a number). tzparse("") or tzparse(".45") don't fail.
2016-05-15 20:36:42 +00:00
kre
b752c81378 Add a new test case to validate N>&N redirect disables close-on-exec.
OK christos@
2016-05-15 15:44:43 +00:00
reinoud
9abd791ba2 Use _align(2) workaround for PR kern/51141. This fixes odd CD length
reporting.
2016-05-15 15:37:38 +00:00
chs
6ee802c24a define ALTENTRY(), needed by dtrace. 2016-05-15 15:26:04 +00:00