ƒ²)231176 189 138 237 231 231 332 212 188 115 126 122 114 232 567 567 567 142 170 193 432 164 307 146 624 115 294 154 342 155 203 342 672 672 855 855 406 406 269 269 256 256 175 175 144 144 173 229 229 229 158 158 153 141 138 200 146 167 213 178 178 178 176 231 641 569 1975 179 179 179 629 216 158 173 173 521 524 327 338 425 425 1648 1648 109 180 307 194 194 212 179 179 520 272 559 278 192 288 161 161 215 155 158 209 230 230 211 222 307 502 336 155 155 155 183 183 723 182 182 153 153 292 166 329 363 230 261 306 241 241 241 204 204 368 158 158 158 246 158 528 809 117 173 173 309 137 137 290 201 201 201 209 209 247 247 264 133 716 165 716 146 209 209 525 309 143 143 306 151 493 493 231 231 427 138 446 179 229 200 231 207 219 249 262 120 209 224 235 148 227 126 149 K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-08T03:16:29.606620Z K 7 svn:log V 41 Merge in an up-to-date kernel from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-02-08T04:05:38.201704Z K 7 svn:log V 141 Rev. 228360 moved the call to cpu_set_upcall() to happen before td_proc gets initialized in td (=newtd). Use td0 instead. MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-02-08T04:40:14.746909Z K 7 svn:log V 135 MFC r231177: Rev. 228360 moved the call to cpu_set_upcall() to happen before td_proc gets initialized in td (=newtd). Use td0 instead. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-02-08T04:47:06.691053Z K 7 svn:log V 135 MFC r231177: Rev. 228360 moved the call to cpu_set_upcall() to happen before td_proc gets initialized in td (=newtd). Use td0 instead. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-08T04:55:00.179099Z K 7 svn:log V 234 Add some functions to do I/O using the NFSv4.1 file layouts to the DS(s). Also, replace the "struct nfsmount *" argument with a "struct nfsclclient *" argument for nfscl_getlayout() and nfscl_getdevinfo() to simplify these functions. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2012-02-08T05:03:04.621393Z K 7 svn:log V 115 It's not an error if unlink(2) fails because the pathname doesn't exist. Noticed by: kevlo Pointy hat to: wollman END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T06:15:38.765996Z K 7 svn:log V 94 Provide placeholder for per-board reset function implementation - Minor empty lines clean-up END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T06:21:42.009082Z K 7 svn:log V 21 Remove unused header END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T06:22:43.261038Z K 7 svn:log V 32 Make PRCM driver FDT-compatible END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T06:28:34.362384Z K 7 svn:log V 28 Rename omapvar.h to tivar.h END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T06:55:22.492079Z K 7 svn:log V 20 Remove unused files END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-08T06:56:19.810814Z K 7 svn:log V 136 Update the 802.11s IE numbers to represent the latest 802.11 amendment standard. Submitted by: monthadar@gmail.com Reviewed by: rpaulo END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-08T07:30:48.013800Z K 7 svn:log V 474 MFC 230877: Fix NULL dereference panic on attempt to turn off (on system shutdown) disconnected swap device. This is quick and imperfect solution, as swap device will still be opened and GEOM will not be able to destroy it. Proper solution would be to automatically turn off and close disconnected swap device, but with existing code it will cause panic if there is at least one page on device, even if it is unimportant page of the user-level process. It needs some work. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-08T07:31:55.026428Z K 7 svn:log V 474 MFC 230877: Fix NULL dereference panic on attempt to turn off (on system shutdown) disconnected swap device. This is quick and imperfect solution, as swap device will still be opened and GEOM will not be able to destroy it. Proper solution would be to automatically turn off and close disconnected swap device, but with existing code it will cause panic if there is at least one page on device, even if it is unimportant page of the user-level process. It needs some work. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-08T07:34:03.155217Z K 7 svn:log V 474 MFC 230877: Fix NULL dereference panic on attempt to turn off (on system shutdown) disconnected swap device. This is quick and imperfect solution, as swap device will still be opened and GEOM will not be able to destroy it. Proper solution would be to automatically turn off and close disconnected swap device, but with existing code it will cause panic if there is at least one page on device, even if it is unimportant page of the user-level process. It needs some work. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-08T08:42:17.642360Z K 7 svn:log V 48 Add offsetof.3 man page Obtained from: OpenBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-02-08T08:43:41.432608Z K 7 svn:log V 78 Note that calling pidfile_write(3) multiple times is fine. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-02-08T08:49:30.484655Z K 7 svn:log V 100 Add a comment to the example that pidfile_* functions can handle pfh being NULL. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-08T08:52:40.871610Z K 7 svn:log V 337 As it stands right now, the default devfs rulesets are only loaded as a side effect of something else using them. If they haven't been loaded already but you want to use them, say for configuring a jail, you're out of luck. So add a knob to always load the default rulesets. While I'm here document the other devfs_ knobs in rc.conf.5. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-02-08T09:18:22.586933Z K 7 svn:log V 72 Allow to set kern.ipc.shmmax from /boot/loader.conf. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-08T11:30:13.076375Z K 7 svn:log V 211 eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and ether_nota_r and do not use static variables so remove the note copied from ethers.3 saying they do. Reported by: bms MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-08T11:33:46.313783Z K 7 svn:log V 55 Copy libarchive's dist to 2.8, vendor has moved to git END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-08T11:43:29.952569Z K 7 svn:log V 529 - change the buffer size from a constant to a TUNABLE variable (hw.netmap.buf_size) so we can experiment with values different from 2048 which may give better cache performance. - rearrange the memory allocation code so it will be easier to replace it with a different implementation. The current code relies on a single large contiguous chunk of memory obtained through contigmalloc. The new implementation (not committed yet) uses multiple smaller chunks which are easier to fit in a fragmented address space. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-08T12:52:01.543966Z K 7 svn:log V 24 Libarchive 3.0.3 import END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-08T12:53:14.967451Z K 7 svn:log V 202 Update vendor libarchive dist to new "release" branch (post 3.0.3) Git branch: release Git commit: 9af87742342aa4f37a22ec12c4cc1c82e00ffa2f Obtained from: https://github.com/libarchive/libarchive.git END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-08T13:39:38.603578Z K 7 svn:log V 58 Set vnet context in callouts and taskqueues. PR: 164696 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-08T14:09:08.665587Z K 7 svn:log V 249 MFC r230553: When doing vflush(WRITECLOSE), clean vnode pages. Unmounts do vfs_msync() before calling VFS_UNMOUNT(), but there is still a race allowing a process to dirty pages after msync finished. Remounts rw->ro just left dirty pages in system. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-08T14:21:20.651405Z K 7 svn:log V 63 MFC r230866: Add kqueue support to /dev/klog. PR: kern/156423 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-08T15:07:19.254526Z K 7 svn:log V 110 Unbreak detection of the async mode for clustered writes after r231075. Submitted by: bde MFC after: 12 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-08T15:19:49.054497Z K 7 svn:log V 249 MFC r230553: When doing vflush(WRITECLOSE), clean vnode pages. Unmounts do vfs_msync() before calling VFS_UNMOUNT(), but there is still a race allowing a process to dirty pages after msync finished. Remounts rw->ro just left dirty pages in system. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T15:37:34.779831Z K 7 svn:log V 580 MFC r225030: While not explicitly allowed by RFC 2460, in case there is no translation technology involved (and that section is suggested to be removed by Errata 2843), single packet fragments do not harm. There is another errata and further drafts under discussion to clarify on these kinds of packets. Meanwhile add a sysctl to allow disabling this behaviour again. We will treat single packet fragment (a fragment header added when not needed) as if there was no fragment header. Submitted by: Matthew Luckie (mjl luckie.org.nz) (original version) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T15:38:36.587710Z K 7 svn:log V 580 MFC r225030: While not explicitly allowed by RFC 2460, in case there is no translation technology involved (and that section is suggested to be removed by Errata 2843), single packet fragments do not harm. There is another errata and further drafts under discussion to clarify on these kinds of packets. Meanwhile add a sysctl to allow disabling this behaviour again. We will treat single packet fragment (a fragment header added when not needed) as if there was no fragment header. Submitted by: Matthew Luckie (mjl luckie.org.nz) (original version) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:03:05.648624Z K 7 svn:log V 763 MFC r225032,225034: ipfw internally checks for offset == 0 to determine whether the packet is a/the first fragment or not. For IPv6 we have added the "more fragments" flag as well to be able to determine on whether there will be more as we do not have the fragment header avaialble for logging, while for IPv4 this information can be derived directly from the IPv4 header. This allowed fragmented packets to bypass normal rules as proper masking was not done when checking offset. Split variables to not need masking for IPv6 to avoid further errors. After r225032 fix logging in a similar way masking the the IPv6 more fragments flag off so that offset == 0 checks work properly. Submitted by: Matthew Luckie (mjl luckie.org.nz) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:07:07.388291Z K 7 svn:log V 763 MFC r225032,225034: ipfw internally checks for offset == 0 to determine whether the packet is a/the first fragment or not. For IPv6 we have added the "more fragments" flag as well to be able to determine on whether there will be more as we do not have the fragment header avaialble for logging, while for IPv4 this information can be derived directly from the IPv4 header. This allowed fragmented packets to bypass normal rules as proper masking was not done when checking offset. Split variables to not need masking for IPv6 to avoid further errors. After r225032 fix logging in a similar way masking the the IPv6 more fragments flag off so that offset == 0 checks work properly. Submitted by: Matthew Luckie (mjl luckie.org.nz) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:24:56.215776Z K 7 svn:log V 314 MFC r225033: If we detect an IPv6 fragment header and it is not the first fragment, then terminate the loop as we will not find any further headers and for short fragments this could otherwise lead to a pullup error discarding the fragment. Submitted by: Matthew Luckie (mjl luckie.org.nz) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:26:01.263276Z K 7 svn:log V 314 MFC r225033: If we detect an IPv6 fragment header and it is not the first fragment, then terminate the loop as we will not find any further headers and for short fragments this could otherwise lead to a pullup error discarding the fragment. Submitted by: Matthew Luckie (mjl luckie.org.nz) PR: kern/145733 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:44:54.555048Z K 7 svn:log V 177 MFC r225036: Hide IPv6 next header parsing warnings under the verbose sysctl so people can possibly disable it when their consoles are flooded, or enabled it for debugging. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T16:45:20.021269Z K 7 svn:log V 177 MFC r225036: Hide IPv6 next header parsing warnings under the verbose sysctl so people can possibly disable it when their consoles are flooded, or enabled it for debugging. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T17:03:12.149453Z K 7 svn:log V 164 MFC r225428: Shorten a variable access some using a cached value rather than casting the input argument again, making the code more readable. Reviewed by: jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T17:03:30.835402Z K 7 svn:log V 164 MFC r225428: Shorten a variable access some using a cached value rather than casting the input argument again, making the code more readable. Reviewed by: jhb END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T17:54:02.088342Z K 7 svn:log V 84 MFC r222845: Correct comments and debug logging in ipsec to better match reality. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T17:54:11.891221Z K 7 svn:log V 84 MFC r222845: Correct comments and debug logging in ipsec to better match reality. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T18:21:48.740785Z K 7 svn:log V 53 Remove sun4v from universe targets. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T18:22:10.906806Z K 7 svn:log V 53 Remove sun4v from universe targets. Approved by: re END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-08T18:36:07.394802Z K 7 svn:log V 81 Trim 8 unused bytes from struct vnode on 64-bit architectures. Reviewed by: alc END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T18:51:10.733723Z K 7 svn:log V 137 MFC r228641: Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum offloading on vlans and document the new option. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T18:51:20.037098Z K 7 svn:log V 137 MFC r228641: Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum offloading on vlans and document the new option. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T18:51:25.668982Z K 7 svn:log V 137 MFC r228641: Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum offloading on vlans and document the new option. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T19:20:11.024974Z K 7 svn:log V 67 MFC r223359: Garbage collect never used global, sysctl, externs. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-08T19:31:32.987094Z K 7 svn:log V 67 MFC r223359: Garbage collect never used global, sysctl, externs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-08T20:31:42.460822Z K 7 svn:log V 60 Revert r211288 and move the logic to the acpi_timer itself. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-08T21:23:20.716572Z K 7 svn:log V 48 Reset clock after atrtc(4) is properly resumed. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-08T21:40:54.722297Z K 7 svn:log V 43 Remove extra newlines from panic messages. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-02-08T22:05:26.400676Z K 7 svn:log V 103 g/c last bit of old ipv6 prefix management. Reviewed by: bz Obtained from: NetBSD, net/if.h, rev 1.80 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-08T22:27:07.559545Z K 7 svn:log V 49 MFC r229317: Fix support for suspend and resume. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-08T22:29:41.275547Z K 7 svn:log V 70 MFC r227285: Add support for new USB modem protocol. PR: usb/159919 END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-08T22:33:51.145409Z K 7 svn:log V 118 Add slightly modified (FDT support added) OMAP GPIO driver by Ben Gray Submitted by: Ben Gray END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-08T23:12:05.128315Z K 7 svn:log V 86 Merge from head to stable/7: r230655: Since April 2, 2006, Indiana has observed DST. END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-08T23:13:21.752890Z K 7 svn:log V 86 Merge from head to stable/8: r230655: Since April 2, 2006, Indiana has observed DST. END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-08T23:14:26.909073Z K 7 svn:log V 86 Merge from head to stable/9: r230655: Since April 2, 2006, Indiana has observed DST. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-02-08T23:34:47.890057Z K 7 svn:log V 82 Acknowledge that jail_attach and jail_remove can return EPERM. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-08T23:47:22.394406Z K 7 svn:log V 135 Merge from r230889: Mark cpu_{halt,reset}() and hv_mach_{exit,sir}() as __dead2 as appropriate. This is a direct commit to stable/8. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-02-08T23:51:46.015201Z K 7 svn:log V 546 Improvements in error messages: Some errors printed the jail name for unnamed (command line) jails. Attempting to create an already-existing jail from the command line returned with no error (even for non-root) due to bad logic in start_state. Ignore kvm_proc errors, which are typically caused by permission problems. Instead, stop ignoring permission errors when removing a jail (but continue to silently ignore other errors, i.e. the jail no longer existing). This makes non-root attempts at removing a jail give a clearer error message. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-08T23:57:03.431146Z K 7 svn:log V 473 Given that sun4u uses sparc64/sparc64/ofw_machdep.c, use the sparc64 here also. This isn't exactly a clean approach though as ofw_machdep.h also includes some prototypes for functions that aren't actually shared between both architectures but just happen to have the same interface. Given that the sun4v support actually is dead and this is just to allow things to continue to compile it should be okay though. This is a direct commit to stable/8. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-09T00:16:12.867078Z K 7 svn:log V 1881 Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for mps_wait_command() calls in mps_user.c. 2. Make sure we call mps_detach_user() from the kldunload path. 3. Raid Hotplug behavior change. The driver now removes a volume when it goes to a failed state, so we also need to add volume back to the OS when it goes to opitimal/degraded/online from failed/missing. Handle raid volume add and remove from the IR_Volume event. 4. Added some more debugging information. 5. Replace xpt_async(AC_LOST_DEVICE, path, NULL) with mpssas_rescan_target(). This is to work around a panic in CAM that shows up when adding a drive with a rescan and removing another device from the driver thread with an AC_LOST_DEVICE async notification. This problem was encountered in testing with the LSI sas2ircu utility, which was used to create a RAID volume from physical disks. The driver has to create the RAID volume target and remove the physical disk targets, and triggered a panic in the process. The CAM issue needs to be fully diagnosed and fixed, but this works around the issue for now. 6. Fix some memory initialization issues in mps_free_command(). 7. Resolve the "devq freeze forever" issue. This was caused by the internal read capacity command issued in the non-head version of the driver. When the command completed with an error, the driver wasn't unfreezing thd device queue. The version in head uses the CAM infrastructure for getting the read capacity information, and therefore doesn't have the same issue. 8. Bump the version to 13.00.00.00-fbsd. (this is very close to LSI's internal stable driver 13.00.00.00) Submitted by: Kashyap Desai MFC after: 3 days END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-09T01:18:09.559563Z K 7 svn:log V 87 Merge from head to stable/7: r230656: msdos was renamed to msdosfs in 2001 by r77577. END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-09T01:18:23.153303Z K 7 svn:log V 87 Merge from head to stable/8: r230656: msdos was renamed to msdosfs in 2001 by r77577. END K 10 svn:author V 3 scf K 8 svn:date V 27 2012-02-09T01:18:35.118808Z K 7 svn:log V 87 Merge from head to stable/9: r230656: msdos was renamed to msdosfs in 2001 by r77577. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-09T04:37:30.976647Z K 7 svn:log V 536 Fix some Xr references: - ada(4): ad(4) - removed, ada(4) would be a self-referencing entry - cd(4): ad(4) -> ada(4) - da(4): ad(4) -> ada(4) - DEVICE_PROBE(9): ugen(5) -> ugen(4) - ed(4): dhclinet(8) -> dhclient(8) (typo) - lmc(4): Netgraph(4) -> netgraph(4) - security(7): rc.conf(8) -> rc.conf(5) - sfxge(4): cpuset(8) -> cpuset(1) - sbp(4): sysctl(1) -> sysctl(8) - portindex(5): build(1) -> build(7) - u3g(4): usbconfig(5) -> usbconfig(8) - usb_quirk(4): usbconfig(5) -> usbconfig(8) Found with: textproc/igor MFC after: 3 days END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-09T04:57:32.231180Z K 7 svn:log V 121 Add OMAP EHCI driver by Ben Gray with FDT compatibility layer coded by me Submitted by: Ben Gray END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-09T05:43:50.369889Z K 7 svn:log V 64 - Fix priority/target CPU setting code - Some minor style fixes END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T06:48:04.988181Z K 7 svn:log V 80 MFH r230307: fix SIGINFO-related data corruption bug Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T06:50:43.835560Z K 7 svn:log V 80 MFH r230307: fix SIGINFO-related data corruption bug Approved by: des (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T07:27:59.038137Z K 7 svn:log V 429 MRC r223626: Compare port numbers correctly. They are stored by SRCPORT() in host byte order, so we need to compare them as such. Properly compare IPv6 addresses as well. This allows the, by default, 8 badaddrs slots per address family to work correctly and only print sendto() errors once. The change is no longer applicable to any latest upstream versions. Approved by: roberto Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T07:28:17.448915Z K 7 svn:log V 432 MFC r223626: Compare port numbers correctly. They are stored by SRCPORT() in host byte order, so we need to compare them as such. Properly compare IPv6 addresses as well. This allows the, by default, 8 badaddrs slots per address family to work correctly and only print sendto() errors once. The change is no longer applicable to any latest upstream versions. Approved by: roberto Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-09T07:38:56.890554Z K 7 svn:log V 234 MFC r230912: Make CAM ATA honor old hw.ata.ata_dma and hw.ata.atapi_dma tunables. Even having more specific hint.ata.X.mode controls, global ones are still could be useful from some points, including compatibility. PR: kern/164651 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-09T07:40:13.885431Z K 7 svn:log V 245 MFC r230912: Make CAM ATA honor old hw.ata.ata_dma and hw.ata.atapi_dma tunables. Even having more specific hint.ata.X.mode controls, global ones are still could be useful from some points, including compatibility. PR: kern/164651 END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-09T07:43:38.388836Z K 7 svn:log V 332 MFC r230921: Insert ordered command every 1/4 of the current command timeout, not 1/4 of the default one. Without this change setting kern.cam.ada.default_timeout to 1 instead of 30 allowed me to trigger several false positive command timeouts under heavy ZFS load on a SiI3132 siis(4) controller with 5 HDDs on a port multiplier. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-09T07:45:02.466164Z K 7 svn:log V 332 MFC r230921: Insert ordered command every 1/4 of the current command timeout, not 1/4 of the default one. Without this change setting kern.cam.ada.default_timeout to 1 instead of 30 allowed me to trigger several false positive command timeouts under heavy ZFS load on a SiI3132 siis(4) controller with 5 HDDs on a port multiplier. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T07:52:44.023342Z K 7 svn:log V 1555 MFC r223667: In case ntp cannot resolve a hostname on startup it will queue the entry for resolving by a child process that, upon success, will add the entry to the config of the running running parent process. Unfortunately there are a couple of bugs with this, fixed in various later versions of upstream in potentially different ways due to other code changes: 1) Upon server [-46] the [-46] are used as FQDN for later resolving which does not work. Make sure we always pass the name (or IP there). 2) The intermediate file to carry the information to the child process does not know about -4/-6 restrictions, so that a dual-stacked host could resolve to an IPv6 address but that might be unreachable (see r223626) leading to no working synchronization ignoring a IPv4 record. Thus alter the intermediate format to also pass the address family (AF_UNSPEC (default), AF_INET or AF_INET6) to the child process depending on -4 or -6. 3) Make the child process to parse the new intermediate file format and save the address family for getaddrinfo() hints flags. 4) Change child to always reload resolv.conf calling res_init() before trying to resolve names. This will pick up resolv.conf changes or new resolv.confs should they have not existed or been empty or unusable on ntp startup. This fix is more conditional in upstream versions but given FreeBSD has res_init there is no need for the configure logic as well. Approved by: roberto Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T07:52:45.624246Z K 7 svn:log V 1555 MFC r223667: In case ntp cannot resolve a hostname on startup it will queue the entry for resolving by a child process that, upon success, will add the entry to the config of the running running parent process. Unfortunately there are a couple of bugs with this, fixed in various later versions of upstream in potentially different ways due to other code changes: 1) Upon server [-46] the [-46] are used as FQDN for later resolving which does not work. Make sure we always pass the name (or IP there). 2) The intermediate file to carry the information to the child process does not know about -4/-6 restrictions, so that a dual-stacked host could resolve to an IPv6 address but that might be unreachable (see r223626) leading to no working synchronization ignoring a IPv4 record. Thus alter the intermediate format to also pass the address family (AF_UNSPEC (default), AF_INET or AF_INET6) to the child process depending on -4 or -6. 3) Make the child process to parse the new intermediate file format and save the address family for getaddrinfo() hints flags. 4) Change child to always reload resolv.conf calling res_init() before trying to resolve names. This will pick up resolv.conf changes or new resolv.confs should they have not existed or been empty or unusable on ntp startup. This fix is more conditional in upstream versions but given FreeBSD has res_init there is no need for the configure logic as well. Approved by: roberto Sponsored by: Sandvine Incorporated END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-09T08:33:04.231559Z K 7 svn:log V 15 Mention run(4) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T08:41:56.379592Z K 7 svn:log V 89 MFC r223739: Remove extra white space to comply with style for the rest of the struct. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T09:01:03.132097Z K 7 svn:log V 215 MF8 r224326: Flush output buffers before closing TCP session. Fixes the case where the proxy would eat the 221 response coming from the server towards the client. Obtained from: OpenBSD r1.18 PR: bin/154469 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T09:20:34.415029Z K 7 svn:log V 100 MFH r226502,r226503: factor out the common code and fix two display bugs Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T09:20:50.170045Z K 7 svn:log V 100 MFH r226502,r226503: factor out the common code and fix two display bugs Approved by: des (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T09:23:37.211049Z K 7 svn:log V 120 MFC r224011: Fix indentation. Obtained from: Ed Maste at Sandvine Incorporated Sponsored by: Sandvine Incorporated END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T09:24:33.027367Z K 7 svn:log V 86 MFH r226504: Make ktrace(1) build cleanly at WARNS level 6 Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T09:24:52.702076Z K 7 svn:log V 86 MFH r226504: Make ktrace(1) build cleanly at WARNS level 6 Approved by: des (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-09T10:09:12.938764Z K 7 svn:log V 428 Introduce the "ruleset=number" option for devfs(5) mounts. Add support for updating the devfs mount (currently only changing the ruleset number is supported). Check mnt_optnew with vfs_filteropt(9). This new option sets the specified ruleset number as the active ruleset of the new devfs mount and applies all its rules at mount time. If the specified ruleset doesn't exist, a new empty ruleset is created. MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-09T10:20:41.769340Z K 7 svn:log V 175 Add support for RICOH R5CE823 card reader, that can be found in some Lenovo laptops. The conroller needs a quirk to lower its frequency, and after that it operates normally. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-09T10:22:08.532302Z K 7 svn:log V 467 Add support for mounting devfs inside jails. A new jail(8) option "devfs_ruleset" defines the ruleset enforcement for mounting devfs inside jails. A value of -1 disables mounting devfs in jails, a value of zero means no restrictions. Nested jails can only have mounting devfs disabled or inherit parent's enforcement as jails are not allowed to view or manipulate devfs(8) rules. Utilizes new functions introduced in r231265. Reviewed by: jamie MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-09T10:30:45.441802Z K 7 svn:log V 185 MFC r230341: Use shared lock for the executable vnode in the exec path after the VV_TEXT changes are handled. Assert that vnode is exclusively locked at the places that modify VV_TEXT. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-09T10:39:01.754638Z K 7 svn:log V 100 Allow mounting nullfs(5) inside jails. This is now possible thanks to r230129. MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-09T10:56:05.334042Z K 7 svn:log V 196 Update libarchive's dist to latest changes in release branch Git branch: release Git commit: c477edc817b4382a1d0b2ff8c7b619af13bd349e Obtained from: https://github.com/libarchive/libarchive.git END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T13:23:33.066750Z K 7 svn:log V 68 MFH r227531: Add netcat (nc) to /rescue. Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T13:23:44.725935Z K 7 svn:log V 68 MFH r227531: Add netcat (nc) to /rescue. Approved by: des (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-09T14:00:49.727559Z K 7 svn:log V 121 - Disable the olpt driver. Because it conflicts with the ppc/lpt driver. - Remove obsolete comment. MFC after: 3 days END K 10 svn:author V 7 matthew K 8 svn:date V 27 2012-02-09T14:13:56.468238Z K 7 svn:log V 59 Add myself as a new committer Approved by: shaun (mentor) END K 10 svn:author V 7 matthew K 8 svn:date V 27 2012-02-09T14:15:20.353920Z K 7 svn:log V 62 Adding myself as a new committer Approved by: shaun (mentor) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-02-09T14:15:56.883534Z K 7 svn:log V 115 Remove full debugger options and enable KDB_TRACE option instead to decrease kernel size and increase performance. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T14:16:00.981656Z K 7 svn:log V 136 MFH r226345, r226464, r226879: Make dhclient use a pid file. Modify the rc script accordingly, fix some bugs Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T14:16:40.160649Z K 7 svn:log V 136 MFH r226345, r226464, r226879: Make dhclient use a pid file. Modify the rc script accordingly, fix some bugs Approved by: des (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T15:21:54.790849Z K 7 svn:log V 119 MFC r226396: Fix whitespace inconsistencies in systat(1). According to md5(1), the resulting binary is the same. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T15:23:39.011992Z K 7 svn:log V 130 MFC r226424: Use integer to store the result of getch(). We need to use an integer to make the comparison against ERR work. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T15:26:47.755533Z K 7 svn:log V 215 MFC r229385 Fix subtle typo: compare against idx -- not index. In this context, index refers to the index(3) function. In this case it doesn't really harm, as this function is never called with idx == NULL. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T15:28:28.540893Z K 7 svn:log V 410 MFC r229590 manually: It turns out our GCC has quite an interesting bug: typeof(1.0fi) != float _Complex typeof((float _Complex)1.0fi) != float _Complex typeof((float _Complex)1.0i) == float _Complex In other words: if casting to an equal size, GCC seems to take a shortcut. By casting down from a double to a float, GCC doesn't take this shortcut, yielding the proper type. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-02-09T15:36:54.254559Z K 7 svn:log V 240 Please welcome Damjan Marion to the zoo. Damjan has been working on omap and tegra support, as well as various bits in the cpu-independant arm stuff, for too long, and certainly deserves to be punished with a commit bit. Approved by: core END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T16:11:57.887317Z K 7 svn:log V 64 MFC r229127: Remove a declaration to a non-existent function. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T16:12:12.018368Z K 7 svn:log V 64 MFC r229127: Remove a declaration to a non-existent function. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T16:12:25.334635Z K 7 svn:log V 64 MFC r229127: Remove a declaration to a non-existent function. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:53:51.274939Z K 7 svn:log V 90 MFH r226506: Look for /boot/config in addition to /boot.config Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:54:06.573910Z K 7 svn:log V 90 MFH r226506: Look for /boot/config in addition to /boot.config Approved by: des (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T16:55:20.292935Z K 7 svn:log V 631 MFC r228474: Add support for __COUNTER__. __COUNTER__ allows one to obtain incrementing (read: unique) numbers from the C preprocesor. This is useful when implementing things like a robust implementation of CTASSERT(), which currently fails when using it more than once on a single line of code. Probably not likely to cause any breakage, but still. __COUNTER__ was also added to GCC 4.3, but since that implementation is GPLv3 licensed, I took the liberty of implementing it without looking at any upstream sources. Therefore, this version is licensed under the same license as the rest of the code; GPLv2. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:55:41.911453Z K 7 svn:log V 89 MFH r226166: Document some not-so-recently added trace points Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:55:50.209079Z K 7 svn:log V 89 MFH r226166: Document some not-so-recently added trace points Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:57:21.744708Z K 7 svn:log V 60 MFH r226119: Mention tdsignal(9) Approved by: des (mentor) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-02-09T16:57:34.122847Z K 7 svn:log V 60 MFH r226119: Mention tdsignal(9) Approved by: des (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-09T16:58:06.218205Z K 7 svn:log V 200 MFC r230330: Remove remnants of dev_t. These functions take a `struct cdev *' -- not a dev_t. Inside the kernel, dev_t has the same use as in userspace, namely to store a device identifier. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-02-09T17:38:08.515174Z K 7 svn:log V 73 Refine r231226. Swap timecounters before suspending any device drivers. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-09T17:50:24.381609Z K 7 svn:log V 230 Remove explicit CC assignment in isci(4) Makefile to allow for building with clang. Also fix a number of warnings uncovered when building with clang around some implicit enum conversions. Sponsored by: Intel Approved by: scottl END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-09T19:13:36.528236Z K 7 svn:log V 271 Update libarchive's vendor dist to latest changes in release branch. Now all the gcc warnings I have reported upstream should be fixed. Git branch: release Git commit: 01580b4298a946fb31e822a083bf49e9f37809ac Obtained from: https://github.com/libarchive/libarchive.git END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-09T20:44:20.908992Z K 7 svn:log V 134 Make etc/Makefile more conflict resistant PR: conf/163789 Submitted by: gcooper (iXsystems) Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-09T20:49:03.103351Z K 7 svn:log V 165 More accurately document what happens on error. PR: docs/127908 Submitted by: Matthew D. Fuller Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-09T20:51:03.429484Z K 7 svn:log V 210 Permit the use of relative paths for the prefix argument. Remove an unnecessary cwd from created plists when -p is specified PR: bin/145000 Submitted by: gcooper Approved by: portmgr (flo) MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T20:54:04.765373Z K 7 svn:log V 149 MFC r229276: Remove an uneeded inpcb forward declaration and align the function declaration following to match the style in the rest of the file. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T20:54:14.660433Z K 7 svn:log V 149 MFC r229276: Remove an uneeded inpcb forward declaration and align the function declaration following to match the style in the rest of the file. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T20:54:25.323696Z K 7 svn:log V 149 MFC r229276: Remove an uneeded inpcb forward declaration and align the function declaration following to match the style in the rest of the file. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T20:57:25.619413Z K 7 svn:log V 112 MFC r229795: Correct comment for the IPv6 case to say "traffic class" not "TOS" as pointed out back in 2009. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T20:57:36.555969Z K 7 svn:log V 112 MFC r229795: Correct comment for the IPv6 case to say "traffic class" not "TOS" as pointed out back in 2009. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-09T21:06:47.252993Z K 7 svn:log V 272 Fix NULL ptr dereference in setusercontext if pwd is null, LOGIN_SETPRIORITY is set, and setting the priority (rtprio or setpriority) fails. PR: kern/164238 Submitted by: Alexander Wittig Reviewed by: des Approved by: cperciva MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T21:33:36.299233Z K 7 svn:log V 67 MFC r229546: Convert an #ifdef DIAGNOSTIC if/panic to a KASSERT. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T21:33:44.732919Z K 7 svn:log V 67 MFC r229546: Convert an #ifdef DIAGNOSTIC if/panic to a KASSERT. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T22:01:59.738962Z K 7 svn:log V 67 MFC r229546: Convert an #ifdef DIAGNOSTIC if/panic to a KASSERT. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-09T22:05:51.108501Z K 7 svn:log V 150 MFC r231074: Fix a typo which was already fixed by eadler in r227489. We missed to integrate this fix in our code base, so it was removed in r227755. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T22:13:20.904715Z K 7 svn:log V 67 Fix no-IPv6 kernels after r231207. Reported by: someone via luigi END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-09T22:17:13.876883Z K 7 svn:log V 433 - Emulate RDHWR instruction for TLS support Reading register $29 with RDHWR is becoming the de-facto standard to implement TLS. According to linux-mips wiki, MIPS Technologies has reserved hardware register $29 for ABI use. Furthermore current GCC makes the following assumptions: - RDHWR is natively available or otherwise emulated by the kernel - Register $29 holds the TLS pointer Submitted by: Robert Millan END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-02-09T22:34:16.547539Z K 7 svn:log V 711 Historically when an application wrote an entire block of a file, the kernel allocated a buffer but did not zero it as it was about to be completely filled by a uiomove() from the user's buffer. However, if the uiomove() failed, the old contents of the buffer could be exposed especially if the file was being mmap'ed. The fix was to always zero the buffer when it was allocated. 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. Reviewed by: kib Tested by: scottl MFC after: 2 weeks (to 9 only) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-09T22:48:35.225102Z K 7 svn:log V 23 Fix n32 build breakage END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T22:54:07.428669Z K 7 svn:log V 82 MFC r230387: Remove a superfluous INET6 check (no opt_inet6.h included anyway). END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-09T22:54:16.589335Z K 7 svn:log V 82 MFC r230387: Remove a superfluous INET6 check (no opt_inet6.h included anyway). END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-09T23:19:09.051762Z K 7 svn:log V 217 Add IPv6 TSO (including TSO+VLAN) support to cxgb(4). If an IPv6 packet has extension headers the kernel needs to deal with it itself. For the rest it can set various CSUM_XXX flags and the driver will act on them. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:01:50.896910Z K 7 svn:log V 46 MFC r230494: Remove unnecessary line break. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:02:03.981001Z K 7 svn:log V 46 MFC r230494: Remove unnecessary line break. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-10T00:02:13.507307Z K 7 svn:log V 197 Mark the automatically attached child with PL_FLAG_CHILD in struct lwpinfo flags, for PT_FOLLOWFORK auto-attachment. In collaboration with: Dmitry Mikulin MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T00:08:53.559010Z K 7 svn:log V 105 MFC r228344: - Add support for Support SEAGATE DAT Scopion 130 PR: kern/141934 Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T00:09:21.208466Z K 7 svn:log V 105 MFC r228344: - Add support for Support SEAGATE DAT Scopion 130 PR: kern/141934 Approved by: cperciva END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T00:10:13.823369Z K 7 svn:log V 105 MFC r228344: - Add support for Support SEAGATE DAT Scopion 130 PR: kern/141934 Approved by: cperciva END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:24:39.361380Z K 7 svn:log V 117 MFC r230506: Plug a possible ifa_ref leak in case of premature return from in6_purgeaddr(). Reviewed by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:24:41.414136Z K 7 svn:log V 117 MFC r230506: Plug a possible ifa_ref leak in case of premature return from in6_purgeaddr(). Reviewed by: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:51:23.075391Z K 7 svn:log V 155 MFC r230510: Replace random ARIN direct assignment legacy IPs with proper RFC 5735 TEST-NET1 block for use in documentation and example code addresses. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T00:51:32.615590Z K 7 svn:log V 155 MFC r230510: Replace random ARIN direct assignment legacy IPs with proper RFC 5735 TEST-NET1 block for use in documentation and example code addresses. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T00:53:39.345236Z K 7 svn:log V 168 Fix r231300: Use correct test so we only bail out on error instead of on non-error. Also, fix a style bug. Submitted by: ache Approved by: cperciva MFC after: 1 month END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T03:30:57.007965Z K 7 svn:log V 39 Fix debug output for MIPS part of rtld END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-10T03:32:29.358011Z K 7 svn:log V 618 MFC: r230605 A problem with respect to data read through the buffer cache for both NFS clients was reported to freebsd-fs@ under the subject "NFS corruption in recent HEAD" on Nov. 26, 2011. This problem occurred when a TCP mounted root fs was changed to using UDP. I believe that this problem was caused by the change in mnt_stat.f_iosize that occurred because rsize was decreased to the maximum supported by UDP. This patch fixes the problem by using v_bufobj.bo_bsize instead of f_iosize, since the latter is set to f_iosize when the vnode is allocated, but does not change for a given vnode when f_iosize changes. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-02-10T03:34:32.603673Z K 7 svn:log V 73 Fix date from r231111. Pointy-hat to: gjb (myself, approver of r231111) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-10T04:01:17.990184Z K 7 svn:log V 618 MFC: r230605 A problem with respect to data read through the buffer cache for both NFS clients was reported to freebsd-fs@ under the subject "NFS corruption in recent HEAD" on Nov. 26, 2011. This problem occurred when a TCP mounted root fs was changed to using UDP. I believe that this problem was caused by the change in mnt_stat.f_iosize that occurred because rsize was decreased to the maximum supported by UDP. This patch fixes the problem by using v_bufobj.bo_bsize instead of f_iosize, since the latter is set to f_iosize when the vnode is allocated, but does not change for a given vnode when f_iosize changes. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T04:08:22.095121Z K 7 svn:log V 51 MFC r231111, r231331 PR: 159551 Approved by: gjb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T04:10:13.069413Z K 7 svn:log V 113 MFC r231111, r231331: ports(7) currently makes no mention of LOCALBASE: fix that PR: 159551 Approved by: gjb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-02-10T04:11:04.525775Z K 7 svn:log V 113 MFC r231111, r231331: ports(7) currently makes no mention of LOCALBASE: fix that PR: 159551 Approved by: gjb END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-02-10T05:05:42.035351Z K 7 svn:log V 427 Implement -print-file-name=include (which is undocumented but used by some Linux boot loaders). This option prints out the directory holding the include files needed by a freestanding program. The default implementation of this doesn't work on FreeBSD because of the different include file layout. But it's easy to implement: just return /usr/include (or the cross-compiling equivalent). Reviewed by: kan MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:02:21.028275Z K 7 svn:log V 217 MFC r224202: Constantly print the command name and if set include the thread name in per-thread mode. Discussed with: jhb Obtained from: Ed Maste at Sandvine Incorporated Sponsored by: Sandvine Incorporated END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:06:25.233421Z K 7 svn:log V 52 MFC r223259: Correct a typo in the function name. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:06:30.435986Z K 7 svn:log V 52 MFC r223259: Correct a typo in the function name. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:12:48.157609Z K 7 svn:log V 214 MFC r223334: Leave an extra comment about flowtable and IPv6 support rectifying a previous comment (r206024 in stable/8) to not forget things here in the future as well and merge the changes without conflicts. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-10T06:30:52.957375Z K 7 svn:log V 57 Add a missing break. This bug was introduced in r228856. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T06:34:21.527218Z K 7 svn:log V 401 MFC r228061: The size of APM could be bigger than number of already allocated entries. And the first usable sector should not start from the inside of APM area. MFC r228076: Add an ability to increase number of allocated APM entries when we have reserved free space in the APM area. Also instead of one write request per each APM entry, use MAXPHYS sized writes when we are updating APM. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T06:35:14.587603Z K 7 svn:log V 401 MFC r228061: The size of APM could be bigger than number of already allocated entries. And the first usable sector should not start from the inside of APM area. MFC r228076: Add an ability to increase number of allocated APM entries when we have reserved free space in the APM area. Also instead of one write request per each APM entry, use MAXPHYS sized writes when we are updating APM. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T06:38:03.404195Z K 7 svn:log V 139 MFC r230861: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T06:38:57.692560Z K 7 svn:log V 139 MFC r230861: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:42:00.992204Z K 7 svn:log V 335 MFC r223735: Add infrastructure to allow all frames/packets received on an interface to be assigned to a non-default FIB instance. Submitted by: cjsp Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) (original versions) Reviewed by: julian Reviewed by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: melifaro END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T06:42:50.573383Z K 7 svn:log V 44 Switch MIPS TLS implementation to Variant I END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-10T06:43:16.899914Z K 7 svn:log V 354 MFC r223735: Add infrastructure to allow all frames/packets received on an interface to be assigned to a non-default FIB instance. Submitted by: cjsp Submitted by: Alexander V. Chernikov (melifaro ipfw.ru) (original versions) Reviewed by: julian Reviewed by: Alexander V. Chernikov (melifaro ipfw.ru) Reviewed by: melifaro END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-10T06:44:30.858022Z K 7 svn:log V 88 Let's be more realistic and limit maximum number of partition to 4k. MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T06:53:25.823241Z K 7 svn:log V 134 Switch MIPS TLS implementation to Variant I: Save pointer to the TLS structure taking into account TP_OFFSET and TCB structure size. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-10T07:03:45.632349Z K 7 svn:log V 105 Fix-up value passed by thr_new syscall to make it compatible with MIPS_TLS_GET/MIPS_TLS_SET sysarch API. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:19:36.701889Z K 7 svn:log V 135 MFC r216669: Improve plausibility check in sctp_handle_sack(). Allow cmt_on_off to support values 0 (no CMT), 1 (CMT), and 2 (CMT/RP). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:21:29.450048Z K 7 svn:log V 111 MFC r216672: Provide a possibility to configure the inital congestion window to the value defined in RFC 4960. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:23:42.175479Z K 7 svn:log V 123 MFC r216821: Fix three bugs related to the sequence number wrap-around affecting the processing of ECNE and ASCONF chunks. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:26:45.439189Z K 7 svn:log V 153 MFC r216822: Code cleanup: Use LIST_FOREACH, LIST_FOREACH_SAFE, TAILQ_FOREACH, TAILQ_FOREACH_SAFE where appropriate. No functional change. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:28:37.965647Z K 7 svn:log V 166 MFC 216825: Define and use SCTP_SSN_GE, SCTP_SSN_GT, SCTP_TSN_GE, SCTP_TSN_GT macros and use them instead of the generic compare_with_wrap. Retire compare_with_wrap. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:30:15.154088Z K 7 svn:log V 25 MFC r216878: Fix a typo. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:31:50.205987Z K 7 svn:log V 113 MFC r216887: Bugfix: Make sure that the COMM_UP notificatin is delivered first also on the passive side. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:42:38.524497Z K 7 svn:log V 128 MFC r215817: Adds new dtrace for cwnd functions and lay's groundwork for future dtrace points (rwnd flightsize etc). From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:44:03.642032Z K 7 svn:log V 139 MFC r217469: Add support for resource pooling to CMT. An original version of the patch was developed by Martin Becke and Thomas Dreibholz. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:47:34.020079Z K 7 svn:log V 53 MFC r217611: Cleanup the management of CC functions. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:49:57.379202Z K 7 svn:log V 131 MFC r217635: Fix it so we align with new socket API draft for state's in destination (i.e. ACTIVE/INACTIVE/UNCONFIRMED) From rrs@. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:51:28.458302Z K 7 svn:log V 31 MFC r217638: Improve comments. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-10T07:52:51.603374Z K 7 svn:log V 54 MFC r217742: Remove unnecessary checking of variable. END