summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-12Remove SIOCSIFMTU handling and misuse of if_mtu values for MRUMike Belopuhov
Since there's now no way to select maximum receive unit size the hardware is programmed to accept frame sizes up to 9216 which is now the maximum (down from 15.5K since this is supposed to work in all advanced configurations and gives slightly better flow control watermark ranges) and split all frames larger 2K into multiple fragments (code was already there but wasn't enabled). Tested on 82599 (SFP+) and X540 (10GBaseT). With input from dlg@.
2014-11-12Don't let force-width or force-height be < PANE_MINIMUM.Nicholas Marriott
2014-11-12truncate dead.letterGilles Chehade
2014-11-12Ansify vi.Anthony J. Bentley
ok bcallah@ millert@
2014-11-12Merge Makefiles, moving the build up a level and putting the CPU-specificPhilip Guenther
build flags into conditionals in the Makefile, fixing a few inconsistencies in the process. \o/ miod@
2014-11-11Store autoinstaller logfile in /mnt/var/log to be available afterRobert Peichaer
reboot and to cope with an upcoming change to /var/tmp. Noted by and OK halex@ OK deraadt@
2014-11-11Update to tzdata2014j from ftp.iana.orgTodd C. Miller
2014-11-11use crypt_checkpass instead of crypt/strcmpTed Unangst
2014-11-11Do not held the kernel lock when calling hardclock() and statclock().Martin Pieuchot
This is not necessary, as confirmed by tedu@ and kettenis@. Solve the major contention problem seen on my Dual G5. Reduce the build time of a kernel with two jobs from 5h+ to 18min and expose more easily pmap/memroy corruptions 8) ok kettenis@
2014-11-11When a bus is explored, do not probe the ports which status hasn'tMartin Pieuchot
changed. This saves a lot of I/O when attaching/detaching devices and might help with some timing related problems. Has been in snap for ten days, committing now so that people testing xhci(4) test the same thing w/ snapshots and their own kernel.
2014-11-11Tweak the the DHCPACK to DHCPINFORM log entry so that it isKenneth R Westerback
less threatening and more informative. e.g. DHCPACK on <null address> to 5c:51:4f:56:81:c3 via em0 changes to DHCPACK to 192.168.19.62 (3c:97:0e:0c:0c:d7) via em0 Issue noted and diff tested by Marc Peters. Thanks! ok yasuoka@ millert@
2014-11-11f{read,write} take a number of items and an item size as arguments, andMiod Vallat
return the number of items read of written. When you intend to return the number of bytes actually processed, it is wise to pass 1 as the item size and the size as the number of items. But in *some* places, the OpenSSL does the opposite, and has extra logic to change a successful return of 1 (item processed) into the real size. And, guess why it does that? Because of old VMS, for they (used to) have a substandard stdio implementation. Note that this change causes the return values of BIO_dump_fp() and BIO_dump_indent_fp() to no longer be useless (actual number of callback calls), but actual bytes output. Given the irrelevance of the return value before, it is unlikely that anything depends upon it (and if something does, it probably has other problems in need for a fix...) ok tedu@ beck@ jsing@
2014-11-11In man(1) mode without -a, stop searching after the first manual treeIngo Schwarze
that contained at least one match in order to not prefer mdoc(1) from ports over mdoc(7). As a bonus, this results in a speedup.
2014-11-11Local APIC page doesn't need X permissions.Mike Larkin
ok deraadt, guenther
2014-11-11Stop athn(4) from attaching to AR9300 devices for now. There are unresolvedStefan Sperling
bugs that panic the kernel and it's unclear if any such device works at all. Anyone in possession of a working AR9300 device that stops working with this commit please talk to me. I've only seen evidence of this code not working. ok kirby@ mpi@ phessler@ dcoppa@
2014-11-11Allow the log directory to be configurable in the config file, rather thanBob Beck
fixed as /logs within the chroot. As this httpd is properly privesp'ed this has the nice property of allowing us to put the logs outside the chroot if we want to. ok reyk@
2014-11-11correct the failure case for getentropy on win32Brent Cook
CryptAcquireContext and CryptGenRandom returns zero (FALSE) if fails. From: Dongsheng Song <dongsheng.song@gmail.com>
2014-11-11Do not reset the base address of the control endpoint's ring whenMartin Pieuchot
the second "Set Address" command is issued. This would lead the HC to reprocess TRBs corresponding to completed transfers. This was the cause of the "xhci0: NULL xfer pointer" message that could be seen after attaching a device and reported by naddy@.
2014-11-11Ask networking stack to recalculate the ICMPv6 checksum in pf_route6Mike Belopuhov
since we might have tweaked the addresses. Problem reported and fix test by Bastien Durel <bastien at geekwu ! org>, thanks! OK henning
2014-11-11Adjust aspath_strlen() since the output format changed to ASPLAIN.Claudio Jeker
This should return the proper length again. OK phessler, benno
2014-11-11The default output format for 32bit AS numbers has moved from AS_DOT+Peter Hessler
to ASPLAIN. Of course, you can still input AS numbers in either format. OK henning@, claudio@, benno@, sthen@
2014-11-11Don't free garbage in ec_wNAF_mul() if wNAF could be allocated butPhilip Guenther
other allocations in the same block couldn't. problem pointed out by David Ramos on the openssl-dev list ok miod@ doug@
2014-11-11Merge from NetBSD from 1999-03-25:"Philip Guenther
* don't close the socket unless it was opened by the function * note (in the comments) that the client is responsible for closing the socket if they opened it, or they didn't use CLNT_DESTROY() fixes a couple of unnecessary closing of already-closed sockets. noted by: Matthias Drochner <M.Drochner@fz-juelich.de>" tested by many in snaps ok schwarze@
2014-11-11delete extra word in NdTheo de Raadt
2014-11-11Let -h imply -c (that is, not use the pager).Ingo Schwarze
Usually, -h output is short, so the pager is just a nuisance. Also, traditional man(1) does not use a pager for -h. Triggered by a remark of deraadt@ on ICB.
2014-11-11implement -h (synopsis only) for preformatted (cat) pages;Ingo Schwarze
requested by tedu@
2014-11-11Replace mysql with mariadb.Brad Smith
2014-11-10mux-related manual tweaksDamien Miller
mention ControlPersist=0 is the same as ControlPersist=yes recommend that ControlPath sockets be placed in a og-w directory
2014-11-10Disable -fgcse on vax at -O2, for it exposes code generation bugs (which mightMiod Vallat
not be in the cse code itself, actually). This is quite the pessimistic hammer but that's the best we can do until someone with enough motivation debugs this. Behind-the scenes tedious research of the issue by afresh1@ trying to get perl 5.20 to run on vax.
2014-11-10Make flag_gcse non-static.Miod Vallat
2014-11-10add required vertical spacing before lists that beginIngo Schwarze
at the beginning of the first item of an enclosing list right at the beginning of a new section or subsection; minibug reported by Steffen Nurpmeso <sdaoden at yandex dot com>
2014-11-10remove various bits of autoconf cruft. from Martin NatanoTed Unangst
2014-11-10remove ipc leftovers. from Martin NatanoTed Unangst
2014-11-10remove old, unnecessary compat code. from Martin NatanoTed Unangst
2014-11-10more tests found in my treeIngo Schwarze
2014-11-10Fix horrible spelling mistake introduced in r1.17Miod Vallat
2014-11-10SKIP_GROFF tests need to adapt to the changed rendering of \(bu, tooIngo Schwarze
2014-11-10adapt to the changed rendering of \(buIngo Schwarze
2014-11-10Revert r1.17 as it breaks inserting in some cases.Nicholas Marriott
2014-11-10m68k is dead <sniff>Philip Guenther
ok miod@
2014-11-10Grab the pool mutex in sysctl_dopool(), but only for pools for whichMark Kettenis
pool_setipl(9) has been called. This avoids the panic introduced in rev 1.139 (which was subsequently backed out) while still effectively guaranteeing a consistent snapshot. Pools used from interrupt handlers should use the appropriate pool IPL. ok dlg@, deraadt@
2014-11-10Split the logic for the ICMP and ICMP6 case in pf_get_sport(). TheAlexander Bluhm
types ICMP_ECHO and ICMP6_ECHO_REQUEST have their special meaning only if the protocol matches. Put an #ifdef INET6 around ICMP6_ECHO_REQUEST to make the kernel without IPv6 compile. OK henning@
2014-11-10add an additional error check into the ixgbe_handle_msfMike Belopuhov
2014-11-10remove pointless timeout_del/add dance in the interrupt handlerMike Belopuhov
2014-11-10Inadvertent ampersand has made the check to always yield truthMike Belopuhov
This change fixes up SFP+ module detection during "ifconfig up" after the machine has been booted without the modules plugged in.
2014-11-10Gather full statistics only when IX_DEBUG is definedMike Belopuhov
since most of them can't be retrieved otherwise. This comes with a slight but measurable performance increase as well. Also since the hardware has a single counter for missed packets including those caused by the insufficient DMA buffers available, this makes it hard to decipher actual errors when used with Rx ring length limiting mechanisms like if_rxr or mclgeti.
2014-11-10don't try to update the link status every secondMike Belopuhov
2014-11-10remove ixgbe_sfp_probe since it's not called anywaysMike Belopuhov
2014-11-10Support USB 1.x devices below external hubs.Martin Pieuchot
This code is violating various layers of abstraction, just like ehci(4) does. Transaction translators need a bit more love.
2014-11-10Add some fields needed for TT support.Martin Pieuchot