ƒ³240724 181 1261 120 125 119 209 746 130 124 751 135 380 145 160 143 164 212 148 489 202 123 293 293 246 404 151 211 107 252 251 99 210 237 146 166 294 237 376 110 534 166 166 132 349 384 312 132 238 99 313 257 201 165 259 154 276 154 376 181 281 332 752 241 198 128 123 240 202 199 132 127 152 364 133 198 245 1461 1461 218 392 789 120 240 122 769 792 276 162 778 110 866 147 370 361 168 210 216 148 189 336 150 185 148 153 682 309 248 113 340 128 105 148 270 186 180 180 180 180 318 237 870 199 186 162 159 149 133 117 121 111 141 189 362 138 609 357 373 251 477 397 247 707 153 549 285 1139 203 727 281 281 354 355 355 225 225 225 392 529 229 262 1087 377 197 151 212 340 125 225 774 206 134 294 362 223 301 252 312 423 383 778 292 292 K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-20T03:13:20.251812Z K 7 svn:log V 1164 Introduce the CLRDMASK gating based on tid->clrdmask, enabling filtered frames to occur. * Create a new function which will set the bf_flags CLRDMASK bit if required. * For raw frames, always set CLRDMASK. * For BAR, ADDBA frames, always set CLRDMASK. * For everything else, check if CLRDMASK needs to be set before calling tx_setds() or tx_setds11n(). * When unpausing a queue or drain/resetting it, set tid->clrdmask=1 just to ensure traffic starts flowing. What I need to do: * Modify that function to _clear_ the CLRDMASK if it's not required, or retried frames may have CLRDMASK set when they don't need to. (Which isn't a huge deal, but..) Whilst I'm here: * ath_tx_normal_xmit() should really act like the AMPDU session TX functions - any incomplete frames will end up being assigned ath_tx_normal_comp() which will decrement tid->hwq_depth - but that won't have been incremented. So whilst I'm here, add a comment to do that. * Fix the debug print function to be slightly clearer about things; it's not a good sign when I can't interpret my own debugging output. I've done some testing on AR9280/AR5416/AR9160 STA and AP modes. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-20T03:29:43.568573Z K 7 svn:log V 26 Fix typo: s/pakcet/packet END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T03:38:28.266980Z K 7 svn:log V 31 Vendor import of BIND 9.8.3-P3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T03:42:14.535944Z K 7 svn:log V 25 Tag the 9.8.3-P3 release END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-20T03:48:36.244933Z K 7 svn:log V 113 Rewrite portions of development.7 to make sense in the world of subversion. Approved by: gjb MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T04:12:09.316560Z K 7 svn:log V 651 Upgrade to 9.8.3-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused by using "Bad cache" data before it has been initialized. ISC_QUEUE handling for recursive clients was updated to address a race condition that could cause a memory leak. This rarely occurred with UDP clients, but could be a significant problem for a server handling a steady rate of TCP queries. A condition has been corrected where improper handling of zero-length RDATA could cause undesirable behavior, including termination of the named process. For more information: https://kb.isc.org/article/AA-00788 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T04:21:05.580525Z K 7 svn:log V 36 Vendor import of BIND 9.6-ESV-R7-P3 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T04:21:29.092643Z K 7 svn:log V 30 Tag the 9.6-ESV-R7-P3 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-09-20T04:35:20.973717Z K 7 svn:log V 656 Upgrade to 9.6-ESV-R7-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused by using "Bad cache" data before it has been initialized. ISC_QUEUE handling for recursive clients was updated to address a race condition that could cause a memory leak. This rarely occurred with UDP clients, but could be a significant problem for a server handling a steady rate of TCP queries. A condition has been corrected where improper handling of zero-length RDATA could cause undesirable behavior, including termination of the named process. For more information: https://kb.isc.org/article/AA-00788 END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-09-20T04:53:12.929513Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-20T05:41:20.956065Z K 7 svn:log V 283 Re-do r240271: - Set IP_RECVDSTADDR sockopt on the socket only in case if it is INADDR_ANY bound. - Supply IP_SENDSRCADDR control message only if we did receive IP_RECVDSTADDR control message. This fixes operation of snmpd bound to a specific local IP address. PR: bin/171279 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-20T05:49:31.407199Z K 7 svn:log V 49 Redo r240386 providing more correct information. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-20T06:52:05.930618Z K 7 svn:log V 64 Utilize Jenkins hash with random seed for source nodes storage. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-20T07:04:08.330571Z K 7 svn:log V 47 Reduce copy/paste when freeing an source node. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-20T07:07:35.174843Z K 7 svn:log V 70 Remove references to brelse and bremfree, which don't actually exist. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-09-20T08:30:17.265665Z K 7 svn:log V 117 The correct generic term for PCIS_STORAGE_NVM is "NVM" not "NVM Express". Submitted by: jimharris MFC after: 6 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-09-20T08:50:39.226205Z K 7 svn:log V 55 unbreak build: rescue now needs -ljail if MK_ZFS is on END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-20T09:52:57.391093Z K 7 svn:log V 396 Plug the accounting leak for the wired pages when msync(MS_INVALIDATE) is performed on the vnode mapping which is wired in other address space. While there, explicitely assert that the page is unwired and zero the wire_count instead of substract. The condition is rechecked later in vm_page_free(_toq) already. Reported and tested by: zont Reviewed by: alc (previous version) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-20T10:05:10.835987Z K 7 svn:log V 105 Convert lagg(4) to use if_transmit instead of if_start. In collaboration with: thompsa, sbruno, fabient END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-20T10:07:31.125213Z K 7 svn:log V 29 Fix typo: s/protocl/protocol END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-20T10:13:14.304673Z K 7 svn:log V 200 MFC r240464: The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, which is an elaborate way to cause kernel panic. Change the VOPs implementation to return EBADF for a reclaimed vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-20T10:28:44.050281Z K 7 svn:log V 200 MFC r240464: The deadfs VOPs for vop_ioctl and vop_bmap call itself recursively, which is an elaborate way to cause kernel panic. Change the VOPs implementation to return EBADF for a reclaimed vnode. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T14:38:21.968106Z K 7 svn:log V 150 Implement ripemd160digest as a synonym for rmd160. Emit ripemd160digest in output on FreeBSD for improved compatability with FreeBSD mtree versions. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-09-20T14:52:50.871071Z K 7 svn:log V 308 Alter file scoped macro semantics to fit usecases, in order to fix build on llvm. An alternate fix would have been an inline private function instead, but given that there are no consumers of the return value of the expression - Occam's Razor was applied. Reported by Bret Ketchum . END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T14:55:32.265951Z K 7 svn:log V 56 Implement FreeBSD's -n option which supresses comments. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T15:05:57.652333Z K 7 svn:log V 115 Add -q. This will cause the warning messages about missing directories to not be printed. Obtained from: OpenBSD END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-20T15:11:59.680374Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T15:19:01.115949Z K 7 svn:log V 156 Ignore the -w option for compatibility with FreeBSD's mtree. This version produces the same output as FreeBSD's with -w except for not emitting a warning. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-09-20T15:50:27.907168Z K 7 svn:log V 154 Add the mount support for fusefs volumes. This is almost entirely based on the port fusefs-kmod sources. Submitted by: people working on the fusefs-kmod END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-09-20T15:53:55.898107Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-20T16:03:04.894454Z K 7 svn:log V 117 MFC r240317 Simplify pmap_unmapdev(). Don't set PTE_W on the page table entry in pmap_kenter{,_attr}() on MIPS. END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-09-20T16:27:21.777459Z K 7 svn:log V 141 MFC r240530 from HEAD: - Remove a reference to CVS and freefall from a user-facing man page. PR: docs/171658 Approved by: gabor (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T16:36:58.864727Z K 7 svn:log V 51 Implement FreeBSD's -i option as -j (-i is taken). END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-20T17:02:04.654437Z K 7 svn:log V 74 MFC r238456 and r238536 Various improvements to vm_contig_grow_cache(). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-20T17:30:26.551351Z K 7 svn:log V 197 MFC r240079: Update arcmsr(4) to vendor version 1.20.00.25. Many thanks to Areca for continuing to support FreeBSD. Submitted by: Ching-Lung Huang Approved by: re (kib) END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-09-20T17:39:07.052613Z K 7 svn:log V 141 MFC r240530 from HEAD: - Remove a reference to CVS and freefall from a user-facing man page. PR: docs/171658 Approved by: gabor (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-20T18:21:29.664048Z K 7 svn:log V 283 MFC r237168 The page flag PGA_WRITEABLE is set and cleared exclusively by the pmap layer, but it is read directly by the MI VM layer. This change introduces pmap_page_is_write_mapped() in order to completely encapsulate all direct access to PGA_WRITEABLE in the pmap layer. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T18:42:00.404969Z K 7 svn:log V 15 MFH at r240760 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-20T18:56:27.068064Z K 7 svn:log V 441 Restore handling of the third argument (id) of hid_start_parse(), same as it is done in NetBSD/OpenBSD, and as it was here before r205728. I personally think this API or its implementation is incorrect, as it is not correct to filter collections based on report ID, as they are orthogonal in general case, but I see no harm from supporting this feature. PR: usb/171810 Submitted by: Vitaly Magerya MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-20T18:59:50.882498Z K 7 svn:log V 74 MFC r240383: Fix AHCI 1.2 version checks. This should be mostly cosmetic. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-20T19:05:24.205453Z K 7 svn:log V 74 MFC r240383: Fix AHCI 1.2 version checks. This should be mostly cosmetic. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T22:12:50.737285Z K 7 svn:log V 37 Indent the bare ".." in indent mode. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T22:56:11.822697Z K 7 svn:log V 253 Tweak the output to match FreeBSD's mtree when running on FreeBSD systems: - Emit ripemd160digest= keywords rather them rmd160=. - Output the size of all objects rather than just regular files. - Emit the trailing .. when leaving the root directory. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-20T23:00:01.331081Z K 7 svn:log V 288 Correctly format the nanoseconds by padding out to 9 digits. Document this with text from the FreeBSD manpage. Without this change a file modified on the first nanosecond of a second (N.000000001) would be reported to have been modified at precicely 100ms into the second (N.100000000). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-20T23:44:13.900592Z K 7 svn:log V 216 Change all invocations of dialog(1) to no-longer require temporary files. This allows bsdconfig to -- like bsdinstall -- operate from read-only media. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-09-21T00:36:35.148401Z K 7 svn:log V 37 MFC of 240219 - remove useless test. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-21T01:36:20.062112Z K 7 svn:log V 142 Replace redirections to /dev/null with "close file-descriptor" syntax (>&-). Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-09-21T03:07:34.711981Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-09-21T03:09:23.798167Z K 7 svn:log V 219 Restructure the x2apic access code in preparation for supporting memory mapped access to the local apic. The vlapic code is now aware of the mode that the guest is using to access the local apic. Reviewed by: grehan@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-21T10:31:19.784696Z K 7 svn:log V 164 After r205013, amd64 and i386 CPU family and model IDs were printed out in hexadecimal, but without any 0x prefix, which can be very misleading. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-21T12:19:36.981349Z K 7 svn:log V 108 Don't use global nfs_root_node variable as per-file storage. There are fields that should be file-specific. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-21T12:28:56.004669Z K 7 svn:log V 70 MFC r240552: siginfo(3): Document SI_USER and SI_KERNEL signal codes. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-21T12:31:37.411680Z K 7 svn:log V 163 MFC r240523: siginfo(3): Document SI_LWP signal code. Describe SI_LWP as being generated by pthread_kill() because thr_kill() is a private undocumented function. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-21T12:33:25.162551Z K 7 svn:log V 59 MFC r240524: siginfo(3): Document TRAP_DTRACE signal code. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-21T12:38:52.021181Z K 7 svn:log V 180 siginfo(3): Document SI_USER and SI_KERNEL signal codes. Different from stable/9 and head, do not mention pthread_kill(3), which generates a different code (SI_USER) in stable/8. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-21T12:40:31.755537Z K 7 svn:log V 59 MFC r240524: siginfo(3): Document TRAP_DTRACE signal code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-21T13:25:50.329655Z K 7 svn:log V 283 Make nfs_readdir() more careful about using response data, cached in global buffer. For now it fixes bug when following `ls` command will return data from previous one aborted by pager. Also it should allow to read several directories same time, for example, for recursive tracerse. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-21T13:42:30.409642Z K 7 svn:log V 89 If the tree was actually updated, svn will say "updated to revision", not "at revision". END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-09-21T18:21:31.689498Z K 7 svn:log V 183 Implement elfN(reloc) for powerpc. With this change the kernel is now able to resolve dependencies of modules at boot time and load additional modules when needed. MFC after: 1 week END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-21T19:03:25.680728Z K 7 svn:log V 236 Reverse SVN r240770 -- jilles@ made a suggestion that allowed us to redesign our embedded rescue environment to support /dev/null making r240770 obsolete. Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-21T19:18:39.585433Z K 7 svn:log V 656 Remove #ident macro. -This line, and those below, will be ignored-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M altq/altq/altq_rmclass.c END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T19:22:43.398489Z K 7 svn:log V 145 Allow uid and uname or gid and gname to both be printed while preserving the behavior of falling back to [ug]id when the name is not resolvable. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T19:26:21.755747Z K 7 svn:log V 102 Implement the ability to compare two spec files with -f spec1 -f spec2. Obtained from: FreeBSD (phk) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T19:27:13.683696Z K 7 svn:log V 33 Hook specspec.c up to the build. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T19:30:36.675989Z K 7 svn:log V 28 Document -f spec1 -f spec2. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T20:03:13.532684Z K 7 svn:log V 144 Escape literal glob characters in files to avoid unexpected effects when using the resulting spec file to update. Obtained from: FreeBSD (phk) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T20:14:27.619328Z K 7 svn:log V 106 Make -t the default on FreeBSD systems. Add a -T which disables this behavior and document the defaults. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T20:30:59.214028Z K 7 svn:log V 103 Don't allow "-f spec1 -f spec2" with -c, -C, -D, or -p. Obtained from: Julian Fagir END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T20:59:22.580586Z K 7 svn:log V 37 s/timeof/time of/ Submitted by: bjk END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-09-21T21:27:57.561463Z K 7 svn:log V 30 Remove leftover from r215163. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T21:31:51.362165Z K 7 svn:log V 57 Add support sha386 and sha512 when comparing spec files. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T21:52:14.454628Z K 7 svn:log V 268 Abstract the naming of message digest keys so we can output foodigest= on FreeBSD and foo= elsewhere when FreeBSD's mtree already supports only the foodigest= form. SHA384KEY and SHA512KEY definitions are for symmetry only and retain the NetBSD default in all cases. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-09-21T22:07:46.755474Z K 7 svn:log V 38 Implement FreeBSD's nochange keyword. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-22T03:11:35.031844Z K 7 svn:log V 102 Spelling and whitespace corrections. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-22T04:04:02.475185Z K 7 svn:log V 149 Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax. Reviewed by: jilles, adrian (co-mentor) Approved by: jilles, adrian (co-mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-09-22T04:18:42.939940Z K 7 svn:log V 1367 MFC r239963: Bring some changes from Bull's NFSv4 libtirpc implementation. ____ Fixed infinite loop in svc_run() ____ __rpc_taddr2uaddr_af() assumes the netbuf to always have a non-zero data. This is a bad assumption and can lead to a seg-fault. This patch adds a check for zero length and returns NULL when found. ____ Changed clnt_spcreateerror() to return clearer and more concise error messages. ____ Converted all uid and gid variables of the type uid_t and gid_t. ____ libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed These fields in the rpcbind GETADDR call are being passed uninitialized to CLNT_CALL. In the case of x86_64 at least, this usually leads to a segfault. On x86, it sometimes causes segfaults and other times causes garbage to be sent on the wire. rpcbind generally ignores the r_owner field for calls that come in over the wire, so it really doesn't matter what we send in that slot. We just need to send something. The reference implementation from Sun seems to send a blank string. Have ours follow suit. ____ libtirpc: be sure to free cl_netid and cl_tp When creating a client with clnt_tli_create, it uses strdup to copy strings for these fields if nconf is passed in. clnt_dg_destroy frees these strings already. Make sure clnt_vc_destroy frees them in the same way. ____ Obtained from: Bull GNU/Linux NFSv4 Project END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-09-22T04:22:17.864125Z K 7 svn:log V 1367 MFC r239963: Bring some changes from Bull's NFSv4 libtirpc implementation. ____ Fixed infinite loop in svc_run() ____ __rpc_taddr2uaddr_af() assumes the netbuf to always have a non-zero data. This is a bad assumption and can lead to a seg-fault. This patch adds a check for zero length and returns NULL when found. ____ Changed clnt_spcreateerror() to return clearer and more concise error messages. ____ Converted all uid and gid variables of the type uid_t and gid_t. ____ libtirpc: set r_netid and r_owner in __rpcb_findaddr_timed These fields in the rpcbind GETADDR call are being passed uninitialized to CLNT_CALL. In the case of x86_64 at least, this usually leads to a segfault. On x86, it sometimes causes segfaults and other times causes garbage to be sent on the wire. rpcbind generally ignores the r_owner field for calls that come in over the wire, so it really doesn't matter what we send in that slot. We just need to send something. The reference implementation from Sun seems to send a blank string. Have ours follow suit. ____ libtirpc: be sure to free cl_netid and cl_tp When creating a client with clnt_tli_create, it uses strdup to copy strings for these fields if nconf is passed in. clnt_dg_destroy frees these strings already. Make sure clnt_vc_destroy frees them in the same way. ____ Obtained from: Bull GNU/Linux NFSv4 Project END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T05:27:47.357211Z K 7 svn:log V 125 MFC r240686: Do not reference z_nodeflib for !objgiven case, thus fixing LD_PRELOAD for a non-absolute path. PR: bin/171604 END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-22T06:41:56.638877Z K 7 svn:log V 296 Create a common set_stackptrs in sys/arm/machdep.c. On single core devices set_stackptrs is only ever called with cpu = 0 in initarm and will be identical to the existing function. On SMP this needs to be implemented for sys/arm/mp_machdep.c, but the implementations are identical for each SoC. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-22T06:54:03.137120Z K 7 svn:log V 696 Since UMA_ZONE_NOFREE is specified when l2zone and l2table_zone are created, there is no need to release and reacquire the pmap and pvh global locks around calls to uma_zfree(). Recursion into the pmap simply won't occur. Eliminate the use of M_USE_RESERVE. It is deprecated and, in fact, counter- productive, meaning that it actually makes the memory allocation request more likely to fail. Eliminate the macros pmap_{alloc,free}_l2_dtable(). They are of limited utility, and pmap_free_l2_dtable() was inconsistently used. Tidy up pmap_init(). In particular, change the initialization of the PV zone so that it doesn't span the initialization of the l2 and l2table zones. Tested by: jmg END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-22T07:27:24.288705Z K 7 svn:log V 23 Apply correct casting. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-09-22T07:44:36.692556Z K 7 svn:log V 144 Improve the check for p4 opened files. Now we only search for opened files in ${SYSDIR}, which makes it possible to use multiple source trees. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-22T08:02:42.161709Z K 7 svn:log V 25 Apply some more casting. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-22T08:47:29.767644Z K 7 svn:log V 672 MFC 240729 (dougb): Upgrade to 9.8.3-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused by using "Bad cache" data before it has been initialized. ISC_QUEUE handling for recursive clients was updated to address a race condition that could cause a memory leak. This rarely occurred with UDP clients, but could be a significant problem for a server handling a steady rate of TCP queries. A condition has been corrected where improper handling of zero-length RDATA could cause undesirable behavior, including termination of the named process. For more information: https://kb.isc.org/article/AA-00788 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-09-22T08:48:26.181812Z K 7 svn:log V 695 MFC 240729 (dougb): Upgrade to 9.8.3-P3: Prevents a crash when queried for a record whose RDATA exceeds 65535 bytes. Prevents a crash when validating caused by using "Bad cache" data before it has been initialized. ISC_QUEUE handling for recursive clients was updated to address a race condition that could cause a memory leak. This rarely occurred with UDP clients, but could be a significant problem for a server handling a steady rate of TCP queries. A condition has been corrected where improper handling of zero-length RDATA could cause undesirable behavior, including termination of the named process. For more information: https://kb.isc.org/article/AA-00788 Approved by: re (kib) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T10:02:44.221784Z K 7 svn:log V 179 Fix fallout from r236397 in pfr_update_stats(), that was missed later in r237155. We need to zero sockaddr before lookup. While here, make pfr_update_stats() panic on unknown af. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T10:04:48.851668Z K 7 svn:log V 66 In pfr_insert_kentry() return ENOMEM if memory allocation failed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T10:14:47.394307Z K 7 svn:log V 681 When connection rate hits and we overload a source to a table, we are actually editing table, which means editing rules, thus we need writer access to 'em. Fix this by offloading the update of table to the same taskqueue, we already use for flushing. Since taskqueues major task is now overloading, and flushing is optional, do mechanical rename s/flush/overload/ in the code related to the taskqueue. Since overloading tasks do unsafe referencing of rules, provide a bandaid in pf_purge_unlinked_rules(). If the latter sees any queued tasks, then it skips purging for this run. In table code: - Assert any lock in pfr_lookup_addr(). - Assert writer lock in pfr_route_kentry(). END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-09-22T12:12:39.855986Z K 7 svn:log V 13 IFC @ 240808 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:17:09.197832Z K 7 svn:log V 773 Do not skip two elements of the tid_buffer when reusing the buffer slot. This eventually results in exhaustion of the tid space, causing new threads get tid -1 as identifier. The bad effect of having the thread id equal to -1 is that UMTX_OP_UMUTEX_WAIT returns EFAULT for a lock owned by such thread, because casuword cannot distinguish between literal value -1 read from the address and -1 returned as an indication of faulted access. _thr_umutex_lock() helper from libthr does not check for errors from _umtx_op_err(2), causing an infinite loop in mutex_lock_sleep(). We observed the JVM processes hanging and consuming enormous amount of system time on machines with approximately 100 days uptime. Reported by: Mykola Dzham MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:27:50.267677Z K 7 svn:log V 55 MFC r237431: Enchance the shared page chunk allocator. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:32:00.759469Z K 7 svn:log V 277 MFC r237433: Implement mechanism to export some kernel timekeeping data to usermode, using shared page. MFC r237474: Stop updating the struct vdso_timehands from even handler executed in the scheduled task from tc_windup(). Do it directly from tc_windup in interrupt context. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:34:02.032275Z K 7 svn:log V 268 MFC r237435: Enable shared page on i386, now it has a use for vdso_timehands. MFC r237445: Commit changes missed from r237435. Properly calculate the signal trampoline addresses after the shared page is enabled. Handle FreeBSD ABIs without shared page support too. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:35:22.756273Z K 7 svn:log V 76 MFC r237476: Remove no longer needed forward declaration for struct sf_buf. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:36:31.785801Z K 7 svn:log V 117 MFC r237477: Move the code dealing with shared page into a dedicated kern_sharedpage.c source file from kern_exec.c. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:38:19.611887Z K 7 svn:log V 123 MFC r237434: Use struct vdso_timehands data to implement fast gettimeofday(2) and clock_gettime(2) functions if supported. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-22T12:40:00.050514Z K 7 svn:log V 53 kdump: Pretty-print signal codes. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-22T12:40:52.482882Z K 7 svn:log V 97 MFC r238973,r238975: Add explicit fences right before rdtsc in the timecounters 'get' functions. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T12:41:49.309276Z K 7 svn:log V 243 Use the topology lock to protect list of providers while withering them. It is possible that provider is destroyed while we are iterating over the list. Reported by: Brian Parkison Discussed with: phk MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T12:42:51.458160Z K 7 svn:log V 58 Use O_CLOEXEC for open instead of separate fcntl(2) call. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T12:49:36.370390Z K 7 svn:log V 89 Convert more M_WAITOK malloc() to M_NOWAIT. Reported by: Kim Culhan END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-09-22T12:52:41.419319Z K 7 svn:log V 53 sh: Add some tests for aliasing a utility to itself. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-22T14:39:20.971374Z K 7 svn:log V 58 Small cleanups. No functional change. MFC after: 10 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-22T15:19:11.014621Z K 7 svn:log V 587 * Make STRICT_ALIGN() work for doubles as well as for floats. This only affects i386. The double case was intentionally left broken as an optimization, but we are getting closer to supporting applications and/or kernels that change the (FreeBSD i386) default rounding precision from FP_PD to FP_PE and never change it back, and this requires the STRICT_ALIGN()s that were added to support FP_PE to actually work in all precisions. * Remove an extraneous semicolon at the end of a macro that was supposed to be function-like. Submitted by: bde Approved by: das (mentor) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-22T15:38:29.859308Z K 7 svn:log V 214 * Use ENTERI() and RETURNI() to toggle the rounding precision if necessary, so that cosl(), sinl() and tanl() work on i386 even for naive callers. Suggested by: bde Reviewed by: bde Approved by: das (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T17:32:40.133101Z K 7 svn:log V 155 As in r226967, r226987 and r232401 changes to UFS and TMPFS remove cache entries associated with the source and the target of rename(). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T17:41:56.057511Z K 7 svn:log V 21 Fix an obvious typo. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-09-22T17:42:53.929532Z K 7 svn:log V 247 zfs: allow a zvol to be used as a pool vdev, again Do this by checking if spa_namespace_lock is already held and not taking it again in that case. Add a comment explaining why that is done and why it is safe. Reviewed by: pjd MFC after: 24 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T17:46:53.508556Z K 7 svn:log V 36 Make the example a bit more pretty. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T17:47:37.945163Z K 7 svn:log V 13 Add libsbuf. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-22T17:49:25.659051Z K 7 svn:log V 56 Add rounddown2() macro similar to the roundup2() macro. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T18:47:14.170780Z K 7 svn:log V 173 Use M_NOWAIT in wtab_alloc(), too. Convert panic() to a soft failure here. wtab_alloc() is used by red_alloc(), which can fail. Reported by: Kim Culhan END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-09-22T19:03:11.506336Z K 7 svn:log V 90 EBUSY is a better reply for refusing to unload pf(4) or pfsync(4). Submitted by: pluknet END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-09-22T21:13:34.540465Z K 7 svn:log V 88 MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync with kernel code END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-09-22T21:14:53.809299Z K 7 svn:log V 88 MFC r240346,240356: zfs boot: bring zap_leaf_chunk field names in sync with kernel code END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-09-22T21:18:30.975916Z K 7 svn:log V 88 MFC r240513: sched_ule: fix inverted condition in reporting of priority lending via ktr END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-09-22T21:19:49.676771Z K 7 svn:log V 88 MFC r240513: sched_ule: fix inverted condition in reporting of priority lending via ktr END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-22T21:34:46.955102Z K 7 svn:log V 222 Remove some duplicated advice. While here increase the suggested sizes for the partition as "make universe" takes a lot more space than mentioned. Reviewed by: gavin Approved by: gjb MFC after: 3 days X-MFC-With: r240728 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-22T22:04:17.098219Z K 7 svn:log V 141 Fix a bug related to handling Re-config chunks. It is not true that the association can be removed if the socket is gone. MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-22T22:16:07.398990Z K 7 svn:log V 774 jilles accurately advises that, in the context of shell redirection, the `:' builtin is processed specially and thus the `: > file' syntax for example will cause premature termination of the current shell on redirection-error. The `true' builtin on the other-hand is not included in this special processing (for compatibility reasons to satisfy legacy scripts programmed for systems where `true' is not a builtin). Change bare `: > file' syntax into `true > file' syntax to prevent premature shell termination in the event of redirection-error. NOTE: Instances of `: > file' that appear within a sub-shell have been left unmodified as these will not cause premature termination of the main script. Reviewed by: jilles, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-22T22:41:38.046830Z K 7 svn:log V 103 Reduce the diff between the FDT implementations of initarm. This only touches whitespace and comments. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-23T02:01:59.737161Z K 7 svn:log V 91 Update different versions of physmap_init to be identical in preparation for merging them. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-23T03:46:03.740017Z K 7 svn:log V 67 Pull out the SoC specific parts of initarm into separate functions END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-09-23T06:16:08.424462Z K 7 svn:log V 67 MFC r240546: Handle AT_TIMEKEEP in procstat(1) -x. PR: bin/171662 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-23T07:23:18.556680Z K 7 svn:log V 54 Declare a static function as such. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-09-23T07:43:10.351002Z K 7 svn:log V 38 Whitespace change. MFC after: 3 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-23T08:38:06.574332Z K 7 svn:log V 23 Avoid NULL dereference END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-23T08:44:12.612121Z K 7 svn:log V 27 Remove unused variable ma. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-09-23T08:46:44.722721Z K 7 svn:log V 18 Cosmetic changes. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-23T08:49:41.569013Z K 7 svn:log V 46 Fix a typo in a Broadcom initarm debug printf END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-09-23T08:50:54.674794Z K 7 svn:log V 96 MFi386: revision 240637 loader/i386: replace ugly inb/outb re-implementations with cpufunc.h END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-09-23T09:13:57.560794Z K 7 svn:log V 268 MFi386: revision 237445 Commit changes missed from r237435. Properly calculate the signal trampoline addresses after the shared page is enabled. Handle FreeBSD ABIs without shared page support too. MFi386: revision 238792 Introduce curpcb magic variable. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-23T09:39:04.003979Z K 7 svn:log V 41 Correct driver name. MFC after: 1 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-23T12:19:19.810465Z K 7 svn:log V 511 DWC OTG host mode improvements. Add support for the 3-strikes and you are gone rule. Optimise use of channels so that when a channel is not ready another channel is used. Instead of using the SOF interrupt use the system timer to drive the host statemachine. This might give lower throughput and higher latency, but reduces the CPU usage significantly. The DWC OTG host mode support should not be considered for serious USB host controller applications. Some problems are still seen with LOW speed USB devices. END K 10 svn:author V 7 zeising K 8 svn:date V 27 2012-09-23T14:49:28.814841Z K 7 svn:log V 260 MFC r240205: Change the link pointing to more information about the Yarrow algorithm, the current link points to a irrelevant catchall site. PR: docs/171411 Submitted by: Mark Martinec (pr), zeising (patch) Approved by: joel (mentor) END K 10 svn:author V 7 zeising K 8 svn:date V 27 2012-09-23T14:50:01.662083Z K 7 svn:log V 276 MFC r240205: Change the link pointing to more information about the Yarrow algorithm, the current link points to a irrelevant catchall site. PR: docs/171411 Submitted by: Mark Martinec (pr), zeising (patch) Approved by: joel (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-09-23T17:33:16.997253Z K 7 svn:log V 150 Move the prototype for savectx from cpu.h to pcb.h, as it is on other platforms, as well as putting it in an #ifdef KERNEL block. MFC after: 2 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-23T17:36:01.173239Z K 7 svn:log V 382 * Update the lookup table to use 53-bit high and low values. Also, update the comment to describe the choice of using a high and low decomposition of 2^(i/INTERNVAL) for 0 <= i <= INTERVAL in preparation for an implementation of expm1l. * Move the #define of INTERVAL above the comment, because the comment refers to INTERVAL. Reviewed by: bde Approved by: das (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-09-23T17:42:39.101441Z K 7 svn:log V 304 Address a race condition that was introduced in r238212. Unless the page queues lock is acquired before the page lock is released, there is no guarantee that the page will still be in that same page queue when vm_page_requeue() is called. Reported by: pho In collaboration with: kib MFC after: 3 days END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-09-23T17:47:01.170811Z K 7 svn:log V 151 Always use RC_CONFS when set, even if NULL. Previously only used if non-NULL. Reviewed by: jilles, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-23T18:06:27.318647Z K 7 svn:log V 612 * ld80/s_expl.c: . Guard a comment from reformatting by indent(1). . Re-order variables in declarations to alphabetical order. . Remove a banal comment. * ld128/s_expl.c: . Add a comment to point to ld80/s_expl.c for implementation details. . Move the #define of INTERVAL to reduce the diff with ld80/s_expl.c. . twom10000 does not need to be volatile, so move its declaration. . Re-order variables in declarations to alphabetical order. . Add a comment that describes the argument reduction. . Remove the same banal comment found in ld80/s_expl.c. Reviewed by: bde Approved by: das (mentor) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-23T18:13:46.834115Z K 7 svn:log V 59 Fix whitespace issue. Approved by: das (mentor, implicit) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-09-23T18:32:03.938104Z K 7 svn:log V 454 * ld80/s_expl.c: . Fix the threshold for expl(x) where |x| is small. . Also update the previously incorrect comment to match the new threshold. * ld128/s_expl.c: . Re-order logic in exceptional cases to match the logic used in other long double functions. . Fix the threshold for expl(x) where is |x| is small. . Also update the previously incorrect comment to match the new threshold. Submitted by: bde Approved by: das (mentor) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T19:14:13.941904Z K 7 svn:log V 189 MFC r238373 sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on unless the file also includes opt_mfi.h. Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-23T19:40:58.400701Z K 7 svn:log V 1045 Add TRIM support. The code builds a map of regions that were freed. On every write the code consults the map and eventually removes ranges that were freed before, but are now overwritten. Freed blocks are not TRIMed immediately. There is a tunable that defines how many txg we should wait with TRIMming freed blocks (64 by default). There is a low priority thread that TRIMs ranges when the time comes. During TRIM we keep in-flight ranges on a list to detect colliding writes - we have to delay writes that collide with in-flight TRIMs in case something will be reordered and write will reached the disk before the TRIM. We don't have to do the same for in-flight writes, as colliding writes just remove ranges to TRIM. Sponsored by: multiplay.co.uk This work includes some important fixes and some improvements obtained from the zfsonlinux project, including TRIMming entire vdevs on pool create/add/attach and on pool import for spare and cache vdevs. Obtained from: zfsonlinux Submitted by: Etienne Dechamps END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-09-23T19:48:29.289592Z K 7 svn:log V 107 Clean up the bcm2835 initarm. It is now identical to the other ARMv6 copies Tested by: Alexander Yerenkow END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-09-23T20:12:10.504241Z K 7 svn:log V 634 It is possible to recursively destroy snapshots even if the snapshot doesn't exist on a dataset we are starting from. For example if we have the following configuration: tank tank/foo tank/foo@snap tank/bar tank/bar@snap We can execute: # zfs destroy -t tank@snap eventhough tank@snap doesn't exit. Unfortunately it is not possible to do the same with recursive rename: # zfs rename -r tank@snap tank@pans cannot open 'tank@snap': dataset does not exist ...until now. This change allows to recursively rename snapshots even if snapshot doesn't exist on the starting dataset. Sponsored by: rsync.net MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:16:17.051086Z K 7 svn:log V 185 MFC r238373 sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on unless the file also includes opt_mfi.h. Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:16:45.629888Z K 7 svn:log V 185 MFC r238373 sys/dev/mfivar.h contains references to MFI_DEBUG, but it never gets turned on unless the file also includes opt_mfi.h. Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:17:28.920157Z K 7 svn:log V 258 MFC r238371 When an MFI command fails, the driver needs to set bio->bio_resid so that the upper levels notice. Otherwise we see commands silently failing leading to data corruption. This mirrors dadone() Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:24:17.085690Z K 7 svn:log V 259 MFC r238371 When an MFI command fails, the driver needs to set bio->bio_resid so that the upper levels notice. Otherwise we see commands silently failing leading to data corruption. This mirrors dadone() Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:24:24.763257Z K 7 svn:log V 259 MFC r238371 When an MFI command fails, the driver needs to set bio->bio_resid so that the upper levels notice. Otherwise we see commands silently failing leading to data corruption. This mirrors dadone() Submitted by: Andrew Boyer aboyer@averesystems.com END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:28:47.146932Z K 7 svn:log V 129 MFC r238601 On BIO_ERROR, set bio_resid to stop losing data in the error case. Submitted by: Mark Johnston END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:31:45.501643Z K 7 svn:log V 129 MFC r238601 On BIO_ERROR, set bio_resid to stop losing data in the error case. Submitted by: Mark Johnston END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T20:31:52.234234Z K 7 svn:log V 129 MFC r238601 On BIO_ERROR, set bio_resid to stop losing data in the error case. Submitted by: Mark Johnston END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2012-09-23T22:53:39.442228Z K 7 svn:log V 296 This patch fixes a nit in the em, lem, and igb driver statistics. Increment adapter->dropped_pkts instead of if_ierrors because if_ierrors is overwritten by hw stats collection. Submitted by: Andrew Boyer Reviewed by: Jack F Vogel MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-09-24T03:14:17.817081Z K 7 svn:log V 436 Partial revert of r239963: The following change caused rpc.lockd to exit after startup: ____ libtirpc: be sure to free cl_netid and cl_tp When creating a client with clnt_tli_create, it uses strdup to copy strings for these fields if nconf is passed in. clnt_dg_destroy frees these strings already. Make sure clnt_vc_destroy frees them in the same way. ____ MFC after: 3 days Reported by: David Wolfskill Tested by: David Wolfskill END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-09-24T05:24:10.483922Z K 7 svn:log V 134 Revert r240850 and remove redundant NULL check before free(3). free(3) handles NULL parameter fine. Reviewed by: kib, Garrett Cooper END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-24T06:00:51.755933Z K 7 svn:log V 166 In (eventual) preparation for supporting disabling the whole 11n/software retry path - add some code to make it obvious (to me!) how to disable the software tx path. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-24T06:42:20.253604Z K 7 svn:log V 991 Prepare for software retransmission of non-aggregate frames but ensure it's disabled. The previous commit to enable CLRDMASK setting didn't do it at all correctly for non-aggregate sessions - so the CLRDMASK bit would be cleared and never re-set. * move ath_tx_update_clrdmask() to be called by functions that setup descriptors and queue frames to the hardware, rather than scattered everywhere. * Force CLRDMASK to be set on all non-aggregate session frames being transmitted. * Use ath_tx_normal_comp() now on non-aggregate sessoin frames that are queued via ath_tx_xmit_normal(). That way the TID hwq is updated and they can trigger (eventual) filter frame queue resets and software retransmits. There's still a bit more work to do in this area to reverse the silly short-sightedness on my part, however it's likely going to be better to fix this now than just reverting the patch. Thanks to people on the freebsd-wireless@ mailing list for promptly pointing this out. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-24T08:23:05.769431Z K 7 svn:log V 284 Fix panic caused by wrong pointer dereference, left after pin sense rewrite at r230551. Also while there, make sense polling use reported for each node separately instead of reporting accumulated total status. Submitted by: Barbara (1) MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-09-24T08:32:19.867455Z K 7 svn:log V 104 Document ipv6 hook, present there for ages. Submitted by: Dmitry Luhtionov END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-24T14:54:27.900793Z K 7 svn:log V 59 Use $unamecmd instead of hardcoding it all over the place. END K 10 svn:author V 3 bjk K 8 svn:date V 27 2012-09-24T15:02:31.063827Z K 7 svn:log V 119 Minor man page cleanup -- fix grammar, markup fixes, and start each sentence on a new line. Approved by: hrs (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-24T15:15:41.301519Z K 7 svn:log V 247 If svn checkout or update fails, retry up to three times (four attempts total) at increasing intervals before giving up. When svn checkout or update succeeds, use svnversion to retrieve the version number and log it so it appears in the summary. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-09-24T15:16:06.148609Z K 7 svn:log V 33 This hack is no longer required. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-24T16:34:13.759062Z K 7 svn:log V 127 DWC OTG host mode improvements: - Make HSIC selection dynamic. - Make LOW speed USB devices work through HIGH speed USB HUB. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-09-24T17:13:33.849589Z K 7 svn:log V 676 Make sure moused is exiting as quick as possible after that the umsX character device returns a read error. Update devd.conf rules to use "DEVFS" events which are generated after that the umsX character device node has been created/destroyed, and then there should be no need for moused to wait up to 10 seconds for umsX to be ready. Opening umsX should not fail except if the kernel is low on memory. In that case the user can replug the USB mouse or use "usbconfig" to reset the device. In case of USB mouse devices, moused should neither retry to open its character device, once the first read error has happened. This is an indication of device detach. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-09-24T17:31:08.606837Z K 7 svn:log V 108 Permit table to be used as IPv6 address. Reported by: Serhiy Popov MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-09-24T17:34:30.792647Z K 7 svn:log V 37 Whitespace fixes MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-09-24T19:32:24.616941Z K 7 svn:log V 200 Stash the 'vm_exit' information in each 'struct vcpu'. There is no functional change at this time but this paves the way for vm exit handler functions to easily modify the exit reason going forward. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-24T19:48:41.504716Z K 7 svn:log V 266 Debugging output fixes: * use the correct frame status - although the completion descriptor is the _last_ in the frame/aggregate, the status is currently stored in the _first_ buffer. * Print out ath_buf specific fields once, not per descriptor in an ath_buf. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-24T20:00:31.214398Z K 7 svn:log V 130 MFC r240144: After r240104, make sure the hpt27xx driver also compiles with clang, when it is statically linked into the kernel. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-24T20:03:13.089521Z K 7 svn:log V 208 MFC r240531: Pull in r163967 from upstream llvm trunk: X86: Emitting x87 fsin/fcos for sinf/cosf is not safe without unsafe fp math. This should make clang emit calls to libm for sinf/cosf by default. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-09-24T20:05:52.067391Z K 7 svn:log V 159 MFC r240773: After r205013, amd64 and i386 CPU family and model IDs were printed out in hexadecimal, but without any 0x prefix, which can be very misleading. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-09-24T20:35:56.742888Z K 7 svn:log V 216 Migrate the ath(4) KTR logging to use an ATH_KTR() macro. This should eventually be unified with ATH_DEBUG() so I can get both from one macro; that may take some time. Add some new probes for TX and TX completion. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-24T21:40:22.148687Z K 7 svn:log V 324 Specify MTX_RECURSE for the controller's io_lock. Without it, tws(4) immediately panics on boot with INVARIANTS enabled. The driver already clearly expects to be able to recurse on this mutex - the main I/O is always recursing on this lock. Reported and tested by: Mike Tancsa MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-09-24T21:45:41.565237Z K 7 svn:log V 284 Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or LUNs respectively. This removes a huge number of error messages from CAM during bus scans. Copied almost verbatim from mav's commit r237460. Submitted by: Mike Tancsa MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-09-24T23:57:16.476068Z K 7 svn:log V 680 Attila Bogar reported a bug in mountd when multiple export entries with different security flavors are in the exports(5) file. For that case, mountd replies with the security flavors of the last entry and not the correct one for the client host. This patch fixes that by storing separate copies of the flavors for each host/net case, plus a default one for the case where no hosts/nets are specified on an entry in the exports(5) file. Unlike the patch in the PR, it replies with the security flavors for the entry instead of merging the security flavors for all the entries and replying with that. Tested by: attila.bogar at linguamatics.com PR: kern/164933 MFC after: 2 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-25T01:28:13.590373Z K 7 svn:log V 196 MFC r240466: Define missing DEBUGOUT# macros. DEBUGOUT[45] are not yet used but are being defined pre-emptively to avoid future build breakage PR: kern/168967 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-09-25T01:28:14.576616Z K 7 svn:log V 196 MFC r240466: Define missing DEBUGOUT# macros. DEBUGOUT[45] are not yet used but are being defined pre-emptively to avoid future build breakage PR: kern/168967 Approved by: cperciva (implicit) END