ĵC253182 161 423 253 153 209 308 497 491 561 868 751 588 173 209 219 219 183 183 703 142 142 158 178 284 167 181 243 1908 157 3413 660 168 201 202 195 217 125 429 132 487 438 242 158 427 99 99 1411 258 1104 177 177 161 166 430 235 142 189 701 1187 129 124 236 149 160 218 218 253 165 212 444 127 153 157 202 572 114 149 153 569 171 163 236 208 184 186 220 209 138 295 183 554 158 868 1836 151 191 113 387 221 454 926 690 176 475 151 99 148 522 173 232 154 251 224 250 179 161 246 674 357 430 185 309 454 171 229 165 239 180 165 99 99 99 422 868 208 171 171 132 242 162 165 525 194 303 269 189 178 441 176 614 422 572 1203 142 479 623 434 145 175 299 179 120 K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-11T03:57:53.864144Z K 7 svn:log V 329 Don't prevent the process address space from being swapped out while it is trying to resolve a page fault. This could potentially aggravate an already low memory condition and lead to a deadlock. A more detailed explanation is here: http://lists.freebsd.org/pipermail/svn-src-projects/2013-July/007215.html Pointed out by: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T04:47:44.049461Z K 7 svn:log V 160 MFC r252714: The tvp vnode on rename is usually unlinked. Drop the cached null vnode for tvp to allow the free of the lower vnode, if needed. PR: kern/180236 END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-07-11T04:57:08.368865Z K 7 svn:log V 58 Fix for lost software interrupts/cam lockup. MFC: 252683 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:10:36.278662Z K 7 svn:log V 116 MFamd64 r253140: Clear m->object for the page taken from the delayed free list in pmap_pv_reclaim(). Noted by: alc END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:15:30.835540Z K 7 svn:log V 215 Explicitely panic instead of possibly doing undefined things when ptelist KVA is exhausted. Currently this cannot happen, the added panic serves as assert. Discussed with: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:36:26.121648Z K 7 svn:log V 404 Do not invalidate page of the B_NOCACHE buffer or buffer after an I/O error if any user wired mappings exist. Doing the invalidation destroys the user wiring. The change is the temporal measure to close the bug, the more proper fix is to delegate the invalidation of the page to upper layers always. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:38:39.664519Z K 7 svn:log V 398 In the vm_page_set_invalid() function, do not assert that the page is not busy, since its only caller brelse() can legitimately call it on busy page. This happens for VOP_PUTPAGES() on filesystems that use buffers and which VOP_WRITE() method marked the buffer containing page as non-cacheable. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:47:26.791933Z K 7 svn:log V 468 Never remove user-wired pages from an object when doing msync(MS_INVALIDATE). The vm_fault_copy_entry() requires that object range which corresponds to the user-wired vm_map_entry, is always fully populated. Add OBJPR_NOTWIRED flag for vm_object_page_remove() to request the preserving behaviour, use it when calling vm_object_page_remove() from vm_object_sync(). Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:55:08.175973Z K 7 svn:log V 775 The mlockall() or VM_MAP_WIRE_HOLESOK does not interact properly with parallel creation of the map entries, e.g. by mmap() or stack growing. It also breaks when other entry is wired in parallel. The vm_map_wire() iterates over the map entries in the region, and assumes that map entries it finds are marked as in transition before, also that any entry marked as in transition, are marked by the current invocation of vm_map_wire(). This is not true for new entries in the holes. Add the thread owner of the MAP_ENTRY_IN_TRANSITION flag to struct vm_map_entry. In vm_map_wire() and vm_map_unwire(), only process the entries which transition owner is the current thread. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T05:58:28.994988Z K 7 svn:log V 658 The vm_fault() should not be allowed to proceed on the map entry which is being wired now. The entry wired count is changed to non-zero in advance, before the map lock is dropped. This makes the vm_fault() to perceive the entry as wired, and breaks the fragment which moves the wire count from the shadowed page, to the upper page, making the code unwiring non-wired page. On the other hand, the vm_fault() calls from vm_fault_wire() should be allowed to proceed, so only drain MAP_ENTRY_IN_TRANSITION from vm_fault() when wiring_thread is not current. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-07-11T06:48:53.521417Z K 7 svn:log V 495 MFC r253042: Pull in r185616 from llvm trunk: FastISel can only append to basic blocks. Compute the insertion point from the end of the basic block instead of skipping labels from the front. This caused failures in landing pads when live-in copies where inserted before instruction selection. I missed this change in r252720; without it, certain compilation flags can cause exception labels to not be generated, but still referenced, leading to link errors. Reported by: zeising END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-11T07:14:51.334943Z K 7 svn:log V 81 MFC r253036: Add quirk to configure headphones redirection on ASUS UX31A laptop. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-11T07:17:03.979747Z K 7 svn:log V 116 MFC r253069, r253074: Add one more ID of Marvell SATA controller. Add ID for Marvell 88SE9215 AHCI SATA controller. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-11T08:18:00.966238Z K 7 svn:log V 122 MFC r245870: bge_attach() can fail before attaching mii(4). So make sure to check bge_miibus before detaching mii(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-11T08:18:46.097971Z K 7 svn:log V 122 MFC r245870: bge_attach() can fail before attaching mii(4). So make sure to check bge_miibus before detaching mii(4). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-11T08:41:45.846634Z K 7 svn:log V 87 MFC r245867: For 57765 class controllers, set low watermark max receive frames to 1. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-11T08:42:17.453430Z K 7 svn:log V 87 MFC r245867: For 57765 class controllers, set low watermark max receive frames to 1. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-11T08:50:30.481601Z K 7 svn:log V 606 MFC r245926, r245931 - Improve some comments. - Make bge_lookup_{rev,vendor}() static. - Factor out chip identification rather than duplicating the code. - Sanitize bge_probe() a bit (don't hardcode buffer sizes, allow bge_lookup_vendor() to return NULL so the excessive panic() can be removed there, etc.) and return BUS_PROBE_DEFAULT rather than hardcoding 0. - According to the Linux tg3 driver, BCM57791 and BCM57795 aren't capable of Gigabit Ethernet. - Check the return value of taskqueue_start_threads(). - Mention NetLink controllers in the fallback description, too. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-07-11T09:10:17.714835Z K 7 svn:log V 50 MFC r253091: Added 4K QUIRK for OCZ Vertex 4 SSDs END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-07-11T09:13:05.874933Z K 7 svn:log V 50 MFC r253091: Added 4K QUIRK for OCZ Vertex 4 SSDs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-11T09:27:56.448052Z K 7 svn:log V 66 Partially MFC r249095: Add period script for graid(8) monitoring. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-07-11T12:42:46.340150Z K 7 svn:log V 86 MFC r253077: should_yield: protect from td_swvoltick being uninitialized or too stale END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-11T12:46:35.331097Z K 7 svn:log V 189 Fix style issues, a typo in "kern.ipc.nmbufs" and correctly plave and expose the value of the tunable maxmbufmem as "kern.ipc.maxmbufmem" through sysctl. Reported by: smh MFC after: 1 day END K 10 svn:author V 3 des K 8 svn:date V 27 2013-07-11T12:47:06.553756Z K 7 svn:log V 75 MFH (r246553): document and explain need for setuid bit. PR: docs/167741 END K 10 svn:author V 3 des K 8 svn:date V 27 2013-07-11T12:49:12.942914Z K 7 svn:log V 89 MFH (r246552): mention newgrp(1) and how to change the group password. PR: docs/167741 END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-11T12:53:13.356727Z K 7 svn:log V 148 Make use of the fact that uma_zone_set_max(9) already returns the rounded limit making a call to uma_zone_get_max(9) unnecessary. MFC after: 1 day END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-11T14:18:38.680600Z K 7 svn:log V 1812 SipHash is a cryptographically strong pseudo-random function (a.k.a. keyed hash function) optimized for speed on short messages returning a 64bit hash/ digest value. SipHash is simpler and much faster than other secure MACs and competitive in speed with popular non-cryptographic hash functions. It uses a 128-bit key without the hidden cost of a key expansion step. SipHash iterates a simple round function consisting of four additions, four xors, and six rotations, interleaved with xors of message blocks for a pre-defined number of compression and finalization rounds. The absence of secret load/store addresses or secret branch conditions avoid timing attacks. No state is shared between messages. Hashing is deterministic and doesn't use nonces. It is not susceptible to length extension attacks. Target applications include network traffic authentication, message authentication (MAC) and hash-tables protection against hash-flooding denial-of-service attacks. The number of update/finalization rounds is defined during initialization: SipHash24_Init() for the fast and reasonable strong version. SipHash48_Init() for the strong version (half as fast). SipHash usage is similar to other hash functions: struct SIPHASH_CTX ctx; char *k = "16bytes long key" char *s = "string"; uint64_t h = 0; SipHash24_Init(&ctx); SipHash_SetKey(&ctx, k); SipHash_Update(&ctx, s, strlen(s)); SipHash_Final(&h, &ctx); /* or */ h = SipHash_End(&ctx); /* or */ h = SipHash24(&ctx, k, s, strlen(s)); It was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in the paper "SipHash: a fast short-input PRF", 2012.09.18: https://131002.net/siphash/siphash.pdf Permanent ID: b9a943a805fbfc6fde808af9fc0ecdfa Implemented by: andre (based on the paper) Reviewed by: cperciva END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-11T15:02:38.915130Z K 7 svn:log V 59 Fix a poorly worded comment in nvme(4). MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-11T15:29:25.227389Z K 7 svn:log V 3317 Improve SYN cookies by encoding the MSS, WSCALE (window scaling) and SACK information into the ISN (initial sequence number) without the additional use of timestamp bits and switching to the very fast and cryptographically strong SipHash-2-4 MAC hash algorithm to protect the SYN cookie against forgeries. The purpose of SYN cookies is to encode all necessary session state in the 32 bits of our initial sequence number to avoid storing any information locally in memory. This is especially important when under heavy spoofed SYN attacks where we would either run out of memory or the syncache would fill with bogus connection attempts swamping out legitimate connections. The original SYN cookies method only stored an indexed MSS values in the cookie. This isn't sufficient anymore and breaks down in the presence of WSCALE information which is only exchanged during SYN and SYN-ACK. If we can't keep track of it then we may severely underestimate the available send or receive window. This is compounded with large windows whose size information on the TCP segment header is even lower numerically. A number of years back SYN cookies were extended to store the additional state in the TCP timestamp fields, if available on a connection. While timestamps are common among the BSD, Linux and other *nix systems Windows never enabled them by default and thus are not present for the vast majority of clients seen on the Internet. The common parameters used on TCP sessions have changed quite a bit since SYN cookies very invented some 17 years ago. Today we have a lot more bandwidth available making the use window scaling almost mandatory. Also SACK has become standard making recovering from packet loss much more efficient. This change moves all necessary information into the ISS removing the need for timestamps. Both the MSS (16 bits) and send WSCALE (4 bits) are stored in 3 bit indexed form together with a single bit for SACK. While this is significantly less than the original range, it is sufficient to encode all common values with minimal rounding. The MSS depends on the MTU of the path and with the dominance of ethernet the main value seen is around 1460 bytes. Encapsulations for DSL lines and some other overheads reduce it by a few more bytes for many connections seen. Rounding down to the next lower value in some cases isn't a problem as we send only slightly more packets for the same amount of data. The send WSCALE index is bit more tricky as rounding down under-estimates the available send space available towards the remote host, however a small number values dominate and are carefully selected again. The receive WSCALE isn't encoded at all but recalculated based on the local receive socket buffer size when a valid SYN cookie returns. A listen socket buffer size is unlikely to change while active. The index values for MSS and WSCALE are selected for minimal rounding errors based on large traffic surveys. These values have to be periodically validated against newer traffic surveys adjusting the arrays tcp_sc_msstab[] and tcp_sc_wstab[] if necessary. In addition the hash MAC to protect the SYN cookies is changed from MD5 to SipHash-2-4, a much faster and cryptographically secure algorithm. Reviewed by: dwmalone Tested by: Fabian Keil END K 10 svn:author V 6 wblock K 8 svn:date V 27 2013-07-11T15:45:51.152701Z K 7 svn:log V 564 MFC r245910,r247370,r249371,r252492,r252586: r252586: Add descriptions to the FILES list, fix some mdoc complaints, move the "neither" entry out of the table in BOOTING. r252492: Add a new gptboot(8) man page. Factor out the redundant information in gpart(8) and boot(8), adding references to gptboot(8) in both. r249371: Remove kernel options from the SYNOPSIS. They are already documented in the geom(4) manual page SYNOPSIS. r247370: Fix typo in EFI GPT GUID. r245910: Expand description of how gptboot and gptzfsboot choose a partition for booting. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2013-07-11T15:53:19.869823Z K 7 svn:log V 73 MFC r252696: Put the power modes in a list to make them easier to find. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2013-07-11T15:55:57.720608Z K 7 svn:log V 105 MFC r252713: Whitespace fixes: remove tabs on blank links, spaces following content, tabs after spaces. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-11T16:27:11.376851Z K 7 svn:log V 107 Fix const propagation issues to make GCC happy. Submitted by: Michael Butler END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-07-11T17:41:04.731041Z K 7 svn:log V 98 Cleanups to math.h that prevent namespace conflicts with C++. Reviewed by: bde MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-07-11T19:04:19.054760Z K 7 svn:log V 124 - Set stable/9 branch to -PRERELEASE status. - Add 9.2 mdoc(7) macro. Approved by: re (implicit) Approved by: kib (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-07-11T19:09:31.412228Z K 7 svn:log V 34 Attach to the 4x10G T540-CR card. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-07-11T19:18:13.282723Z K 7 svn:log V 336 MFC r253050: Enhancement when writing an entire block of a file (from UFS r231313). This change first attempts the uiomove() to the newly allocated (and dirty) buffer and only zeros it if the uiomove() fails. The effect is to eliminate the gratuitous zeroing of the buffer in the usual case where the uiomove() successfully fills it. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-07-11T19:34:16.293292Z K 7 svn:log V 35 Fix some typoes in math.h cleanup. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-07-11T20:09:46.470765Z K 7 svn:log V 394 MFC r240966 (by brooks) Add a COMPILER_FEATURES variable that is set in bsd.compiler.mk. When the compiler is clang add c++11 to COMPILER_FEATURES. When the compiler supports c++11, default to building libc++. This will not impact the compliation of programs, but will make it easier for users with clang compiled systems to test libc++ by passing -stdlib=libc++ to their c++ compliations. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-11T20:33:57.564953Z K 7 svn:log V 345 When swap pager allocates metadata in the pagedaemon context, allow it to drain the reserve. This was broken in r243040, causing deadlock. Note that VM_WAIT call in case of uma_zalloc() failure from pagedaemon would only wait for the v_pageout_free_min anyway. Reported and tested by: pho Reviewed by: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-07-11T21:33:03.300636Z K 7 svn:log V 149 MFC r253159 (by theraven): Import new libcxxrt / libc++. This brings some bug fixes, including a potential race condition for static initialisers. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-07-11T22:15:14.593899Z K 7 svn:log V 63 MFC r251211: test(1): Add information about replacing -nt/-ot. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-07-11T22:19:18.287816Z K 7 svn:log V 329 Fix bug in deleting files: If two ports had the same tarball and one of them changed (or was removed from the tree) then portsnap would delete that file. This happened earlier today when one of two empty port directories was removed. Uniquifying the lists of needed files fixes this. 9.2-RELEASE candidate. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-11T23:30:15.973223Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-11T23:35:51.503641Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T00:40:49.448356Z K 7 svn:log V 1317 MFC 230453, 230726, 252015, 252426: - ipv6_enable + ipv6_gateway_enable should unset ACCEPT_RTADV by default for backward compatibility. - Configurations in ipv6_prefix_IF should be recognized even if there is no ifconfig_IF_ipv6. - DAD wait should be performed at once, not on a per-interface basis, if possible. This fixes an issue that a system with a lot of IPv6-capable interfaces takes too long for booting. - Add CIDR notation support like 192.168.1-2.10-16/24 to $ifconfig_IF_aliasN. This is an extended version of ipv4_addr_IF which supports both IPv4 and IPv6, and multiple range specifications. To avoid to generate too many addresses, the maximum number of the generated addresses is currently limited to 31. - Add $ifconfig_IF_aliases, which accepts multiple IP aliases in a variable. - ipv6_prefix_IF now supports !/64 prefix length. In addition to the old 64-bit format (2001:db8:1:1), a full 128-bit format like 2001:db8:1:1::/64 is supported. - Replace ifconfig command with $IFCONFIG_CMD variable to support a dry-run mode in the future. - Remove IP aliases before removing all of IPv4 addresses when doing "rc.d/netif down". - Add a DAD wait to network6_getladdr() because it is possible to fail to configure an EUI64 address when ipv6_prefix_IF is specified. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-07-12T00:50:25.545549Z K 7 svn:log V 162 Refactor the various delete methods out of dastart(). Cleans up a bunch of style and adds more modularity and clarity. Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-07-12T00:59:03.408458Z K 7 svn:log V 1005 MFC: r252673 A problem with the old NFS client where large writes to large files would sometimes result in a corrupted file was reported via email. This problem appears to have been caused by r251719 (reverting r251719 fixed the problem). Although I have not been able to reproduce this problem, I suspect it is caused by another thread increasing np->n_size after the mtx_unlock(&np->n_mtx) but before the vnode_pager_setsize() call. Since the np->n_mtx mutex serializes updates to np->n_size, doing the vnode_pager_setsize() with the mutex locked appears to avoid the problem. Unfortunately, vnode_pager_setsize() where the new size is smaller, cannot be called with a mutex held. This patch returns the semantics to be close to pre-r251719 such that the call to the vnode_pager_setsize() is only delayed until after the mutex is unlocked when np->n_size is shrinking. Since the file is growing when being written, I believe this will fix the corruption. Tested by: remy.nonnenmacher@activnetworks.com END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:06:08.111236Z K 7 svn:log V 85 MFC 243441: Support a flag for ALLOW/BLOCK in source-specific multicast (RFC 4604). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:08:12.837354Z K 7 svn:log V 85 MFC 243324: Do not put "already running" message when rc_quiet=yes. PR: bin/165477 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:12:28.229542Z K 7 svn:log V 69 MFC 242301: Load ipdivert.ko when natd_enable=YES. PR: conf/167566 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:16:19.502321Z K 7 svn:log V 74 MFC 242184: Add setfib(1) support for services as _fib in rc.conf. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:23:41.046024Z K 7 svn:log V 337 MFC 243185, 243188, 243212: Add -fib modifier to specify FIB number. The FIB number can be in a comma-separated list and/or range specification: # route add -inet 192.0.2.0/24 198.51.100.1 -fib 1,3-5,6 Although all of the subcommands supports the modifier, "monitor" does not support the list or range specification at this moment. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:25:24.860077Z K 7 svn:log V 142 MFC 244325: - Fix strtol() error handling. - Add a range condition of given FIB number and the related error messages. - Fix free() problem. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:27:11.978511Z K 7 svn:log V 50 MFC 245168: Fix -iface and -interface modifiers. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:29:57.577355Z K 7 svn:log V 97 MFC 251581: Fix a bug that the gateway address was not shown when a -gateway modifier was used. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:34:24.965325Z K 7 svn:log V 608 MFC 251584: Add :ifname modifier to specify interface-specific routes into {,ipv6_}static_routes and rc.d/routing. For example: static_routes="foo bar:em0" route_foo="-net 10.0.0.0/24 -gateway 192.168.2.1" route_bar="-net 192.168.1.0/24 -gateway 192.168.0.2" At boot time, all of the static routes are installed as before. The differences are: - "/etc/rc.d/netif start/stop " now configures static routes with : if any. - "/etc/rc.d/routing start/stop " works as well. cannot be omitted when is specified, but a keyword "any" or "all" can be used for and . END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:52:31.394364Z K 7 svn:log V 1093 MFC 232379, 252511, 252548, 253060: - Allow to configure net.inet6.ip6.{accept_rtadv,no_radr} by the loader tunables as well because they have to be configured before interface initialization for AF_INET6. - Allow ND6_IFF_AUTO_LINKLOCAL for IFT_BRIDGE. An interface with IFT_BRIDGE is initialized with !ND6_IFF_AUTO_LINKLOCAL && !ND6_IFF_ACCEPT_RTADV regardless of net.inet6.ip6.accept_rtadv and net.inet6.ip6.auto_linklocal. To configure an autoconfigured link-local address (RFC 4862), the following rc.conf(5) configuration can be used: ifconfig_bridge0_ipv6="inet6 auto_linklocal" - if_bridge(4) now removes IPv6 addresses on a member interface to be added when the parent interface or one of the existing member interfaces has an IPv6 address. if_bridge(4) merges each link-local scope zone which the member interfaces form respectively, so it causes address scope violation. Removal of the IPv6 addresses prevents it. - if_lagg(4) now removes IPv6 addresses on a member interfaces unconditionally. - Set reasonable flags to non-IPv6-capable interfaces. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:55:28.985223Z K 7 svn:log V 37 MFC 253093: Make mandoc lint happy. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:56:05.697796Z K 7 svn:log V 32 MFC 253066: Update references. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T01:59:30.790860Z K 7 svn:log V 143 MFC 253058: - Add missing "static" keywords. - Add a check for ifindex to if_indextoifinfo(). It returns NULL when if_indextoname() fails. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T02:11:42.142499Z K 7 svn:log V 57 MFC 245015: Print the flags= part only when flags != 0. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-07-12T02:26:15.374259Z K 7 svn:log V 65 MFC r251516 Implement foreign device handling. PR: kern/172091 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-12T02:28:01.617218Z K 7 svn:log V 121 MFC r253134: Avoid controller reinitialization which could be triggered by dhclient(8) or alias addresses are added. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-07-12T02:28:35.693273Z K 7 svn:log V 121 MFC r253134: Avoid controller reinitialization which could be triggered by dhclient(8) or alias addresses are added. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T02:36:00.552464Z K 7 svn:log V 160 Use strtoumax() instead of strtoul() for id/ref attr in XML elements. This improves compatibility when running an ILP32 binary on LP64 kernel. Spotted by: gjb END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-07-12T02:42:37.571909Z K 7 svn:log V 73 Begin code freeze for the 9.2-RELEASE cycle. Approved by: re (implicit) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T04:22:46.968076Z K 7 svn:log V 119 Revert r253247. This change should be improved based on a lesson learnt from r233646 first. Pointed out by: jmallett END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-07-12T05:45:09.555428Z K 7 svn:log V 348 MFC r245066 ------------------------------------------------------------------------- Teach the kernel to recognize that it is executing inside a bhyve virtual machine. ------------------------------------------------------------------------- This will help a 9.2 guest to run more effectively as a bhyve guest. Reviewed by: neel Approved by: re END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-12T05:58:54.900007Z K 7 svn:log V 34 Get rid of unused cruft in ept.c. END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-07-12T06:03:25.679479Z K 7 svn:log V 62 Clarify how "hide" and "unhide" commands work on directories. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T06:54:29.345849Z K 7 svn:log V 65 Fix a wrong memcpy of struct sockaddr. Spotted by: dt71@gmx.com END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-07-12T07:43:56.213039Z K 7 svn:log V 107 Unbreak VIMAGE by correctly naming the vnet pointer in struct tcp_syncache. Reported by: trociny, rodrigc END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2013-07-12T08:03:10.154780Z K 7 svn:log V 475 PR: kern/168520 Submitted by: "YAMAMOTO, Shigeru" Reviewed by: adrian In PC-BSD 9.1, VIMAGE is enabled in the kernel config. For laptops with Bluetooth capability, such as the HP Elitebook 8460p, the kernel will panic upon bootup, because curthread->td_vnet is not initialized. Properly initialize curthread->td_vnet when initializing the Bluetooth stack. This allows laptops such as the HP Elitebook 8460p laptop to properly boot with VIMAGE kernels. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2013-07-12T09:20:55.255420Z K 7 svn:log V 21 Fix 'SEE ALSO' list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-12T10:02:47.139930Z K 7 svn:log V 57 MFC r253095: Fix typo in comment. Approved by: re (hrs) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-07-12T10:07:21.332097Z K 7 svn:log V 61 Remove authpf-noip along with authpf. Reminded by: delphij@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-12T10:07:48.490077Z K 7 svn:log V 476 MFC r251282: When auto-sizing the buffer cache, limit the amount of physical memory used as the estimation of size, to 16GB. This provides around 100K of buffer headers and corresponding KVA for buffer map at the peak. Sizing the cache larger is not useful, also resulting in the wasting and exhausting of KVA for large machines. MFC note: the commit message was adjusted to match the code change, the sizing cap is for 16GB, as noted by delphij. Approved by: re (delphij) END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-07-12T11:03:51.930946Z K 7 svn:log V 74 Fix the build with C++ where __builtin_types_compatible_p is not allowed. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T12:18:07.045899Z K 7 svn:log V 71 - Drop GIF_ACCEPT_REVETHIP flag by default. - Add IFF_MONITOR support. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T12:36:12.844524Z K 7 svn:log V 143 Add a leaf node CTL_NET.PF_ROUTE.0.AF.NET_RT_DUMP.0.FIB. This returns routing table with the specified FIB number, not td->td_proc->p_fibnum. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-07-12T12:40:21.763387Z K 7 svn:log V 112 MFC r253099: Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics accounting. Approved by: re@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-07-12T13:51:19.813524Z K 7 svn:log V 89 MFC r253104: Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by sctp_opt_info(). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-07-12T13:52:27.058403Z K 7 svn:log V 91 MFC r253105: Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC in sctp_opt_info(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-07-12T14:24:52.541845Z K 7 svn:log V 124 Prefix the alias macros for members of struct __mcontext with an underscore in order to avoid a clash in the net80211 code. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-07-12T14:25:58.084231Z K 7 svn:log V 112 Add manual page for vmem(9). Obtained from NetBSD, modified to match our implementation. Obtained from: NetBSD END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-07-12T14:46:40.483151Z K 7 svn:log V 42 Remove non existent in FreeBSD reference. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-07-12T14:58:09.374211Z K 7 svn:log V 199 MFC r253104: Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by sctp_opt_info(). MFC r253105: Fix the handling of SCTP_CURRENT_ASSOC and SCTP_ALL_ASSOC in sctp_opt_info(). Approved by: re@ END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-07-12T15:08:37.583262Z K 7 svn:log V 87 - mdoc: remove superfluous paragraph macros. - fix typo in xref manual section number. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-07-12T15:29:41.434732Z K 7 svn:log V 458 sh: Do not read from stdin if an error occurs during -i -c cmd. Although using -i with -c does not seem very useful, it seems inappropriate to read commands from the terminal in this case. Side effect: if the -s -c extension is used and the -s option is turned off using 'set +s' during the interactive part, the shell now exits after an error or interrupt. Note that POSIX only specifies -s as option to sh, not to set. See also Austin Group issue #718. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-07-12T15:56:30.188729Z K 7 svn:log V 58 Fix check: bitwise and has only one &. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-07-12T16:41:58.467696Z K 7 svn:log V 772 MFC: r253120 - As it turns out, not only MSI-X is broken for devices passed through by VMware up to at least ESXi 5.1. Actually, using INTx in that case instead may still result in interrupt storms, with MSI being the only working option in some configurations. So introduce a PCI_QUIRK_DISABLE_MSIX quirk which only blacklists MSI-X but not also MSI and use it for the VMware PCI-PCI-bridges. Note that, currently, we still assume that if MSI doesn't work, MSI-X won't work either - but that's part of the internal logic and not guaranteed as part of the API contract. While at it, add and employ a pci_has_quirk() helper. Reported and tested by: Paul Bucher - Use NULL instead of 0 for pointers. Submitted by: jhb (mostly) Approved by: re (hrs), jhb END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-07-12T17:09:50.387685Z K 7 svn:log V 1742 Fix a problem with READ ELEMENT STATUS that occurs on some changers that don't support the DVCID and CURDATA bits that were introduced in the SMC spec. These changers will return an Illegal Request type error if the bits are set. This causes "chio status" to fail. The fix is two-fold. First, for changers that claim to be SCSI-2 or older, don't set the DVCID and CURDATA bits for READ ELEMENT STATUS. For newer changers (SCSI-3 and newer), we default to setting the new bits, but back off and try the READ ELEMENT STATUS without the bits if we get an Illegal Request type error. This has been tested on a Qualstar TLS-8211, which is a SCSI-2 changer that does not support the new bits, and a Spectra T-380, which is a SCSI-3 changer that does support the new bits. In the absence of a SCSI-3 changer that does not support the bits, I tested that with some error injection code. (The SMC spec says that support for CURDATA is mandatory, and DVCID is optional.) scsi_ch.c: Add a new quirk, CH_Q_NO_DVCID that gets set for SCSI-2 and older libraries, or newer libraries that report errors when the DVCID/CURDATA bits are set. In chgetelemstatus(), use the new quirk to determine whether or not to set DVCID and CURDATA. If we get an error with the bits set, back off and try without the bits. Set the quirk flag if the read element status succeeds without the bits set. Increase the READ ELEMENT STATUS timeout to 60 seconds after testing with a Spectra T-380. The previous value was 10 seconds, and too short for the T-380. This may be decreased later after some additional testing and investigation. Tested by: Andre Albsmeier Sponsored by: Spectra Logic MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-12T17:11:30.108818Z K 7 svn:log V 59 Add -F fibnum option to specify an FIB number for -r flag. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-07-12T17:22:59.643945Z K 7 svn:log V 99 Add creation timestamp (birthtime) support for fuse. This is based on similar support in MacFUSE. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2013-07-12T17:37:05.844835Z K 7 svn:log V 16 Typo corrected. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-07-12T18:02:10.583293Z K 7 svn:log V 291 MFC: r240981, r240990, r240992, r244695 Add 32-bit ABI compat shims. Those are necessary for i386 binary-only tools like sysutils/hpacucli (HP P4xx RAID controller management suite) working on amd64 systems. PR: 139271 Submitted by: Kazumi MORINAGA, Eugene Grosbein Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T18:13:41.174009Z K 7 svn:log V 122 %d should be used for printing int32_t instead of %zd. clang does not complain about this - only gcc. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-12T18:52:33.097723Z K 7 svn:log V 361 Only copy as much bytes as there in superblock, instead of the full block copy, when copying the superblock into the snapshot. UFS1 does not align superblock on the block boundary, and bcopy runs off the end of the buffer. Reported by: Andre Albsmeier Reviewed by: mckusick Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-07-12T18:54:47.929920Z K 7 svn:log V 829 MFC r252710: In r227207, to fix the issue with possible NULL inp_socket pointer dereferencing, when checking for SO_REUSEPORT option (and SO_REUSEADDR for multicast), INP_REUSEPORT flag was introduced to cache the socket option. It was decided then that one flag would be enough to cache both SO_REUSEPORT and SO_REUSEADDR: when processing SO_REUSEADDR setsockopt(2), it was checked if it was called for a multicast address and INP_REUSEPORT was set accordingly. Unfortunately that approach does not work when setsockopt(2) is called before binding to a multicast address: the multicast check fails and INP_REUSEPORT is not set. Fix this by adding INP_REUSEADDR flag to unconditionally cache SO_REUSEADDR. PR: 179901 Submitted by: Michael Gmelin freebsd grem.de (initial version) Reviewed by: rwatson Approved by: re (kib) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-07-12T19:08:33.321419Z K 7 svn:log V 593 A complete duplication of binding should be allowed if on both new and duplicated sockets a multicast address is bound and either SO_REUSEPORT or SO_REUSEADDR is set. But actually it works for the following combinations: * SO_REUSEPORT is set for the fist socket and SO_REUSEPORT for the new; * SO_REUSEADDR is set for the fist socket and SO_REUSEADDR for the new; * SO_REUSEPORT is set for the fist socket and SO_REUSEADDR for the new; and fails for this: * SO_REUSEADDR is set for the fist socket and SO_REUSEPORT for the new. Fix the last case. PR: 179901 MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-07-12T20:06:52.942662Z K 7 svn:log V 84 Update clang's target triple for FreeBSD 9.2-PRERELEASE. Approved by: re (delphij) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-07-12T21:14:42.889363Z K 7 svn:log V 382 Remove the conditional define around the option headers, when building the driver as a module the result of the present system results in INET and INET6 being undefined, and will cause the panic in ixgbe_tso_setup(). The Makefile in the module directory now renders the conditional in the source unnecessary and wrong. MFC after: ASAP - the panic as a module must not get into 9.2 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-07-12T21:21:15.216636Z K 7 svn:log V 59 Opps, need to change the VF code as well. MFC after: ASAP END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-12T21:24:10.471962Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-12T21:27:23.419712Z K 7 svn:log V 52 Style. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-07-12T21:36:29.439278Z K 7 svn:log V 425 Merge from hpt27xx, r249468 (mav): MFprojects/camlock r248982: Stop abusing xpt_periph in random plases that really have no periph related to CCB, for example, bus scanning. NULL value is fine in such cases and it is correctly logged in debug messages as "noperiph". If at some point we need some real XPT periphs (alike to pmpX now), quite likely they will be per-bus, and not a single global instance as xpt_periph now. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:01:18.372214Z K 7 svn:log V 75 MFC r241431: Add man pages for nvme(4) and nvd(4). Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-07-12T22:02:11.531853Z K 7 svn:log V 139 Document that a literal jail name of 0 (zero) is not allowed. PR: 174436 Submitted by: Robert Schulze Reviewed by: mjg MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:02:35.173606Z K 7 svn:log V 56 MFC r241479: Remove whitespace. Approved by: re (kib) END K 10 svn:author V 5 remko K 8 svn:date V 27 2013-07-12T22:03:41.019916Z K 7 svn:log V 156 MFC r252294 and r252295: Add support for the NTT Docomo L-02C Card PR: 180017 Submitted by: Masaharu FUJITA Glanced at by: imp Approved by: re (delphij) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:03:46.563066Z K 7 svn:log V 125 MFC r253111: Update nvme(4) and nvd(4) to reflect recent work and upcoming inclusion in 9.2 release. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:05:17.076422Z K 7 svn:log V 151 MFC r253107: Add pci_enable_busmaster() and pci_disable_busmaster() calls in nvme_attach() and nvme_detach() respectively. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:06:17.775669Z K 7 svn:log V 81 MFC r253108: Do not retry failed async event requests. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:07:33.201913Z K 7 svn:log V 63 MFC r253112: Update copyright dates. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:08:24.179652Z K 7 svn:log V 147 MFC r253113: Add comment explaining why CACHE_LINE_SIZE is defined in nvme_private.h if not already defined elsewhere. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:12:48.676789Z K 7 svn:log V 575 MFC r253109, r253279: r253109: Incorporate feedback from bde@ based on r252672 changes: * Use 0/1 instead of sysexits. Man pages are confusing on this topic, but 0/1 is sufficient for nvmecontrol. * Use err function family where possible instead of fprintf/exit. * Fix some typing errors. * Clean up some error message inconsistencies. r253279: %d should be used for printing int32_t instead of %zd. clang does not complain about this - only gcc. Incorporated r253279 prior to MFC timeout because it is required for gcc builds. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:13:46.306295Z K 7 svn:log V 258 MFC r253110: Try to read firmware image before prompting the user to confirm firmware download. This correctly prints an error and exits for an incorrect firmware image name before prompting the user to confirm the download. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:14:57.259710Z K 7 svn:log V 331 MFC r253114: Send per-namespace logpage commands to the controller devnode, so they are processed as admin commands, not I/O commands. As part of this change, pull out the code for parsing a namespace node string into a separate function, since it is used for both identify and logpage commands. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:15:50.062919Z K 7 svn:log V 87 MFC r253115: Condense the output for displaying LBA formats. Approved by: re (kib) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-07-12T22:16:43.118491Z K 7 svn:log V 210 MFC r253116: Ensure controller or namespace node name is specified before trying to access it. While here, also fix the identify usage message to show the -v and -x parameters. Approved by: re (kib) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-07-12T22:36:26.440074Z K 7 svn:log V 361 Change the E1000 driver option header handling to match the ixgbe driver. As it was, when building them as a module INET and INET6 are not defined. In these drivers it does not cause a panic, however it does result in different behavior in the ioctl routine when you are using a module vs static, and I think the behavior should be the same. MFC after: 3 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-07-12T23:08:44.884481Z K 7 svn:log V 78 Ensure the locale is LC_ALL=C when regenerating src.conf.5 MFC after: 3 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-07-12T23:11:17.183199Z K 7 svn:log V 135 Disable building of pkg_install by default If people still want to have pkg_install they can specify WITH_PKGTOOLS when building world END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-07-12T23:12:37.111871Z K 7 svn:log V 72 Regenerate src.conf(5) after changing WITHOUT_PKGTOOLS to WITH_PKGTOOLS END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-07-12T23:20:11.841713Z K 7 svn:log V 143 Const-ify the new da_delete_functions. Remove a redundant sanity check Submitted by: Steven Hartland Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-13T00:36:19.401245Z K 7 svn:log V 84 Create a new branch for further read-path development as the datapoint is acquired. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-07-13T00:39:07.195908Z K 7 svn:log V 70 Indent the "scp=... rlv=..." to make it easier to read the backtrace. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-13T00:50:38.888137Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-13T00:52:12.706407Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-07-13T00:53:56.062533Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-13T01:24:16.678990Z K 7 svn:log V 328 If the 'PMAP_PDE_SUPERPAGE' bit is not set in 'pm_flags' then the pmap does not support 2MB superpages. We don't allow superpage promotion within these pmaps. The X86 pmaps unconditionally set the PMAP_PDE_SUPERPAGE bit. The EPT pmaps set the PMAP_PDE_SUPERPAGE bit only if the processor advertises 2MB superpages in the EPT. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-07-13T04:25:03.642243Z K 7 svn:log V 772 Bring over some link aggregation / LACP protocol improvements and debugging additions. * Add some new tracing events to aid in debugging. * Add in a debugging mode to drop transmit and received frames, specifically to test whether seeing or hearing heartbeats correctly cause LACP to drop the port. * Add in (and make default) a strict LACP mode, which requires the heartbeat on a port to be heard before it's used. Sometimes vendor ports will hang but the link layer stays up, resulting in hung traffic. * Add logging the number of link status flaps, again to aid in debugging badly behaving switch ports. * Calculate the lagg interface port speed as the multiple of the configured ports, rather than the largest. Obtained from: Netflix MFC after: 2 weeks END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-07-13T07:16:45.812585Z K 7 svn:log V 110 Clean up the modules list for PowerPC. powerpc64 has MACHINE_CPUARCH of powerpc. While here, sort the list. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-07-13T07:17:18.298710Z K 7 svn:log V 76 Fix the urtwnfw definitions. We can now use urtwnfw in kernel config files. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-13T07:22:51.979068Z K 7 svn:log V 78 Use the ternary if operator to simplify pmap_ps_enabled(). Submitted by: alc END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-07-13T08:17:55.682852Z K 7 svn:log V 40 Fix mdoc syntax. Pointed out by: joeld END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-07-13T10:10:45.227634Z K 7 svn:log V 144 Ensure that the _Generic() macro in math.h works with qualified types. tgmath.h contains the same bugs and so should be fixed in the same way. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-07-13T10:47:17.904950Z K 7 svn:log V 70 MFH (r253138,r253258): install authpf-noip Approved by: re (delphij) END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-07-13T13:04:38.513324Z K 7 svn:log V 68 Cleaner support for type qualifiers. Submitted by: Pasi Parviainen END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-13T13:35:09.999277Z K 7 svn:log V 432 Improve handling of 0x3F/0x0E "Reported LUNs data has changed" and 0x25/0x00 "Logical unit not supported" errors. First initiates specific target rescan, second -- destroys specific LUN. That allows to automatically detect changes in list of device LUNs. This mechanism doesn't work when target is completely idle, but probably that is all what can be done without active polling. Reviewed by: ken Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-13T15:34:37.337632Z K 7 svn:log V 101 When printing opcode description, map T_NODEVICE to Direct Access Device to handle REPORT LUNS, etc. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-07-13T18:09:42.925531Z K 7 svn:log V 205 MFC of 252527: Make better use of metadata area by avoiding using it for data blocks that no should no longer immediately follow their indirect blocks. Reviewed by: Bruce Evans Approved by: re (marius@) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-13T19:32:50.964619Z K 7 svn:log V 176 Allow to call clock_gettime() on the clock id for zombie process. Reported by: Petr Salinger PR: threads/180496 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-13T19:34:34.595241Z K 7 svn:log V 97 There is no need to count waiters for the runningbufspace. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-13T19:36:18.561899Z K 7 svn:log V 86 Assert that runningbufspace does not underflow. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-07-13T19:42:52.332708Z K 7 svn:log V 348 Create a proper stack frame for i386 version of bcopy(), despite the function is leaf. The frame allows ddb to not loose the direct caller of bcopy() in backtrace. Other functions from support.s would benefit from the same change as well, but for now bcopy() is the most frequent offender. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 4 miwi K 8 svn:date V 27 2013-07-13T20:56:09.314483Z K 7 svn:log V 83 - Replace dependents=$(pkg info -qOr $base) to dependents=$(pkg query "%ro" $base) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2013-07-13T21:24:25.949577Z K 7 svn:log V 518 When fiddling with options of which registers to copy out for a mailbox command and which registers to copy back in when the command completes, the bits being set need to not only specify what bits you want to add from the default from the table but also what bits you want *subtract* (mask) from the default from the table. A failing ISP2200 command pointed this out. Much appreciation to: marius, who persisted and narrowed down what the failure delta was, and shamed me into actually fixing it. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-07-13T22:06:41.623021Z K 7 svn:log V 329 Add creation timestamp (birthtime) support for fuse. I was keeping this #ifdef'd for reference with the MacFUSE change[1] but on second thought, this is a FreeBSD-only header so the SVN history should be enough. Add missing padding while here. Reference [1]: http://code.google.com/p/macfuse/source/detail?spec=svn1686&r=1360 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-07-13T22:39:56.467591Z K 7 svn:log V 474 Allow regular off-the-shelf keyboards to be overclocked like so-called "Gamers Keyboards" by adding a tunable, "hw.usb.ukbd.pollrate", which can fix the polling rate of the attached USB keyboards in the range 1..1000Hz. A similar feature already exists in the USB mouse driver. Use with care! Might leave you without keyboard input. This feature is only available when the USB_DEBUG option is set in the kernel configuration file. Correct "unit" type to "int" while at it. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-07-14T03:08:52.457878Z K 7 svn:log V 1106 Re-implement $probe_only aspect of f_media_get_TYPE() (where TYPE is cdrom, nfs, ftp, http, httpproxy, etc.) and f_device_get() (abstract method for calling aforementioned f_media_get_TYPE()). Previously, if $probe_only was present and non-NULL, the TYPE functions would check for $file and exit with an appropriate error status (success if the file exists and readable, failure otherwise). While this has been retained, a pair of globals has been introduced: $PROBE_EXIST and $PROBE_SIZE (see `/usr/share/bsdconfig/media/common.subr') The $PROBE_EXIST global can be used where you need the functionality of simply testing for existence (previously the _only_ functionality). Meanwhile, the new $PROBE_SIZE global can be used to cause the TYPE function to print the size of the file (in bytes) on standard-out (or -1) if not found or an error occurs. NOTE: If an error occurs, it is logged with the dprintf function, which is visible with `-d' flag or debug=1. In many cases, where you need to get the size of a file _and_ check for its existence, you can use the return status of a $PROBE_SIZE call. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-07-14T03:45:03.560768Z K 7 svn:log V 47 Various WIP improvements to the vmxnet3 driver END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-14T03:55:31.782129Z K 7 svn:log V 385 Use a function to convert the physical address of the EPT to the EPTP value that is written to the VMCS. This is needed because the value of bit 6 in the EPTP is based on the A/D bit capability advertised by the processor and thus cannot be known at compile time. Also, store the EPTP value directly in the 'struct vmx' instead of storing the physical address of the EPT PML4 table. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-07-14T04:42:35.323716Z K 7 svn:log V 529 Stash the 'pmap' and 'eptp' for the VM in each vcpu's vmxctx since they are accessed in the vmresume fast path. Set the bit corresponding to 'curcpu' in nested pmap's 'pm_active' on a vm enter. This allow's the TLB shootdown on the host to know what cpus need to participate. Invalidate the guest physical mappings using 'invept' if the 'vmxctx->eptgen' if out-of-date with the nested pmap's 'pm_eptgen'. If the 'invept' instruction fails then vmx_launch() or vmx_resume() may return with an error code of 'VMX_RETURN_INVEPT'. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-07-14T07:58:10.617030Z K 7 svn:log V 336 MFC r253224: Fix bug in deleting files: If two ports had the same tarball and one of them changed (or was removed from the tree) then portsnap would delete that file. This happened earlier today when one of two empty port directories was removed. Uniquifying the lists of needed files fixes this. Approved by: re (delphij) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-07-14T10:13:01.918695Z K 7 svn:log V 48 Add some missing LIBUSB IOCTL conversion codes. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-07-14T10:22:00.283722Z K 7 svn:log V 78 Add some missing definitions to build a working FreeBSD's libusb under Linux. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-07-14T18:26:47.405120Z K 7 svn:log V 203 Revert r252725 as it breaks WPA. We need to fix wpa_supplicant because it checks whether the card has ic_cryptocaps set. Since net80211 can do software encryption this check in wpa_supplicant is wrong. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-07-14T18:44:33.278455Z K 7 svn:log V 82 Update to comments describing block allocation policy. Submitted by: Bruce Evans END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-07-14T20:22:16.246459Z K 7 svn:log V 25 Fix a grammatical error. END