ƒ²189187 185 94 94 94 94 94 94 186 224 686 268 147 155 166 181 168 246 252 813 198 337 138 115 173 143 169 144 120 169 121 505 123 118 152 165 887 409 586 1276 401 559 300 374 597 531 153 274 105 163 259 348 322 147 152 150 159 147 187 204 415 224 443 203 163 193 128 110 177 111 1272 615 137 346 348 98 127 177 130 152 191 136 319 221 109 109 254 110 255 129 271 171 1260 133 1366 330 294 301 601 128 631 181 477 420 403 686 329 260 163 216 284 312 150 131 425 205 155 407 417 121 164 2181 284 204 255 284 463 284 233 181 787 128 216 133 137 657 115 96 109 164 304 623 210 141 240 177 241 463 403 122 110 143 150 132 121 148 159 1693 240 143 255 330 262 158 246 207 347 135 134 131 136 351 351 125 811 208 122 511 318 282 222 131 448 206 319 298 472 K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T17:58:53.044008Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T17:59:02.924142Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T17:59:29.638306Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T17:59:41.310653Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T18:00:53.850747Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 jb K 8 svn:date V 27 2009-02-28T18:03:28.087785Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-02-28T19:09:36.750899Z K 7 svn:log V 94 Welcome Dmitry Chagin. He plan to mostly work on linuxolator at the start. Approved by: core END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-28T19:10:43.392917Z K 7 svn:log V 127 Move the NORELEASE check to after the recurse count decrement and bailout, this is not counted as actually releasing the lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-02-28T22:07:15.061562Z K 7 svn:log V 593 Revert my ata_identify()/ata_reinit() related changes: r189166, r189091 and partially r188903. Revert breaks new drives detection on reinit to the state as it was before me, but fixes series of new bugs reported by some people. Unconditional queueing of ata_completed() calls can lead to deadlock if due to timeout ata_reinit() was called at the same thread by previous ata_completed(). Calling of ata_identify() on ata_reinit() in current implementation opens numerous races and deadlocks. Problems I was touching here are still exist and should be addresed, but probably in different way. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-02-28T22:58:52.571679Z K 7 svn:log V 171 Remove unreachable code for generating RST segments from tcp_twcheck(); this code became stale when T/TCP support was removed. Discussed with: bz, sam MFC after: 1 month END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-01T01:27:58.197568Z K 7 svn:log V 51 Add taskqueue events for promisc and mcast update. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T03:07:07.174959Z K 7 svn:log V 61 create branch for releng 7 backport of HEAD_fast_net changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T03:32:28.028962Z K 7 svn:log V 72 IFC HEAD_fast_net 186573: cache rtentry in inpcb for connected sockets END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T04:39:56.538529Z K 7 svn:log V 87 multiq step 1: - atomic_barriers: add atomic barriers to atomic.h on all architectures END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T04:43:30.377363Z K 7 svn:log V 74 multiq step 2: - buf_ring: add 'buf_ring', a generic lockless ring-buffer END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T04:45:37.624412Z K 7 svn:log V 151 multiq step 3: - if_transmit: add if_transmit and if_qflush to struct ifnet to give high performance drivers the option of managing their own queues END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T04:49:42.120177Z K 7 svn:log V 157 multiq step 4: enable if_transmit: adds if_transmit and if_qflush to struct ifnet to give high performance drivers the option of managing their own queues END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-01T04:57:23.923691Z K 7 svn:log V 720 In sys/tree.h: * Add RB_FOREACH_FROM() which continues traversal *at* the y-node provided. There is no pre-increment. * Nuke RB_FOREACH_SAFE as it was buggy; it would omit the final node. * Replace RB_FOREACH_SAFE() with a working implementation derived from RB_FOREACH_FROM(). The key observation is that we now only check the loop-control variable, but still cache the next member pointer. * Add RB_FOREACH_REVERSE_FROM() which continues backwards traversal *at* the y-node provided. There is no pre-increment. Typically this is used to back out of allocations made whilst walking an RB-tree. * Add RB_FOREACH_REVERSE_SAFE() which performs insertion and deletion safe backwards traversal. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T04:59:54.334678Z K 7 svn:log V 103 - fix accidental removal of inp_cred in 186573 - remove duplicate creation of subr_bufring.c in 189199 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-01T05:09:34.214571Z K 7 svn:log V 242 multiq step 5: flowid: allow TCP to track driver furnished flow identifier and pass it down to the driver in ip_output to give the driver the option of identifying flows to provide connection ordering while using multiple transmit queues END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-01T05:44:28.059873Z K 7 svn:log V 42 "-isoC-99" should be spelled without 'c'. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-01T05:47:14.125215Z K 7 svn:log V 19 Add a missing .El. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-01T06:27:03.613064Z K 7 svn:log V 81 Fix a typo in the previous commit. Submitted by: Mel END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T06:46:39.627894Z K 7 svn:log V 48 Merge r186891: Retry TEST UNIT READY if needed. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T06:57:25.474799Z K 7 svn:log V 74 Merge 188570: Fix tag negotiation for pseudo-scsi devices and subsystems. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:00:52.064344Z K 7 svn:log V 49 Merge 188670: Instrument the probe state machine END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:02:16.586061Z K 7 svn:log V 25 Merge 188688: GCC bogon. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:03:35.290273Z K 7 svn:log V 74 Merge 188671: Fix negotiation for imperfect SCSI and pseudo-SCSI devices. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:06:44.475945Z K 7 svn:log V 26 Merge 186396: Fix comment END K 10 svn:author V 5 rafan K 8 svn:date V 27 2009-03-01T07:08:46.094522Z K 7 svn:log V 410 - Remove kH (kp_kll) from screen. It has the identical key sequence as @7 (kp_end). As ncurses has the limitation that it returns the first matched key symbol, you can not use END in ncurses based program under screen (like ports/misc/mc). We did similar changes to xterm entry last year for exactly the same reason. PR: 132199 Submitted by: Timur I. Bakeyev MFC after: 2 month END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:16:50.886369Z K 7 svn:log V 28 Fix mergeinfo for cam_xpt.c END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:22:46.602332Z K 7 svn:log V 23 Merge 176204: Fix typo END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T07:24:26.578436Z K 7 svn:log V 57 Merge 188395: Fix "invalid periph name" error condition. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T08:01:38.165949Z K 7 svn:log V 73 use ansi prototypes Submitted by: Pawel Worach END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-01T09:35:41.014330Z K 7 svn:log V 795 Add the new compile-time assertion macro CTASSERT_EQUAL(). It takes a positive integer constant (the expected value) and another positive integer, usually compile-time evaluated, e.g. CTASSERT_EQUAL(FOO_EXPECTED_SIZE, sizeof (struct foo)); While the classic CTASSERT() gives: error: size of array '__assert60' is negative this gives you: In function '__ctassert_equal_at_line_60': warning: '__expected_42_but_got[464ul]' is used uninitialized in this function and you can directly see the difference in the expected and the real value. CTASSERT_EQUAL() needs special compile time options to trigger thus keep it locally to this header. If it proves to be of general interest it can be moved to systm.h. Submitted by: jmallett Reviewed by: sam, warner, rwatson, jmallett (earlier versions) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-01T09:50:13.426023Z K 7 svn:log V 317 Improve my previous changes to the TTY code: also remove memcpy(). It's better to just use internal language constructs, because it is likely the compiler has a better opinion on whether to perform inlining, which is very likely to happen to struct winsize. Submitted by: Christoph Mallon END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-01T09:51:50.606624Z K 7 svn:log V 494 Add the infrastructure and expected sizeof() values for each supported architecture to implement size-guards on the vimage vnet_* structures. As CTASSERT_EQUAL() needs special compile time options we back it by CTASSERT() in the default case. Unfortunately CTASSERT() triggers first, thus add an option to allow compilation with CTASSERT_EQUAL() only. See the comments how to get new values if you trigger the assert and what to do in that case. Reviewed by: rwatson, zec (earlier versions) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T10:51:34.145712Z K 7 svn:log V 1180 MFC r174937 by imp. Reviewed by: imp Approved by: rwatson (mentor) Original commit log: A partial solution to some of the 'pull the umass device with a mounted FS' problems. These are more along the lines of 'avoiding an avoidable panic' than a complete solution to removable devices. We now close the barn door after the horse has gotten lose and has been hit by a truck, as it were. The barn no longer catches fire in this case, but the horse is still dead :-). The vfs_bio.c fix causes us not to put a failed write back into the dirty pool if the error returned was ENXIO. In that case, the buffer is treated like any other clean buffer that's being retured. ENXIO means the device isn't there anymore and will never be there again in the future, so retrying is futile. The vfs_mount.c fix treats 'ENXIO' as success for unmounting a file system. If the device is gone, retrying later won't help and we'll never be able to unmount the device. These two are part of a larger patch set submitted by the author. The other patches will be forth coming. I added comments to these two patches. Submitted by: Henrik Gulbrandsen Reviewed by: phk@ PR: usb/46176 (partial) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-01T11:01:00.989193Z K 7 svn:log V 309 Add size-guards evaluated at compile-time to the main struct vnet_* which are not in a module of their own like gif. Single kernel compiles and universe will fail if the size of the struct changes. Th expected values are given in sys/vimage.h. See the comments where how to handle this. Requested by: peter END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T11:02:37.533001Z K 7 svn:log V 464 MFC r186194: According to phk@, VOP_STRATEGY should never, _ever_, return anything other than 0. Make it so. This fixes "panic: VOP_STRATEGY failed bp=0xc320dd90 vp=0xc3b9f648", encountered when writing to an orphaned filesystem. Reason for the panic was the following assert: KASSERT(i == 0, ("VOP_STRATEGY failed bp=%p vp=%p", bp, bp->b_vp)); at vfs_bio:bufstrategy(). Reviewed by: scottl, phk Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T11:11:14.883189Z K 7 svn:log V 205 MFC r186911: Don't panic with "vinvalbuf: dirty bufs" when the mounted device that was being written to goes away. Reviewed by: kib, scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T11:17:38.843786Z K 7 svn:log V 279 MFC r187199: Turn a "panic: non-decreasing id" into an error printf. This seems to be caused by a metadata corruption that occurs quite often after unplugging a pendrive during write activity. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T11:20:35.698147Z K 7 svn:log V 502 MFC r188240: When a device containing mounted UFS filesystem disappears, the type of devvp becomes VBAD, which UFS incorrectly interprets as snapshot vnode, which in turns causes panic. Fix it by replacing '!= VCHR' with '== VREG'. With this fix in place, you should no longer be able to panic the system by removing a device with an UFS filesystem mounted from it - assuming you don't use softupdates. Reviewed by: kib Tested by: pho Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-01T12:42:54.529052Z K 7 svn:log V 434 Do a bit of struct ifnet cleanup in preparation for 8.0: group function pointers together, move padding to the bottom of the structure, and add two new integer spares due to attrition over time. Remove unused spare "flags" field, we can use one of the spare ints if we need it later. This change requires a rebuild of device driver modules that depend on the layout of ifnet for binary compatibility reasons. Discussed with: kmacy END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-01T12:44:33.537677Z K 7 svn:log V 57 Note that network device driver modules need rebuilding. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-01T14:26:24.000865Z K 7 svn:log V 177 Fix range-check error introduced in r182292. Also do not do anything if all processors in the map are not available, simply return. Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 sos K 8 svn:date V 27 2009-03-01T14:44:03.608514Z K 7 svn:log V 13 Remove self. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-01T14:51:07.420598Z K 7 svn:log V 69 remove duplicate entries for isa and npx, they are in by default now END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-01T14:57:33.583217Z K 7 svn:log V 164 document the possibility of hardwiring kenv/getenv values; remove duplicate isa and npx entries; remove DEVICE_POLLING add tap, bpf devices; add re and nfe drivers END K 10 svn:author V 5 trasz K 8 svn:date V 27 2009-03-01T15:01:00.805579Z K 7 svn:log V 253 MFC r187894. Note that r188501 should be merged too. Make sure the cdev doesn't go away while the filesystem is still mounted. Otherwise dev2udev() could return garbage. Reviewed by: kib Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-01T15:03:08.743153Z K 7 svn:log V 227 sync the build script with the version in -current. The most relevant changes are the building of libraries in the --init call, and the ability to use /boot/loader (on by default) which seems to be necessary for large kernels. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-01T15:08:33.332243Z K 7 svn:log V 56 As discussed with kib, take over rdivacky's mentorship. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:24:57.493972Z K 7 svn:log V 57 Merge 181381: Update SCSI opcodes and ASCs from t10.org. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:26:38.912899Z K 7 svn:log V 55 Merge 181791: SCSI_DELAY is specified in milliseconds. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:28:17.448481Z K 7 svn:log V 64 Merge 186371: Fix refcount locking in cd, pass, and sg periphs. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:31:35.558453Z K 7 svn:log V 52 Merge 182433: Fix locking mistake in the da driver. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:41:48.612784Z K 7 svn:log V 92 Merge 188844: Fix pseudo-scsi parameters so that more than one i/o can be queued at a time. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:43:45.823866Z K 7 svn:log V 108 Merge 188845: Fix pseudo-scsi parameters so that more than 2 commands will be queued to the device at once. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-01T16:47:49.543898Z K 7 svn:log V 322 Comment out enabling FIS Based Switching inside ata_ahci_issue_cmd() as it done in other places. Until we have no support for command queueing we have no any benefit from FBS, while enabling it only here somehow leads to "port not ready" errors on Intel 63XXESB2 controller. Tested by: Larry Rosenman END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T16:50:46.446276Z K 7 svn:log V 128 Merge 188840: Add DDF metadata support, found commonly on motherboards with Adaptec branding. For Entertainment Purposes Only! END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-01T17:44:31.056204Z K 7 svn:log V 351 Hide __restrict from lint, just like we do with other keywords. Unlike GCC, LLVM defines __STDC_VERSION__ to 199901L by default. This means `restrict' keywords in files end up being given to lint, which results in errors during compilation of usr.bin/xlint. Other keywords are also expanded to nothing when using lint, so do the same with restrict. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-01T18:57:59.625083Z K 7 svn:log V 110 Add verbage about needing to remap libusb-0.1 to libusb20 to get old programs to work with the new usb stack. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-01T19:25:40.208592Z K 7 svn:log V 71 Use C99-style initializers. No functional change. Reviewed by: md5(1) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T22:08:50.383146Z K 7 svn:log V 100 remove wpa_supplicant; it's about to be replaced by "wpa" which has wpa_supplicant+hostapd combined END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T22:10:07.663871Z K 7 svn:log V 36 import wpa_supplicant+hostapd 0.6.8 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T22:10:51.014544Z K 7 svn:log V 18 tag 0.6.8 release END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-03-01T22:37:34.599791Z K 7 svn:log V 82 Merge 186882: Implement kern.cam.cd.retry_count to aid with disk- recovery tools. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T22:40:15.685643Z K 7 svn:log V 19 remove unused bits END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-01T22:48:18.434894Z K 7 svn:log V 1174 Merge r187686 from head to stable/7: When a statically linked binary is executed (or at least, one without an interpreter definition in its program header), set the auxiliary ELF argument AT_BASE to 0 rather than to the address that we would have mapped the interpreter at if there had been one. The ELF ABI specifications appear to be ambiguous as to the desired behavior in this situation, as they define AT_BASE as the base address of the interpreter, but do not mention what to do if there is none. On Solaris, AT_BASE will be set to the base address of the static binary if there is no interpreter, and on Linux, AT_BASE is set to 0. We go with the Linux semantics as they are of more immediate utility and allow the early runtime environment to know that the kernel has not mapped an interpreter, but because AT_PHDR points at the ELF header for the running binary, it is still possible to retrieve all required mapping information when the process starts should it be required. Either approach would be preferable to our current behavior of passing a pointer to an unmapped region of user memory as AT_BASE. Sponsored by: Google END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-01T22:50:14.398920Z K 7 svn:log V 522 Give controller a chance to issue Soft Reset clear command before checking ready status. Most of controllers managed to issue coommand and set BUSY bit almost simultaneously, before we will read it, but at least JMicron JMB363 don't. Ignore timeout errors to keep old behavior when error there was impossible. For me this fixes timeout errors on the first command after channel attach or reinit. Boot in my case is not affected, as there is much time passing between reset and next command giving reset time to complete. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-01T22:52:41.092499Z K 7 svn:log V 45 add new combined wpa_supplicant+hostapd tree END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-01T23:17:51.115794Z K 7 svn:log V 249 Merge r188313 from head to stable/7: Change various routines that are responsible for transforming audit event IDs based on arguments to return au_event_t rather than int. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-01T23:32:27.166436Z K 7 svn:log V 251 Merge r188315 from head to stable/7: Set the lower bound on queue size for an audit pipe to 1 instead of 0, as an audit pipe with a queue length of 0 is less useful. Obtained from: TrustedBSD Project Sponsored by: Apple, Inc. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:22:49.407952Z K 7 svn:log V 7 remove END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:23:47.231302Z K 7 svn:log V 35 connect vendor wpa area to contrib END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:26:53.093196Z K 7 svn:log V 85 bring in local changes for: CONFIG_DEBUG_SYSLOG CONFIG_TERMINATE_ONLASTIF EAP_SERVER END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:28:22.023881Z K 7 svn:log V 38 update to 0.6.8 Reviewed by: thompsa END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:29:17.995501Z K 7 svn:log V 60 don't need these any more; we are now using a combined tree END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-02T02:44:10.977957Z K 7 svn:log V 95 Move the serial drivers from Giant to using their own mutexs. Tested with: u3g, ubser, uplcom END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T02:51:52.872214Z K 7 svn:log V 44 bring along mergeinfo Submitted by: mlaier END K 10 svn:author V 2 cy K 8 svn:date V 27 2009-03-02T03:08:46.326967Z K 7 svn:log V 227 Verify that the filesystem being referenced in fstab is indeed a UFS filesystem. This avoids confusion with nullfs and unionfs filesystems which reference the root of a UFS filesystem as a target. PR: 116849 Approved by: kib END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-02T04:07:58.110279Z K 7 svn:log V 128 The argument corresponding to %zn is supposed to be an ssize_t *, not a size_t *, although the distinction is moot in practice. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T04:10:40.847165Z K 7 svn:log V 17 update for 0.6.8 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T04:11:34.506568Z K 7 svn:log V 17 update for 0.6.8 END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-02T04:11:42.528070Z K 7 svn:log V 161 Rewrite asprintf() as a wrapper around vasprintf(), thus reducing the number of functions that have an incestuous relationship with the arcane innards of stdio. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T04:12:41.612996Z K 7 svn:log V 18 uupdate for 0.6.8 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-03-02T04:35:52.708010Z K 7 svn:log V 159 Write the MBR by using the bootcode verb of the gpart class. The "write MBR" verb is kept for backward compatibility, but the DIOCSMBR ioctl has been removed. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-02T05:07:05.177272Z K 7 svn:log V 37 add -b option to suppress the banner END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-02T05:37:05.997025Z K 7 svn:log V 174 Rename the ushub device class back to uhub as it was in the old usb stack, moused(8) looks for "uhub/ums" to decide if needs to load the module. Reported by: Garrett Cooper END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-02T05:46:25.791454Z K 7 svn:log V 75 Bump __FreeBSD_version for the ushub to uhub rename. Requested by: marcus END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-02T10:46:23.441813Z K 7 svn:log V 1162 Vendor import of OpenBSM 1.1 beta1, which incorporates the following changes since the last imported OpenBSM release: OpenBSM 1.1 beta 1 - The filesz parameter in audit_control(5) now accepts suffixes: 'B' for Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes. For legacy support no suffix defaults to bytes. - Audit trail log expiration support added. It is configured in audit_control(5) with the expire-after parameter. If there is no expire-after parameter in audit_control(5), the default, then the audit trail files are not expired and removed. See audit_control(5) for more information. - Change defaults in audit_control: warn at 5% rather than 20% free for audit partitions, rotate automatically at 2mb, and set the default policy to cnt,argv rather than cnt so that execve(2) arguments are captured if AUE_EXECVE events are audited. These may provide more usable defaults for many users. - Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert au_to_socket_ex(3) arguments to BSM format. - Fix error encoding AUT_IPC_PERM tokens. Obtained from: TrustedBSD Project Sponsored by: Apple Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-02T10:48:15.761960Z K 7 svn:log V 37 Tag OpenBSM 1.1-beta1 vendor import. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-02T13:29:18.220774Z K 7 svn:log V 1268 Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual merge). OpenBSM history for imported revision below for reference. MFC after: 1 month Sponsored by: Apple, Inc. Obtained from: TrustedBSD Project OpenBSM 1.1 beta 1 - The filesz parameter in audit_control(5) now accepts suffixes: 'B' for Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes. For legacy support no suffix defaults to bytes. - Audit trail log expiration support added. It is configured in audit_control(5) with the expire-after parameter. If there is no expire-after parameter in audit_control(5), the default, then the audit trail files are not expired and removed. See audit_control(5) for more information. - Change defaults in audit_control: warn at 5% rather than 20% free for audit partitions, rotate automatically at 2mb, and set the default policy to cnt,argv rather than cnt so that execve(2) arguments are captured if AUE_EXECVE events are audited. These may provide more usable defaults for many users. - Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert au_to_socket_ex(3) arguments to BSM format. - Fix error encoding AUT_IPC_PERM tokens. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-03-02T15:22:01.388788Z K 7 svn:log V 229 Some Apple I2C buses give the device's I2C address in a property with the name i2c-address instead of reg. Change the OFW I2C probe to check both locations for the address. Submitted by: Marco Trillo Reported by: Justin Hibbits END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-02T16:55:19.916256Z K 7 svn:log V 199 MFC: Remove remain <= MHLEN restriction in m_makespace(), which caused assert with big packets PR: kern/124609 Submitted by: fabien.thomas@netasq.com Approved by: gnn(mentor) Obtained from: NetBSD END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-02T18:43:50.295021Z K 7 svn:log V 208 Use the p_sysent->sv_flags flag SV_ILP32 to detect 32bit process executing on 64bit kernel. This eliminates the direct comparisions of p_sysent with &ia32_freebsd_sysvec, that were left intact after r185169. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-02T18:53:30.686988Z K 7 svn:log V 508 Correct types of variables used to track amount of allocated SysV shared memory from int to size_t. Implement a workaround for current ABI not allowing to properly save size for and report more then 2Gb sized segment of shared memory. This makes it possible to use > 2 Gb shared memory segments on 64bit architectures. Please note the new BUGS section in shmctl(2) and UPDATING note for limitations of this temporal solution. Reviewed by: csjp Tested by: Nikolay Dzham MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-02T19:00:31.455652Z K 7 svn:log V 36 Free Peter Holm from my mentorship. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-02T19:00:41.736008Z K 7 svn:log V 534 Disable INTx when enabling MSI/MSIX This addresses interrupt storms that were noticed after enabling MSI in drm. I think this is due to a loose interpretation of the PCI 2.3 spec, which states that a function using MSI is prohibitted from using INTx. It appears that some vendors interpretted that to mean that they should handle it in hardware, while others felt it was the drivers responsibility. This fix will also likely resolve interrupt storm related issues with devices other than drm. Reviewed by: jhb@ MFC after: 3 days END K 10 svn:author V 4 csjp K 8 svn:date V 27 2009-03-02T19:42:01.256771Z K 7 svn:log V 88 Switch the default buffer mode in bpf(4) to zero-copy buffers. Discussed with: rwatson END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-03-02T20:51:39.146784Z K 7 svn:log V 384 Change vfs_busy to wait until an outcome of pending unmount operation is known and to retry or fail accordingly to that outcome. This fixes the problem with namespace traversing programs failing with random ENOENT errors if someone just happened to try to unmount that same filesystem at the same time. Reported by: dhw Reviewed by: kib, attilio Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-02T22:11:48.853826Z K 7 svn:log V 325 fw_debug has been unused for ages, so remove it from the list of sysctl_variables. I would also remove it from the VNET record but I am unsure if there is any ABI issue -- so for the time being just mark it as unused in ip_fw.h, and then we will collect the garbage at some appropriate time in the future. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-02T22:16:50.512007Z K 7 svn:log V 308 curr_time is a 64 bit variable so SYSCTL_LONG is not appropriate as a handler. The variable was exported only for debugging, but there is little reason to do it now that the timekeeping is supported by various other variables. For the time being just comment out the sysctl, but I think this should go away. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-02T23:26:30.936805Z K 7 svn:log V 591 Extend the "vfsopt" mount options for more general use. Make struct vfsopt and the vfs_buildopts function public, and add some new fields to struct vfsopt (pos and seen), and new functions vfs_getopt_pos and vfs_opterror. Further extend the interface to allow reading options from the kernel in addition to sending them to the kernel, with vfs_setopt and related functions. While this allows the "name=value" option interface to be used for more than just FS mounts (planned use is for jails), it retains the current "vfsopt" name and requirement. Approved by: bz (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-02T23:47:18.229761Z K 7 svn:log V 232 Diff reduction against OpenBSD: ANSI'fy prototypes. (This is part of a larger changeset which is intended to reduce diff only, thus some prototypes were left intact since they will be changed in the future). Verified with: md5(1) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-03T02:16:12.572847Z K 7 svn:log V 163 Rename variable 'index' to 'idx' to avoid name collision with index(3), this commit does not affect any object code. Obtained from: OpenBSD Verified with: md5(1) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-03T03:28:09.205193Z K 7 svn:log V 66 Merge r272 from libarchive.googlecode.com: Fix building on MSVC6. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-03T03:33:25.447742Z K 7 svn:log V 118 Merge r282 from libarchive.googlecode.com: Close multiple filters by walking the filter list in archive_read_close(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-03T06:39:38.280908Z K 7 svn:log V 191 Set PortMultiplier port only for SATA2 channels, where it is applicable. Doing it on old SATA controllers like Promise PDC20375 SATA150 breaks their operation. Tested by: marcus on PDC20375 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-03T07:01:57.210158Z K 7 svn:log V 214 Merge r294 from libarchive.googlecode.com: Skip testing for locale-based failures on systems where the "C" locale is so permissive that it cannot possibly fail. In particular, this fixes a test problem on Cygwin. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-03T07:56:42.866938Z K 7 svn:log V 58 MFC rev. 186079, 188829, 188922, 188959. Sync with HEAD. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-03-03T07:58:01.816505Z K 7 svn:log V 34 Xref glxsb(4). MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-03-03T08:14:43.286032Z K 7 svn:log V 332 MFC rev. 188700, 188731, 188733. Make core dumping to ad not to freeze even if interrupts, not disabled for some reason (noticed on SMP), stealing our events. ata_interrupt() does not need to return anything. It is not it's business to report request completion, expecially when it is not reliable. PR: kern/114370, kern/115801 END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-03T09:04:18.986133Z K 7 svn:log V 111 Catch up with USB2 change. Remove the usbdevs and add the usbconfig. Spotted by: hrs Tested on: i386 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-03T11:57:29.151724Z K 7 svn:log V 59 Update config.h for OpenBSM 1.1 beta1. MFC after: 1 month END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-03T13:10:25.523118Z K 7 svn:log V 314 udf_readdir: do not advance offset if entry can not be uio-ed Previosly readdir missed some directory entries because there was no space for them in current uio but directory stream offset was advanced nevertheless. jhb has discoved the issue and provided a test-case. Reviewed by: bde Approved by: jhb (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-03T13:12:12.798551Z K 7 svn:log V 325 Start removing IPv6 Type 0 Routing header code. RH0 was deprecated by RFC 5095. While most of the code had been disabled by #if 0 already, leave a bit of infrastructure for possible RH2 code and a log message under BURN_BRIDGES in case a user still tries to send RH0 packets. Reviewed by: gnn (a bit back, earlier version) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2009-03-03T15:43:34.086362Z K 7 svn:log V 29 Add MFNTOPFN for HVM builds. END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-03T15:50:24.728764Z K 7 svn:log V 72 ichwd: correct range check for timeout value Approved by: jhb (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-03T16:38:59.426907Z K 7 svn:log V 2087 Further refine the handling of resources for BARs in the PCI bus driver. A while back, Warner changed the PCI bus code to reserve resources when enumerating devices and simply give devices the previously allocated resources when they call bus_alloc_resource(). This ensures that address ranges being decoded by a BAR are always allocated in the nexus0 device (or whatever device the PCI bus gets its address space from) even if a device driver is not attached to the device. This patch extends this behavior further: - To let the PCI bus distinguish between a resource being allocated by a device driver vs. merely being allocated by the bus, use rman_set_device() to assign the device to the bus when it is owned by the bus and to the child device when it is allocated by the child device's driver. We can now prevent a device driver from allocating the same device twice. Doing so could result in odd things like allocating duplicate virtual memory to map the resource on some archs and leaking the original mapping. - When a PCI device driver releases a resource, don't pass the request all the way up the tree and release it in the nexus (or similar device) since the BAR is still active and decoding. Otherwise, another device could later allocate the same range even though it is still in use. Instead, deactivate the resource and assign it back to the PCI bus using rman_set_device(). - pci_delete_resource() will actually completely free a BAR including attemping to disable it. - Disable BAR decoding via the command register when sizing a BAR in pci_alloc_map() which is used to allocate resources for a BAR when the BIOS/firmware did not assign a usable resource range during boot. This mirrors an earlier fix to pci_add_map() which is used when to size BARs during boot. - Move the activation of I/O decoding in the PCI command register into pci_activate_resource() instead of doing it in pci_alloc_resource(). Previously we could actually enable decoding before a BAR was initialized via pci_alloc_map(). Glanced at by: bsdimp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-03T16:56:15.015244Z K 7 svn:log V 191 MFC: Use a clean slate of register state when executing hardware interrupt handlers to avoid leaking values into the upper 16-bits of general purpose registers when executing these routines. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-03T17:02:51.337079Z K 7 svn:log V 106 Merge r294:337,r348:350 from libarchive.googlecode.com: A lot of work to make libarchive work on Windows. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-03-03T17:07:27.656272Z K 7 svn:log V 157 Merge r340 from libarchive.googlecode.com: If zlib/bzlib aren't available, we can still detect gzip/bzip2 compressed streams, we just can't decompress them. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-03T17:10:14.630514Z K 7 svn:log V 191 MFC: Use a clean slate of register state when executing hardware interrupt handlers to avoid leaking values into the upper 16-bits of general purpose registers when executing these routines. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-03T17:15:05.766608Z K 7 svn:log V 366 Reduce the verbosity of SDT trace points for DTrace by defining several wrapper macros that allow trace points and arguments to be declared using a single macro rather than several. This means a lot less repetition and vertical space for each trace point. Use these macros when defining privilege and MAC Framework trace points. Reviewed by: jb MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-03T17:16:26.221670Z K 7 svn:log V 191 MFC: Use a clean slate of register state when executing hardware interrupt handlers to avoid leaking values into the upper 16-bits of general purpose registers when executing these routines. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-03T17:34:09.920285Z K 7 svn:log V 136 as suggested by jhb@, panic in case the ncpus == 0. it helps to catch bugs in the callers. Approved by: kib (mentor) MFC after: 5 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-03T18:23:16.297770Z K 7 svn:log V 85 Adding missing ";"'s required by some SDT_PROBE_DEFINEx() macros. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-03T18:47:33.074224Z K 7 svn:log V 695 Make Netgraph compile with Clang. Clang disallows structs with variable length arrays to be nested inside other structs, because this is in violation with ISO C99. Even though we can keep bugging the LLVM folks about this issue, we'd better just fix our code to not do this. This code seems to be the only code in the entire source tree that does this. I haven't tested this patch by using the kernel modules in question, but Diane Bruce and I have compared disassembled versions of these kernel modules. We would have expected them to be exactly the same, but due to randomness in the register allocator and reordering of instructions, there were some minor differences. Approved by: julian END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-03T18:53:47.979592Z K 7 svn:log V 36 Bump down the inline limit on MIPS. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-03T18:54:57.301587Z K 7 svn:log V 123 The callback takes a void *, not a caddr_t * (sic). Except for the bb callback, which takes a caddr_t and not a caddr_t *. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-03T18:57:59.061603Z K 7 svn:log V 41 Add in parsing of the disk FUNCE tuples. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-03T19:22:24.333580Z K 7 svn:log V 45 make loop clearer that it isn't a mistake... END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-03T19:38:56.674761Z K 7 svn:log V 565 For the moment disable the VIMAGE_CTASSERTs as people have trouble while developing and compiling with kernel options that change the size of at least one structure. The current kernel build framework does not allow us to pass -Dxxx to module builds so we would possibly need a kernel option to disable the checks and that might not work for people just building modules alone. For now they helped to identify possibly API problems and bring those back into minds of developers seeking for better solutions. Problems reported by: kib, warner Reviewed by: warner END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-03T20:26:41.795183Z K 7 svn:log V 22 - Raise limit for MFH END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-03T20:27:50.984998Z K 7 svn:log V 4 MFH END K 10 svn:author V 4 lulf K 8 svn:date V 27 2009-03-03T20:30:35.564273Z K 7 svn:log V 16 - Re-add limit. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-03T21:45:47.627348Z K 7 svn:log V 70 create branch for incrementally merging HEAD_fast_net work in to HEAD END K 10 svn:author V 7 davidch K 8 svn:date V 27 2009-03-04T00:05:40.217663Z K 7 svn:log V 207 - Updated firmware to latest 4.6.X release. - Added missing firmware for 5709 A1 controllers. - Changed some debug statistic variable names to be more consistent. Submitted by: davidch MFC after: Two weeks END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T00:56:48.765778Z K 7 svn:log V 528 IFC HEAD_fast_net inpcb rtentry & llentry caching 186573, 186575, 186576, 186578, 186579, 186580 186573: - Cache rtentry in inpcb for connected sockets 186575: - Add cached llentry to inpcb - reduce header pollution by removing net/route.h from in_pcb.h 186576: - install cached llentry in the inpcb and then pass down to ether_output in the struct route 186578: - don't LLE_FREE if llentry is unchanged 186579: - cleanup upgrade / downgrade checks for route and lle 186580: - don't check INP_WLOCKED if inp is NULL END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-04T00:58:04.422575Z K 7 svn:log V 113 Style changes (including additional casts to shut up warnings). This commit does not affect MD5 of object file. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-04T01:01:26.539696Z K 7 svn:log V 45 Sync license changes. Obtained from: NetBSD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T01:10:38.535832Z K 7 svn:log V 145 IFC HEAD_fast_net add flowtable to bypass L3 and L2 lookups: 186583: import updated flowtable for use by forwarding and unconnected sockets END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-04T01:17:05.752562Z K 7 svn:log V 81 Explicitly specify bit width for on-disk data structure. Obtained from: OpenBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-04T01:31:09.836340Z K 7 svn:log V 144 Make ifinfo build. The struct if_data members ifi_recvquota and ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2 respectively. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T01:33:16.730350Z K 7 svn:log V 368 extend flowtable usage to other areas 186585, 186621, 186629, 186631 186585: - make ipv4 forwarding flowtable aware 186621: - initialize ro_dst at the beginning of ip_forward 186629: - make flowtable_lookup handle case of NULL mbuf 186631: - use flowtable_lookup in in_pcbladdr to avoid contending in calls to in_pcbconnect_setup when the laddr is not bound END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T01:47:50.511125Z K 7 svn:log V 308 enable flowid usage 186588, 186591, 186592, 186594 186588: (included) - enabled flowid usage for supporting multiple transmit queues 186591, 186592: (included) - validate so before checking options in tcp_input - so isn't set yet, reference inp_socket 186594: (included) - set flowid valid flag in cxgb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-04T01:50:00.597447Z K 7 svn:log V 26 Enable ale(4) in GENERIC. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T01:58:48.726212Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T01:59:14.457428Z K 7 svn:log V 51 Considerably improve the wording of this man page. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:00:14.302092Z K 7 svn:log V 58 Add source-specific multicast (SSM) option documentation. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:00:34.173650Z K 7 svn:log V 40 Add cross-reference to sourcefilter(3). END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:08:20.336823Z K 7 svn:log V 29 Update mtest(8) manual page. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:09:12.826111Z K 7 svn:log V 56 Add full SSM stack support to mtest(8) diagnostic tool. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:12:29.914568Z K 7 svn:log V 67 Add printb.c utility file, but do not yet connect it to the build. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-03-04T02:38:38.549754Z K 7 svn:log V 1597 add route weighting and generalizing of affinity to source ip instead of per-flow 186625: - import kernel support for route shutdown 186626: - import user support for route shutdown 186628: - don't lookup laddr or lport if they're already set 186630: - fix route shutdown merge 186923: - Add kernel support for weighting routes 186924: - remove RTA_GENMASK 186925: - remove genmask - add -weight option to route for adding / changing route weight 1868994: - add kernel support for "sticky" routes (all connections from a given source ip will be routed to the same dst ip) 186995: - add support to the route command for making routes sticky 187003: - add new flags to route output - remove hopcount 187004: - update route flags and metricnames in route command 187005: - fetch weight when getting metrics 187006: - try to improve formatting slightly in route 187007: - more output futzing - add show as alias for get 187008: - update show handling 187009: - remove shutdown - update route flags 187010: - fix flag setting in RTM_CHANGE 187011: - add debug cruft to route selection 187012: - fix rn_mpath_count and reduce frequency of printing 187013: - update loop condition print hash earlier 187040: - reduce default timeouts in the flowtable - remove references to shutdown (redundant with zero weight route) - simplify weight checking 187041: - fix radix_mpath comment - remove shutdown flag and message 187206: - include opt_mpath.h so that RADIX_MPATH will be pulled in - remove locking overhead to forwarding workloads by making forwarding table pcpu END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:51:22.834254Z K 7 svn:log V 147 Add function ip_checkrouteralert(), which will be used by IGMPv3 to check for the IPv4 Router Alert [RFC2113] option in a pulled-up IP mbuf chain. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:54:11.629289Z K 7 svn:log V 51 Reserve a netisr slot for the IGMPv3 output queue. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T02:55:04.994289Z K 7 svn:log V 162 Overlay a uint16_t field suitable for use by the IGMPv3 code. It is used to maintain the number of group records contained in a pending IGMPv3 output mbuf chain. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T03:01:05.013670Z K 7 svn:log V 237 Add various defines/macros required by IGMPv3: * MCAST_UNDEFINED state. * in_allhosts() macro (group is 224.0.0.1). This uses a const endian comparison. * IP_MAX_GROUP_SRC_FILTER, IP_MAX_SOCK_SRC_FILTER default resource limits. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T03:22:03.616791Z K 7 svn:log V 169 Merge header file definitions used by the new IGMPv3 implementation. This is a partial merge. Compatibility defines are retained for the existing IGMPv2 implementation. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:30:21.547745Z K 7 svn:log V 66 Fix a file descriptor leak in fts_child(). Obtained from: NetBSD END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:31:10.480064Z K 7 svn:log V 153 - Add getsubopt and mkdtemp to the POSIX.1-2008 namespace. - Add mkstemp to the POSIX.1-2008 and BSD namespaces. - Remove mktemp from the XSI namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:31:51.619124Z K 7 svn:log V 114 - Remove bcmp, bcopy, bzero, index, and rindex from the POSIX.1-2008 namespace. - Add ffs to the XSI namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:32:28.520607Z K 7 svn:log V 254 - Add getsid, fchdir, getpgid, lchown, pread, pwrite, truncate, *at, and fexecve to the POSIX.1-2008 namespace. - Remove getwd, ualarm, usleep, and vfork from the XSI namespace. - Remove mkdtemp from the POSIX.1-2008 namespace (should be in stdlib.h). END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:32:56.084008Z K 7 svn:log V 43 Add psignal to the POSIX.1-2008 namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:33:21.445225Z K 7 svn:log V 42 Add openat to the POSIX.1-2008 namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:33:38.603920Z K 7 svn:log V 39 Add *at to the POSIX.1-2008 namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:35:03.424421Z K 7 svn:log V 44 Add renameat to the POSIX.1-2008 namespace. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:38:51.220370Z K 7 svn:log V 258 Add dprintf() and vdprintf() from POSIX.1-2008. Like getline(), dprintf() is a simple wrapper around another function, so we may as well implement it. But also like getline(), we can't prototype it by default right now because it would break too many ports. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T03:40:02.916546Z K 7 svn:log V 258 Add sysctl net.inet.ip.mcast.loop. This controls whether or not IPv4 multicast sends are looped back to senders by default on a stack-wide basis, rather than relying on the socket option. Note that the sysctl only applies to newly created multicast sockets. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T03:45:02.223867Z K 7 svn:log V 33 Remove some unused vendor files. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-04T03:45:34.983074Z K 7 svn:log V 718 In ip_output(), do not acquire the IN_MULTI_LOCK(), and do not attempt to perform a group lookup. This is a socket layer lock, and the bottom half of IP really has no business taking it. Use the value of the in_mcast_loop sysctl to determine if we should loop back by default, in the absence of any multicast socket options. Because the check on group membership is now deferred to the input path, an m_copym() is now required. This should increase multicast send performance where the source has not requested loopback, although this has not been benchmarked or measured. It is also a necessary change for IN_MULTI_LOCK to become non-recursive, which is required in order to implement IGMPv3 in a thread-safe way. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-04T03:47:57.338016Z K 7 svn:log V 111 Add Mobile Action MA-620 Infrared Adapter. PR: usb/125072 Submitted by: Alexander Logvinov MFC after: 1 week END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T06:01:27.542525Z K 7 svn:log V 30 Add wcpcpy(3) and wcpncpy(3). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-03-04T12:14:33.473172Z K 7 svn:log V 414 Add AT_PLATFORM, AT_HWCAP and AT_CLKTCK auxiliary vector entries which are used by glibc. This silents the message "2.4+ kernel w/o ELF notes?" from some programs at start, among them are top and pkill. Do the assignment of the vector entries in elf_linux_fixup() as it is done in glibc. Fix some minor style issues. Submitted by: Marcin Cieslak Approved by: kib (mentor) MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-04T13:53:57.546001Z K 7 svn:log V 225 udf_strategy: remove redundant comment We fail mapping for any udf_bmap_internal error and there can be different reasons for it, so no need to (over-)emphasize files with data in fentry. Submitted by: bde Approved by: jhb END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-03-04T13:54:10.629120Z K 7 svn:log V 189 udf: use truly unique directory cookie 'off' is an offset within current block, so there is a good chance it can be non-unique, so use complete offset. Submitted by: bde Approved by: jhb END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-04T15:45:34.639587Z K 7 svn:log V 129 Put the restrict qualifiers in the right place in the wcp[n]cpy prototypes. Submitted by: Pawel Worach END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-04T16:21:00.801502Z K 7 svn:log V 39 turn off PREEMPTION and mark it broken END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-04T18:23:48.365886Z K 7 svn:log V 351 Extend the management of PCIM_CMD_INTxDIS. We now explicitly enable INTx during bus_setup_intr() if it is needed. Several of the ata drivers were managing this bit internally. This is better handled in pci and it should work for all drivers now. We also mask INTx during bus_teardown_intr() by setting this bit. Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-04T18:25:39.949710Z K 7 svn:log V 109 Remove the local management of INTx as this is now taken care of by pci. Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-04T18:36:48.348031Z K 7 svn:log V 227 Make IPXrouted compile using Clang by using ANSI function declarations. Because of integer promotion, Clang doesn't allow ANSI prototypes to be mixed with K&R declarations. Submitted by: Pawel Worach END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-03-04T20:26:39.367423Z K 7 svn:log V 200 MFC r188572: Fix an edge-case of the linux readdir: We need the size of a linux dirent structure, not the size of a pointer to it. PR: 131099 Submitted by: Andreas Kies END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-03-04T20:54:42.877214Z K 7 svn:log V 379 - PR-SCTP bug, where the CUM-ACK was not being updated into the advance_peer_ack point so we would incorrectly send a wrong value in the FWD-TSN - PR-SCTP bug, where an PR packet is used for a window probe which could incorrectly get the packet moved back into the send_queue, which will cause major issues and should not happen. - Fix a trace to use the proper macro. END