aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Modify defrouter_remove() to perform the router lookup before removal.Mark Johnston2016-03-173-54/+39
| | | | | | | | | | | This allows some simplification of its callers. No functional change intended. Tested by: Larry Rosenman (as part of a larger change) MFC after: 1 month Notes: svn path=/head/; revision=296991
* Remove unused variables dtrace_in_probe and dtrace_in_probe_addr.Mark Johnston2016-03-177-17/+0
| | | | Notes: svn path=/head/; revision=296990
* Remove 50% ZFS conditional from bsdinstall/zfsbootAllan Jude2016-03-171-5/+5
| | | | | | | | | | | Remove the requirement that the resulting partition table be atleast 50% ZFS PR: 208094 Requested by: brooks Sponsored by: ScaleEngine Inc. Notes: svn path=/head/; revision=296988
* Add missing curly brackets in for loop.Hans Petter Selasky2016-03-171-2/+3
| | | | | | | | Sponsored by: Mellanox Technologies MFC after: 1 week Notes: svn path=/head/; revision=296987
* Reduce the number of local variables. Remove redundant check that inpAndrey V. Elsukov2016-03-171-19/+11
| | | | | | | | | pointer isn't NULL, it is safe, because we are handling IPV6_PKTINFO socket option in this block of code. Also, use in6ifa_withaddr() instead of ifa_withaddr(). Notes: svn path=/head/; revision=296986
* Change in6_selectsrc() to allow usage of non-local IPv6 addresses inAndrey V. Elsukov2016-03-171-10/+18
| | | | | | | | | | IPV6_PKTINFO ancillary data when IPV6_BINDANY socket option is set. Submitted by: n_hibma MFC after: 2 weeks Notes: svn path=/head/; revision=296984
* Add paragraph about isp(4) improvements.Alexander Motin2016-03-171-0/+5
| | | | Notes: svn path=/head/; revision=296983
* A20: Gpiobus can be attached only after full gpio driver initialization.Michal Meloun2016-03-171-8/+4
| | | | | | | | | While i'm in, remove now unused global variable. Submited by: Emmanuel Vadot <manu@bidouilliste.com> Notes: svn path=/head/; revision=296982
* Make it an error to build an ARM kernel with COMPAT_FREEBSDn where n < 10.Andrew Turner2016-03-171-0/+6
| | | | | | | | | | | | We changed the ABI for ARM in 10, an removed support for the old ABI in 11, as such binaries from these releases are unable to be run on a head kernel. Reviewed by: bz, emast Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5652 Notes: svn path=/head/; revision=296981
* Fixes a few style(9) issues, remove extra blank lines.Luiz Otavio O Souza2016-03-173-125/+118
| | | | | | | | | No functional changes. Sponsored by: Rubicon Comunications (Netgate) Notes: svn path=/head/; revision=296980
* xo_config.h no longer in contrib, so -I's neededSimon J. Gerraty2016-03-172-3/+5
| | | | | | | | PR: /homes/sjg/commit-logs/freebsd/libxo/xo_config.diff Reviewed by: jkim Notes: svn path=/head/; revision=296979
* cxgbe(4): Tidy up PAUSE frame accounting.Navdeep Parhar2016-03-172-6/+21
| | | | | | | | | | | | | | Figure out if the chip is counting PAUSE frames in the "normal" stats and take them out if it is. This fixes a bug in the tx stats because the default hardware behavior is different for Tx and Rx but the driver was treating both the same way. The result was that OPACKETS, OBYTES, and OMCASTS were under-reported (if tx_pause > 0) before this change. Note that the mac_stats sysctl still gives you the raw value of these statistics straight from the device registers. Notes: svn path=/head/; revision=296975
* [net80211] Add some more missing IEs.Adrian Chadd2016-03-171-0/+13
| | | | | | | | | There are a /lot/ more missing; I'll chase these down over time. Obtained from: 802.11-2012 standard Notes: svn path=/head/; revision=296974
* fail(9): Only gather/print stacks if STACK is enabledConrad Meyer2016-03-173-1/+12
| | | | | | | | | | This is a follow-up fix to the earlier r296927. Reported by: bz Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296973
* We need libutilSimon J. Gerraty2016-03-171-1/+7
| | | | | | | and make it feasible to at least build the tests in situ Notes: svn path=/head/; revision=296970
* Bring down 0.4.5 vendor files and other catchups with the distribution tarball.David E. O'Brien2016-03-166-287/+416
|\ | | | | | | | | | | | | Reviewed by: phil Notes: svn path=/head/; revision=296968
| * More closely match thevendor/Juniper/libxo/0.4.5David E. O'Brien2016-03-169-370/+252
| | | | | | | | | | | | | | | | | | | | | | https://github.com/Juniper/libxo/releases/download/0.4.5/libxo-0.4.5.tar.gz tarball. Reviewed by: phil Notes: svn path=/vendor/Juniper/libxo/dist/; revision=296965 svn path=/vendor/Juniper/libxo/0.4.5/; revision=296971; tag=vendor/Juniper/libxo/0.4.5
| * Moving libxo to properly tracked, 3rd-Party imported handling.David E. O'Brien2016-03-16345-0/+54139
| | | | | | | Reviewed by: phil, sjg Notes: svn path=/vendor/Juniper/libxo/dist/; revision=296962
* Move generated file from contrib to build directory.Phil Shafer2016-03-162-1/+1
| | | | | | | | Reviewed by: obrien Approved by: sjg Notes: svn path=/head/; revision=296967
* Implement GELI (AES-XTS and AES-CBC only) in gptboot and gptzfsbootAllan Jude2016-03-1624-45/+1218
| | | | | | | | | | | | Allows booting from a GELI encrypted root file system, via UFS or ZFS Reviewed by: gnn, smh (previous version), delphij (previous version) Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4593 Notes: svn path=/head/; revision=296963
* Due to invalid use of a signed intermediate value in the bounds checkingGleb Smirnoff2016-03-161-2/+2
| | | | | | | | | | | | during argument validity verification, unbound zero'ing of the process LDT and adjacent memory can be initiated from usermode. Submitted by: CORE Security Patch by: kib Security: SA-16:15 Notes: svn path=/head/; revision=296956
* cxgbe(4): Enable PFs 0-3, and allow creation of SR-IOV VFs on these PFsNavdeep Parhar2016-03-162-54/+202
| | | | | | | in the default configuration files. Notes: svn path=/head/; revision=296952
* cxgbe(4): Enable additional capabilities in the default configurationNavdeep Parhar2016-03-163-11/+37
| | | | | | | | files. All features with FreeBSD drivers of some kind are now in the default configuration. Notes: svn path=/head/; revision=296951
* cxgbe(4): Update some register settings in the default configurationNavdeep Parhar2016-03-162-30/+56
| | | | | | | files to match the "uwire" configuration. Notes: svn path=/head/; revision=296950
* cxgbe(4): Remove a couple of pointless assignments in sysctl_meminfo.Navdeep Parhar2016-03-161-5/+5
| | | | | | | | Do not display range if start = stop (this is a workaround for some unused regions). Notes: svn path=/head/; revision=296949
* Remove armeb FreeBSD 6 compat shimEd Maste2016-03-161-5/+1
| | | | | | | | | | | | r296861 addressed a build failure due to undefined SYS_freebsd6_lseek by adding a COMPAT_FREEBSD6 conditional, but we do not support FreeBSD 6 compatibility on armeb anyway so remove it completely. Reviewed by: andrew, bz Differential Revision: https://reviews.freebsd.org/D5643 Notes: svn path=/head/; revision=296948
* Remove incorrect BUGS entry about asserting lock not held.Bryan Drewery2016-03-161-6/+1
| | | | | | | | | | For non-WITNESS< assertion support for SA_UNLOCKED was added in r125421 and made to panic in r126316. MFC after: 1 week Notes: svn path=/head/; revision=296947
* Fix debug printfWarner Losh2016-03-161-1/+1
| | | | Notes: svn path=/head/; revision=296944
* Remove old COMPAT_FREEBSD options from the ARM kernel configs. We replacedAndrew Turner2016-03-169-22/+7
| | | | | | | | | | the ABI in 10.0, and have removed support for the old ABI in 11. As such any of these options to provide compatibility prior to 10 are unneeded. Sponsored by: ABT Systems Ltd Notes: svn path=/head/; revision=296938
* Pacify Coverity in a better way, to avoid write-only variable when buildingEdward Tomasz Napierala2016-03-161-3/+1
| | | | | | | | | | without INVARIANTS. MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=296937
* Import basic support for Nvidia Jetson TK1 board and tegra124 SoC.Michal Meloun2016-03-1639-0/+16325
| | | | | | | | | | | The following pheripherals are supported: UART, MMC, AHCI, EHCI, PCIe, I2C, PMIC, GPIO, CPU temperature and clock. Note: The PCIe driver is pure mash at this moment. It will be reworked immediately when both D5237 and D2579 enter the current tree. Notes: svn path=/head/; revision=296936
* Fix kernel build after adding new sysctl asserts in r296933.Hans Petter Selasky2016-03-161-1/+1
| | | | Notes: svn path=/head/; revision=296935
* Fix crash in krping when run as a client due to NULL pointer access.Hans Petter Selasky2016-03-161-0/+1
| | | | | | | | | | | Initialize pointer in question which is used only when fast registers mode is selected. Sponsored by: Mellanox Technologies MFC after: 1 week Notes: svn path=/head/; revision=296934
* Improve the implementation and documentation of theHans Petter Selasky2016-03-163-3/+19
| | | | | | | | | | | | | SYSCTL_COUNTER_U64_ARRAY() macro. - Add proper asserts to the SYSCTL_COUNTER_U64_ARRAY() macro that checks the size of the first element of the array. - Add an example to the counter(9) manual page how to use the SYSCTL_COUNTER_U64_ARRAY() macro. - Add some missing symbolic links for counter(9) while at it. Notes: svn path=/head/; revision=296933
* pf: Improve forwarding detectionKristof Provost2016-03-161-4/+6
| | | | | | | | | | | | | When we guess the nature of the outbound packet (output vs. forwarding) we need to take bridges into account. When bridging the input interface does not match the output interface, but we're not forwarding. Similarly, it's possible for the interface to actually be the bridge interface itself (and not a member interface). PR: 202351 MFC after: 2 weeks Notes: svn path=/head/; revision=296932
* Display the VHT IE names.Adrian Chadd2016-03-161-0/+3
| | | | | | | | | | | | | This doesn't decode the IEs just yet. Tested: * Archer c2 AP: TP-LINK_D579_5G 60:e3:27:e1:d5:78 44 54M 26:0 100 EP SSID<TP-LINK_D579_5G> RATES<B12,18,B24,36,B48,72,96,108> DSPARMS<44> COUNTRY<US 36-48,20> TIM<050400010000> HTCAP<cap 0x6e param 0x16 mcsset[0-7,32] extcap 0x0 txbf 0x0 antenna 0x0> HTINFO<ctl 44, 5,0,0,0 basicmcs[]> VHTCAP<bf0c2000c031feff2401feff2401> VHTOPMODE<c005012a00feff> RSN<v1 mc:AES-CCMP uc:AES-CCMP km:8021X-PSK> WME<qosinfo 0x0 BE[aifsn 3 cwmin 4 cwmax 10 txop 0] BK[aifsn 7 cwmin 4 cwmax 10 txop 0] VO[aifsn 2 cwmin 3 cwmax 4 txop 94] VI[aifsn 2 cwmin 2 cwmax 3 txop 47]> BSSLOAD<0b05000001127a> VEN<dd07000c4300000000> Notes: svn path=/head/; revision=296931
* Add initial VHT IE's and action codes.Adrian Chadd2016-03-161-0/+6
| | | | | | | Yes, there's more to 802.11ac than this. Notes: svn path=/head/; revision=296930
* fail.9: Bump DdConrad Meyer2016-03-161-1/+1
| | | | Notes: svn path=/head/; revision=296929
* fail(9): Upstreaming some fail point enhancementsConrad Meyer2016-03-165-208/+1025
| | | | | | | | | | | | | | | | | | | | | | | | This is several year's worth of fail point upgrades done at EMC Isilon. They are interdependent enough that it makes sense to put a single diff up for them. Primarily, we added: - Changing all mainline execution paths to be lockless, which lets us use fail points in more sleep-sensitive areas, and allows more parallel execution - A number of additional commands, including 'pause' that lets us do some interesting deterministic repros of race conditions - The ability to dump the stacks of all threads sleeping on a fail point - A number of other API changes to allow marking up the fail point's context in the code, and firing callbacks before and after execution - A man page update Submitted by: Matthew Bryan <matthew.bryan@isilon.com> Reviewed by: cem (earlier version), jhb, kib, pho With feedback from: bdrewery Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5427 Notes: svn path=/head/; revision=296927
* kbdcontrol: add -P path option to add keymap search pathsEd Maste2016-03-162-23/+73
| | | | | | | | | | PR: 193865 Reviewed by: cem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5645 Notes: svn path=/head/; revision=296926
* [net80211] Begin implementing rate control module stats.Adrian Chadd2016-03-163-0/+83
| | | | | | | | | | | | | | | * Implement a new ratectl method, which defaults to returning nothing; * Add a top level sysctl (net.wlan.X.rate_stats) to extract it; * Add ratectl info for the 'amrr' module. Tested: * urtwn(4), STA mode Differential Revision: https://reviews.freebsd.org/D5630 Notes: svn path=/head/; revision=296925
* Prevent invalid ixgbe advertise setting warningSteven Hartland2016-03-161-4/+4
| | | | | | | | | | | | Prevent ixgbe outputting "Invalid advertised speed" warning on boot with no customisations by moving test from sysctl handler to set handler. PR: 208022 MFC after: 3 days Sponsored by: Multiplay Notes: svn path=/head/; revision=296922
* Partially revert r266227 and stop stripping paths in ldscripts.Bryan Drewery2016-03-152-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically this fixes /usr/lib/libc.so stripping the paths to the libraries. The reason for this in r266227 was both likely because ld(1) did not fully respect --sysroot until r291226 and because of the lib32 build. The lib32 build does not use --sysroot into the /usr/lib32 path, rather it only uses -L and -B into the /usr/lib32 path and --sysroot into the normal (64bit) /usr/lib. The _LDSCRIPTROOT was added with the ldscript support in bsd.lib.mk so that it builds a 32-bit-sysrooted pathed ldscript in the object directory and then installs a normal unprefixed version in installworld. This commit also fixes the rebuild during install which was broken in r266227. This commit would break DIRDEPS_BUILD build of lib32 but it does not currently have a way to build it anyhow. For example, before this change we had in /usr/lib/libc.so: GROUP ( libc.so.7 libc_nonshared.a libssp_nonshared.a ) Now it is restored to pre-r266227: GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.a ) The motivation for this is in testing of lld. From emaste: lld does not have built-in search paths (e.g. /lib, /usr/lib) and relies on -L arguments passed by the caller. As the linker is nearly always invoked from the clang driver this is fine other than the fact that /usr/lib/libc.so is an ldscript that refers to libc.so.7 which is in /lib, not /usr/lib. PR: 207980 Reported by: emaste Submitted by: emaste (based on) Differential Revision: https://reviews.freebsd.org/D5637 Notes: svn path=/head/; revision=296921
* vtfontcvt: support .hex fonts with characters beyond the Unicode BMPEd Maste2016-03-151-2/+3
| | | | | | | | | This is already supported by the vt(4) vfnt format mapping from code points to glyphs. Update the .hex font parser to accept up to six hex digits. Notes: svn path=/head/; revision=296920
* Fix small memory leak on attempt to access deleted snapshot.Alexander Motin2016-03-151-0/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=296919
* Pacify Coverity.Edward Tomasz Napierala2016-03-151-1/+3
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=296918
* libc: don't build compat functions if building WITHOUT_SYMVEREd Maste2016-03-155-8/+20
| | | | | | | | | | WITHOUT_SYMVER necessarily implies building a system without symver backwards compatability. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=296915
* Fix copy-n-pasteo in r296899 ukbdmap.h header generation for pc98Ed Maste2016-03-151-1/+1
| | | | | | | | | | The ukbd default is specified by UKBD_DFLT_KEYMAP not ATKBD_DFLT_KEYMAP. PR: 193865 Submitted by: Harald Schmalzbauer Notes: svn path=/head/; revision=296914
* Use hardware computed Toeplitz hash for incoming flowidsHans Petter Selasky2016-03-152-2/+3
| | | | | | | | | | | | Use the Toeplitz hash value as source for the flowid. This makes the hash value more suitable for so-called hash bucket algorithms which are used in the FreeBSD's TCP/IP stack when RSS is enabled. Sponsored by: Mellanox Technologies MFC after: 1 week Notes: svn path=/head/; revision=296910
* Fix witness panic in the ipoib_ioctl() function when unloading theHans Petter Selasky2016-03-152-0/+7
| | | | | | | | | | | | | | | | ipoib module. The bpfdetach() function is trying to turn off promiscious mode on the network interface it is attached to while holding a mutex. The fix consists of ignoring any further calls to the ipoib_ioctl() function when the network interface is going to be detached. The ipoib_ioctl() function might sleep. Sponsored by: Mellanox Technologies MFC after: 1 week Notes: svn path=/head/; revision=296909