summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-17various macro fixes;Jason McIntyre
2013-01-17Don't try to access m_head after it may be freed (unlikely for VT6105M,Chris Cappuccio
but possible). Also don't re-calculate vlan tag repeatedly through the descriptor loop. ok dtucker@
2013-01-17some simple macro fixes;Jason McIntyre
2013-01-17remove uesless Pp;Jason McIntyre
2013-01-17Ensure the tty hiwat is less than the size of the ring buffer (sinceTheo de Raadt
we do not grow space like clist chains). Clamp it a bit more precisely, ensuring a bit of space for kernel ^T handling and such. It was definately wrong, and we can tune this if required later. ok kettenis
2013-01-17hardwire SLIP_HIWAT to 100 (as the comment above suggests) since we areTheo de Raadt
using tty ring buffers instead of clists ok kettenis
2013-01-17remove a uesless Pp;Jason McIntyre
2013-01-17remove some uesless Pp;Jason McIntyre
2013-01-17Fix a couple of spacing/style nits.Nicholas Marriott
2013-01-17New pmap for panda boards. Work from lots of folks.Brandon Mercer
OK miod@
2013-01-17Remove unnecessary pointer casts. No binary diff.Alexander Bluhm
OK benno@
2013-01-17Do not allow cursor colours to be set beginning with ? as that willNicholas Marriott
report the colour, from Hayaki Saito.
2013-01-17Improve socket splicing tests:Alexander Bluhm
- One more UDP test. - Enforce that kernel returns EFBIG where appropriate. - Better comments in test files.
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2013-01-17Expand the socket splicing functionality from TCP to UDP. MergeAlexander Bluhm
the code relevant for UDP from sosend() and soreceive() into somove(). That allows the kernel to directly transfer the UDP data from one socket to another. OK claudio@
2013-01-17Man page update for the changed semantics of maximum socket splicing.Alexander Bluhm
The error EFBIG can be returned to userland now. OK jmc@
2013-01-17syncReyk Floeter
2013-01-17Add a few more VMware devices.Reyk Floeter
2013-01-17Generate assym.h where we need it, instead of reaching around into otherJoel Sing
object directories. Discussed with deraadt@
2013-01-17Clean up/standardise makefiles for amd64/stand.Joel Sing
2013-01-17Clean includes.Joel Sing
2013-01-17After finding the socket's inp by using the pf's statekey, resetAlexander Bluhm
the pointer to the statekey in the mbuf. When an UDP socket is spliced, pf would use this key during ip_output() although the packet went through two sockets in the meantime. Reset the mbuf's statekey in tcp_input() and udp_input() to eliminate the pointer to pf lingering in the socket buffers. OK claudio@
2013-01-17Instead of creating line termios from scratch, call tcgetattr() andNicholas Marriott
adjust it (per POSIX), reported by kettenis.
2013-01-17forgot this file when committing the 64bit dva diff.David Gwynne
2013-01-17improve snapshot handling:Markus Friedl
- don't start a new snapshot if we are already in NBR_STA_SNAP - ignore IMSG_DB_SNAPSHOT and IMSG_DB_END unless we are in NBR_STA_SNAP - add new IMSG_LS_SNAP message so we can distinguish it from IMSG_LS_UPD. this way we can ignore them if we are not in NBR_STA_SNAP ok claudio@
2013-01-17do not send IMSG_LS_UPD if we have no links; ok claudioMarkus Friedl
2013-01-17ignore the nbr_adj_timer if we are not forming adjacencies; ok claudioMarkus Friedl
2013-01-17transmit correct state to RDE; ok claudioMarkus Friedl
2013-01-17allow two minutes until neighbor adjacencies are formed; ok claudio@Markus Friedl
2013-01-17for point-to-point interfaces we need to send lsupdates to theMarkus Friedl
interface address, since there is no DR and multicast messages to the DR will be ignored. see RFC 2328, 13.3(5) ok claudio@
2013-01-17the peer might still send more DD messages, even if the RDE hasMarkus Friedl
processed all received DDs (dd_pending == 0), so we need to check for state != NBR_STA_XCHNG; ok claudio@
2013-01-17the event NBR_EVT_SEQ_NUM_MIS is not defined in state NBR_STA_XSTRTMarkus Friedl
(would change back to NBR_STA_XSTRT anyway) ok claudio@
2013-01-17Convert softraid RAID 0 to the new ccb functions.Joel Sing
ok krw@
2013-01-17Fix some blank line nits.Nicholas Marriott
2013-01-17Restructure the RAID1 I/O path so that we only get a ccb once we areJoel Sing
certain that we need one. Also make code more consistent with other disciplines. ok krw@
2013-01-17mikeb pointed at that the interrupt status register read in mpi_intr wasDavid Gwynne
important, as per r1.167.
2013-01-17Dump some more flags and subtypes in tcpdump. Especially flags used inClaudio Jeker
power saving mode. OK giovanni@
2013-01-17Create a printb() suitable string for IEEE80211_FC1 field. Needed to showClaudio Jeker
more info in tcpdump. OK giovanni@
2013-01-17Style, no functional changes.Paul Irofti
Discussed with mlarkin@.
2013-01-17we dont need to read the interrupt status register to know if we haveDavid Gwynne
any work to do in the interrupt handler, or to clear it. the relevant bits indicate whether there's work on the doorbell and clear when there isnt. we need to read the doorbell if there is work to do, so lets just go that straight away anyway. get rid of bus_space_barriers in the io path. barriers are for enforcing ordering. the doorbell reads and writes dont depend on any other register values so ordering isnt applicable here.
2013-01-17Convert softraid concat to the new ccb functions.Joel Sing
ok krw@
2013-01-17treat DVAs as 64bits all the time so we can avoid ugly casts and shifts inDavid Gwynne
the code.
2013-01-17Add a hibernate HIB_DONE op. After the memory-side-effect driver finishesTheo de Raadt
IO to the disk, DVACT_RESUME the controller back to normal operation. That allows us to do the full DVACT_POWERDOWN sequence afterwards. ok mlarkin
2013-01-17Fixup printing of rdomain configs -- add network statements and only printClaudio Jeker
the description if it is set.
2013-01-17option HIBERNATE for amd64Mike Larkin
presently there are issues with SMP which are being looked at, and a few machines still reboot on the unpack stage. ok deraadt@
2013-01-17increase the number of pages used to hold the chunk ordering map and changeMike Larkin
the index type from int to short. Allows amd64 to hibernate with up to 64GB phys memory
2013-01-17use .quad for gdt load when returning from long mode. Fixes a rebootMike Larkin
problem after unpack
2013-01-17first or second coming, commie or not commie, one m in coming is sufficientHenning Brauer
ok claudio
2013-01-17fix an error in the amd64 asm unhibernate code and a slight adjustment toMike Larkin
the MI hibernate code to handle 64 bit archs
2013-01-17Remove the layout undo/redo code which never really worked.Nicholas Marriott