Age | Commit message (Collapse) | Author |
|
|
|
Found by and original fix from Geoff Steckel.
While here, switch the assert that prevents this from happening from DEBUG to DIAGNOSTIC.
ok thib@, miod@
|
|
use for intptr_t and uintptr_t.
ok millert@, deraadt@
|
|
fix is to manipulate the name cache structures before
potentially sleeping on a vn_lock(). This avoids the race of
the ncp entry being recycled while we are asleep.
run in snaps and on ftp.openbsd.org for months
ok thib@
|
|
|
|
|
|
|
|
cleaner to access the first member via ia_ifa instead of casting.
No binary change.
ok henning@ krw@
|
|
a socket that has an inp but tp is NULL. The call stack for that
is tcp_input() tcp_close() soisdisconnected() sorwakeup() somove()
tcp_usrreq(PRU_RCVD). To avoid a NULL dereference, just return in
that case.
ok henning@
|
|
doing more or less the same, merge them into one. Just remove
fragment entries from the queue in pf_join_fragment() before they
are freed. Then pf_remove_fragment() is not needed anymore.
ok henning@
|
|
value of __cplusplus indicates C++11 support is turned on by the compiler.
ok guenther@, millert@
|
|
|
|
itself is, the FIFO engine around doesn't seem to be.
|
|
reported and fix tested by sebastia@. naddy@ helped get the ordering right.
|
|
|
|
From Loganaden Velvindron.
|
|
- Use opendev() like we do for installboot on many other archs.
- Use the term bootblock rather than prototype for the first-stage, since
we install it verbatim.
- Read the bootblock into a zeroed buffer rather than messing around with
mmap() and zeroing the end of the space.
- Make man page consistent with respect to the first-stage bootblock and
second-stage boot program.
ok kettenis@ jmc@ (for the man part)
|
|
|
|
Many thanks to Marco Peereboom for his assistance with testing and
debugging. Thanks also to Josh Grosse and Chris Jackman for testing.
|
|
files to operate); reported to work by Graeme Neilson (firstname, lolux dot net)
on sgi@
|
|
after hours of tinkering with my frame buffer debugger, here comes color
support for tvrx(4) - by making use of all overlay planes. Access to the
regular planes remains a mystery, and seems to require a download of
microcode into the board first. Still slightly better...
|
|
was encoded as a read instruction, while MFCPU_T was encoded as a
read-through-TH instruction, although the only uses of it concern registers
read through CH.
(You are not supposed to understand this, this is a dark corner of undocumented
rotten PA-RISC bowels).
Cache SID hashing will now correctly be disabled on PCXS, PCXT and PCXT'
processors.
Proper encoding from the old PA-RISC mklinux sources; tested on 720 (PCXS)
and 715/75 (PCXT); ok kettenis@
|
|
already done for UDP/TCP/ICMP. This fixes a problem where checksumming
would not be computed if you have a bridge with at least one interface
with hardware checksumming and another without.
Discussed with sthen@ and henning@, this is somewhat a temporary fix,
we should not have these special bridge cases in ip_output, as Henning
said, the bridge must behave. But for that to work we need to poke the
bridge harder, this problem has been seen by at least two users at:
http://marc.info/?l=openbsd-misc&m=132391433319512&w=2
http://marc.info/?l=openbsd-misc&m=132234363030132&w=2
I promised to work on a better diff :-).
ok henning@ sthen@ mikeb@
|
|
initialise both the volume and chunk metadata before the discipline
specific sd_create() function is called. The sr_meta_init_complete()
function is then called to complete the initialisation based on values
provided by sd_create().
|
|
if we correctly read and validated the disklabel. Always check that this
flag is set before using the DUID from the disklabel.
Discussed with deraadt@
ok krw@
|
|
generate one.
ok krw@
|
|
related code.
ok kettenis@
|
|
and TAILQ_EMPTY for accessing the nd_defrouter list. No funtional
change.
ok stsp@
|
|
This is all documented at:
http://support.amd.com/us/Embedded_TechDocs/25481.pdf (page 20)
http://www.intel.com/assets/pdf/appnote/241618.pdf (page 41)
ok jsg@
|
|
cover the no redundancy/no rebuild case. Use these for the AOE, crypto and
RAID 0 disciplines.
|
|
those that are needed by a specific discipline.
|
|
|
|
the user asks to only keep the input source enabled, and remember this
to keep reporting the previously configured volume values in mixerctl.
While there, document the supported encodings and the supported mixer items
in the manual page, and the fact that all output sources share the same
volume (GX gain) setting.
|
|
quality. While there, use a better gain table.
|
|
and extending it to support rthreads would be a waste of time. Also, don't
show rthreads in the process listing in procfs.
Reassurances that compat_linux doesn't need this from ajacoutot@
ok kettenis@
|
|
this for so long, but fixes SEGV on errno access with librthread.
Apologies to jeremy@, todd@, robert@ and others for taking so long to track
this down
|
|
|
|
into a Ricoh RU822 controller). Also switch the base clock to 50MHz as some
SD/MMC cards don't work with the default 200MHz clock.
|
|
|
|
|
|
bit or byte flipping. Trivial, and would have been part of the initial commit,
had I not made the mistake of testing a big-endian chip with 16-bit audio
data in little-endian format (``oops'').
|
|
spotted by bluhm@, ok yasuoka@
|
|
(hp300) and the HP9000/705 and 9000/710 (hppa). 8-bit mono, 8KHz, no surprise
since it is based upon a digital phone chip.
Tested on 425e only so far, and playback only; configured in, but disabled,
on hppa kernels until there are positive test reports (I am not sure the
interrupt assignment on hppa is correct).
And now people no longer can joke about audio on hp300.
|
|
in pf_test_state_*(). This needs less code and is more consistent.
OK mikeb, markus, henning.
|
|
(level 6). Will be used shortly.
|
|
ok yasuoka@ bluhm@
|
|
also don't do af translation if pf_translate didn't succeed. ok henning
|
|
someone holding a system vnode. prevents crashes with forced unmounts.
silence ntfs_reclaim so that kernel won't spit out vprint's angrily.
ok krw, beck
|
|
(there only one state and it's direction is always PF_IN) and don't
exclude icmp echo replies from the test.
ok mcbride, claudio on previous version, ok henning, "looks good" deraadt
|
|
Change fxp_resume to avoid the nested splnet call inside fxp_init
altogether. Initial diff by Jan Klemkow; Tested and OK bluhm.
|