ıj154181 187 239 187 239 317 239 185 374 141 202 275 208 425 114 132 126 253 407 157 157 893 179 206 263 2225 210 187 1036 487 338 264 286 157 341 488 321 601 628 476 503 448 739 159 131 165 175 451 267 163 208 202 205 792 373 166 109 507 486 130 286 223 375 313 136 230 123 151 133 499 142 180 210 231 146 125 138 605 538 205 236 120 135 131 164 139 894 285 179 657 190 148 191 278 821 138 249 251 364 151 181 254 212 185 209 361 377 270 353 259 160 164 366 630 157 385 333 119 357 526 136 145 157 137 154 157 234 273 262 147 191 277 184 125 270 140 182 304 357 410 280 382 246 330 381 290 381 489 231 153 169 157 161 229 924 212 158 598 161 296 434 152 345 175 194 132 262 119 147 119 282 224 386 144 155 157 285 241 148 638 230 958 184 328 225 130 169 229 196 K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T11:49:26.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r154180, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T11:52:51.000000Z K 7 svn:log V 93 Vendor fix: initialize the flag field of a newly created node to be 0. Submitted by: jasone END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T11:52:51.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r154182, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T11:59:31.000000Z K 7 svn:log V 222 Vendor fix: the routing table can change while we are fetching it from the kernel. Instead of complaining if we get an ENOMEM (meaning it got larger than our buffer is) reallocate the buffer and loop. Submitted by: maxim END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T11:59:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r154184, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-10T12:08:25.000000Z K 7 svn:log V 91 Disable default write access by not setting the write community string. PR: 91404, 91406 END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-10T14:33:20.000000Z K 7 svn:log V 281 - Add a new MFC script that takes a message-id, a commit mail or a query string and generates a patchset along with a commit message and a commit script if the user has commit rights. - Add a README file to give a quick description of each script's purpose. Approved by: netchild END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-01-10T14:49:23.000000Z K 7 svn:log V 44 Hook ufoma(4) page up. Pointed out by: joel END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-10T15:56:46.000000Z K 7 svn:log V 109 - Xref mount_reiserfs(8) PR: docs/90902 Submitted by: Scott Robbins MFC after: 3 days END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-10T16:03:37.000000Z K 7 svn:log V 182 - Fix: documentation for -m option was inserted halfway thru the text of -l option. PR: docs/90359 Submitted by: Gavin Atkinson MFC after: 3 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-10T16:15:58.000000Z K 7 svn:log V 112 Update usage to reflect the fact that the -d -a now accepts -i . Reminded by: ru Pointy hat: brooks END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-10T16:48:52.000000Z K 7 svn:log V 332 - Update pretty print of multipath routes to better handle timeout of first probe Before: 5 * freebsd (195.250.137.134) 19.086 ms 24.694 ms After: 5 * freebsd (195.250.137.134) 19.086 ms 24.694 ms Fixes: bin/90098 Reported by: Jeremy Chadwick Approved by: andre MFC after: 1 day END K 10 svn:author V 5 wilko K 8 svn:date V 27 2006-01-10T18:08:55.000000Z K 7 svn:log V 20 MFC: add geom_fox.4 END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-01-10T18:39:23.000000Z K 7 svn:log V 35 Fix sort order. Pointed out by: ru END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2006-01-10T18:55:24.000000Z K 7 svn:log V 29 Correct two trivial grammos. END K 10 svn:author V 4 rees K 8 svn:date V 27 2006-01-10T20:58:27.000000Z K 7 svn:log V 159 add nfsclient/, nfs4client/, and rpc/ directories to the top Makefile's rule to build a cscope database. Submitted by: cel@citi.umich.edu Approved by: alfred END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-10T21:37:18.000000Z K 7 svn:log V 314 MFC: Fix issues with various Compaq boxes such as some DL360s (and possibly some DL380s): - Release the pci_link acpi serial lock if a link device has no actual links. - Don't panic if a _PRT entry references an invalid link on a link device unless we actually try to route an interrupt using that _PRT entry. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-10T21:44:58.000000Z K 7 svn:log V 65 MFC: Fix a couple of issues with the ibcs2 module event handler. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-10T21:46:19.000000Z K 7 svn:log V 65 MF6: Fix a couple of issues with the ibcs2 module event handler. END K 10 svn:author V 5 krion K 8 svn:date V 27 2006-01-10T22:17:08.000000Z K 7 svn:log V 798 MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28 info/show.c:1.40 lib/plist.c:1.51 date: 2006/01/07 22:10:57; author: krion; state: Exp; lines: +10 -3 When using @cwd %%FOO%%, we must ensure to return in the original prefix later, but doing so with @cwd %%OLDPREFIX%% (having PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing list. That's not really a problem when dealing with ports but that's a problem with packages since pkg_add -p option only overrides the first @cwd occurrence. This patch allow us to use @cwd without any argument. If no directory argument is given, it will set current working directory to the first prefix given by the @cwd command. PR: bin/77212 Submitted by: flz END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-10T22:55:35.000000Z K 7 svn:log V 84 Don't use the ALLOCNOW flag for tags that will only be used for static allocations. END K 10 svn:author V 4 grog K 8 svn:date V 27 2006-01-10T23:24:47.000000Z K 7 svn:log V 112 Add references to fhopen, fhstat, getfh, lgetfh and fhstatfs. Pointed out by: Antony Curtis END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T00:29:16.000000Z K 7 svn:log V 170 MFC: Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c. src/sys/dev/usb/usbdevs: rev 1.247 src/sys/dev/usb/uscanner.c: rev 1.67 END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-11T00:30:25.000000Z K 7 svn:log V 2128 Significant performance improvements for the if_em driver: - Only update the rx ring consumer pointer after running through the rx loop, not with each iteration through the loop. - If possible, use a fast interupt handler instead of an ithread handler. Use the interrupt handler to check and squelch the interrupt, then schedule a taskqueue to do the actual work. This has three benefits: - Eliminates the 'interrupt aliasing' problem found in many chipsets by allowing the driver to mask the interrupt in the NIC instead of the OS masking the interrupt in the APIC. - Allows the driver to control the amount of work done in the interrupt handler. This results in what I call 'adaptive polling', where you get the latency benefits of a quick response to interrupts with the interrupt mitigation and work partitioning of polling. Polling is still an option in the driver, but I consider it orthogonal to this work. - Don't hold the driver lock in the RX handler. The handler and all data associated is effectively serialized already. This eliminates the cost of dropping and reaquiring the lock for every receieved packet. The result is much lower contention for the driver lock, resulting in lower CPU usage and lower latency for interactive workloads. The amount of work done in the taskqueue is controlled by the sysctl dev.em.N.rx_processing_limit and tunable hw.em.rx_process_limit Setting these to -1 effectively removes the limit. The fast interrupt and taskqueue can be disabled by defining NO_EM_FASTINTR. This work has been shown to increase fast-forwarding from ~570 kpps to ~750 kpps (note that the same NIC hardware seems unable to transmit more than 800 kpps, so this increase appears to be limited almost solely by the hardware). Gains have been shown in other workloads, ranging from better performance to elimination of over-saturation livelocks. Thanks to Andre Opperman for his time and resources from his network performance project in performing much of the testing. Thanks to Gleb Smirnoff and Danny Braniss for their help in testing also. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-11T00:37:13.000000Z K 7 svn:log V 114 The interlock in taskqueue_terminate() is completely wrong for taskqueues that use spinlocks. Remove it for now. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T00:37:32.000000Z K 7 svn:log V 95 MFC: - Add an entry for Acer Acerscan 1240U. src/share/man/man4/uscanner.4: rev 1.21 END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2006-01-11T02:06:08.000000Z K 7 svn:log V 939 When deregistering a bus, attempt to flush out all outstanding operations before returning. Point the bus at a dummy cam_sim structure so that any CCBs will complete immediately with a CAM_DEV_NOT_THERE status, and ensure that any xpt_schedule() calls on the bus's devices will immediately call the peripheral's periph_start() routine. Also repeat the async messages because devices that were part of the way through being probed may appear after the original AC_LOST_DEVICE was sent, and would otherwise never go away. These changes make it possible to deregister a bus and free the SIM at most stages during bus probing without the usual crashes in camisr(). In particular, plugging in a umass device and then unplugging it as soon as the first probe messages appeared would almost always result in a crash. Now the device just goes away with a few CAM errors and all references to the CAM bus, target and device are dropped correctly. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T02:53:54.000000Z K 7 svn:log V 394 - Remove netcat dependency by using fetch (not sure why i used nc in the first place). - Add some XXX lines as a TODO. - Add a cvs diff command to the generated commit script. - Add cdiff/colordiff to the list of optional dependencies. - Fix a problem when giving the commit mail without the headers to mfc.pl -f, it should now work correctly. - Bump version. Approved by: ssouhlal (implicit) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T05:37:21.000000Z K 7 svn:log V 242 Get rid of the bogus IFP2FC() macro and use IFP2FWC(). IFP2FC() attempted to cast a struct ifnet to a struct fw_com which resulted in data corruption. PR: kern/91307 Submitted by: Alex Semenyaka MFC After: 6 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T05:56:02.000000Z K 7 svn:log V 168 MFC revs 1.27 and 1.28. 1.27: don't crash when given an invalid nwkey string 1.28: parse SSIDs correctly and bail immediatly when invalid PR: misc/88159, bin/74509 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T06:06:54.000000Z K 7 svn:log V 190 MFC: Allow chkprintcap(8) to be run before lpd is started. Disabled by default. Default flags create missing directories. Remove comment about doing this in etc/rc.d/var. PR: conf/71488 END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-01-11T06:10:05.000000Z K 7 svn:log V 61 The thr_new sysscall was already in libc, don't generate it. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T06:22:21.000000Z K 7 svn:log V 245 MFC revs 1.46 and 1.47 (from src/etc/rc.initdiskless). Switch from pax to tar for extracting cpio archives. pax requires a writable /tmp (or TMPDIR) and thus is unsuitable for this job. The pax command used was also invalid. PR: conf/88293 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T06:41:30.000000Z K 7 svn:log V 392 MFC rev 1.6: When removing the local domain, only do so when the result will be a host name. This is matches the documented behaviro. The previous behavior would remove the domain name even if the result retained a dot. This fixes rsh connections from a.example.com to example.com. This is also reported to fix rsh connections from host xxx to yyy.example.com. PR: 88301 END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-11T08:02:15.000000Z K 7 svn:log V 226 - Locking fixes. Release lock while chn_intr(). - Mark MPSAFE since most of the locking procedures already implemented. - Turn on inverted external amplifier sense flag for selected boards. Tested by: bland MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-11T08:02:16.000000Z K 7 svn:log V 503 Correct insecure temporary file usage in texindex. [06:01] Correct insecure temporary file usage in ee. [06:02] Correct a race condition when setting file permissions, sanitize file names by default, and fix a buffer overflow when handling files larger than 4GB in cpio. [06:03] Fix an error in the handling of IP fragments in ipfw which can cause a kernel panic. [06:04] Security: FreeBSD-SA-06:01.texindex Security: FreeBSD-SA-06:02.ee Security: FreeBSD-SA-06:03.cpio Security: FreeBSD-SA-06:04.ipfw END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-11T08:03:18.000000Z K 7 svn:log V 530 Correct insecure temporary file usage in texindex. [06:01] Correct insecure temporary file usage in ee. [06:02] Correct a race condition when setting file permissions, sanitize file names by default, and fix a buffer overflow when handling files larger than 4GB in cpio. [06:03] Fix an error in the handling of IP fragments in ipfw which can cause a kernel panic. [06:04] Security: FreeBSD-SA-06:01.texindex Security: FreeBSD-SA-06:02.ee Security: FreeBSD-SA-06:03.cpio Security: FreeBSD-SA-06:04.ipfw Approved by: so (cperciva) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-11T08:06:47.000000Z K 7 svn:log V 378 Correct insecure temporary file usage in texindex. [06:01] Correct insecure temporary file usage in ee. [06:02] Correct a race condition when setting file permissions, sanitize file names by default, and fix a buffer overflow when handling files larger than 4GB in cpio. [06:03] Security: FreeBSD-SA-06:01.texindex Security: FreeBSD-SA-06:02.ee Security: FreeBSD-SA-06:03.cpio END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-11T08:08:08.000000Z K 7 svn:log V 405 Correct insecure temporary file usage in texindex. [06:01] Correct insecure temporary file usage in ee. [06:02] Correct a race condition when setting file permissions, sanitize file names by default, and fix a buffer overflow when handling files larger than 4GB in cpio. [06:03] Security: FreeBSD-SA-06:01.texindex Security: FreeBSD-SA-06:02.ee Security: FreeBSD-SA-06:03.cpio Approved by: so (cperciva) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-11T10:15:57.000000Z K 7 svn:log V 351 MFC devfs_rule.c:1.21 from HEAD to RELENG_6: When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule lock. Otherwise the system comes to a rather sudden and grinding halt. As the underlying devfs locking changes that lead to this bug have not been merged to RELENG_5, this fix to those locking changes does not need to be merged. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-11T10:31:54.000000Z K 7 svn:log V 642 MFC 1.76, 1.77: The receive function em_process_receive_interrupts() unlocks the adapter while ether_input() processes the packet, and then locks it back. In the meantime, em_init() may be called, either from em_watchdog() from softclock interrupt or from the ifconfig(8) program. The em_init() resets the card, in particular it sets adapter->next_rx_desc_to_check to 0 and resets hardware RX Head and Tail descriptor pointers. The loop in em_process_receive_interrupts() does not expect these things to change, and a mess may result. PR: kern/87418 Submitted by: Dmitrij Tejblum END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-11T12:59:39.000000Z K 7 svn:log V 67 MFC 1.28: fix timeouted probes in pretty print of multipath routes END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-01-11T13:51:03.000000Z K 7 svn:log V 34 Add a mobile phone known to work. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-01-11T13:57:15.000000Z K 7 svn:log V 72 I wrote getnetconfig where I meant getnetpath in the previous revision. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-11T15:29:48.000000Z K 7 svn:log V 79 Add ktr(9) hooks to easier tracing of the netgraph item flow through netgraph. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-01-11T15:40:00.000000Z K 7 svn:log V 354 MFC revision 1.131 date: 2005/12/13 15:32:52; author: delphij; state: Exp; lines: +5 -5 In Linux, kernel parameters passed to ioctl are by value, while in FreeBSD they are passed by reference. Handle the difference within the linux_ioctl_termio on the LINUX_TCFLSH path. Submitted by: Jaroslav Drzik Reminded by: glebius END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-11T15:48:36.000000Z K 7 svn:log V 171 Add the RB_NFIND() macro, which is useful for red-black tree searches for which there may not be an exact match. Reviewed by: glebius, julian Approved by: markm (mentor) END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T16:00:38.000000Z K 7 svn:log V 71 - Fix search. - Fix author matching. Approved by: ssouhlal (implicit) END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T16:22:24.000000Z K 7 svn:log V 115 - Fix another bug, it seems sometimes mail is sent to cvs-all but not cvs-ports. Approved by: ssouhlal (implicit) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T16:39:09.000000Z K 7 svn:log V 106 MFC rev 1.38: attempt to mount /usr if we need to populate /var and we can't find mtree. PR: conf/71757 END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-11T16:51:21.000000Z K 7 svn:log V 112 Ok, I've created a test suite to avoid such regressions. Sorry for the noise. Approved by: ssouhlal (implicit) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-11T18:12:35.000000Z K 7 svn:log V 696 MFC rtsock.c:1.129: Protect interface and address lists using the appropriate mutex. These locks were not aquired because the user buffers were not wired, thus it was possible that that SYSCTL_OUT could sleep, causing a number of different problems such as lock ordering issues and dead locks. -Wire user supplied buffer to ensure SYSCTL_OUT will not sleep. -Pickup ifnet locks to protect the list. -Where applicable pickup address locks. -Pickup radix node head locks. -Remove splnet stubs -Remove various comments about locking here, because they are no longer needed. It is the hope that these changes will make sysctl_rtsock MP safe. Approved by: rwatson (mentor) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2006-01-11T20:27:23.000000Z K 7 svn:log V 275 MFC: src/sys/dev/atkbdc/psm.c; revision 1.88 date: 2006/01/05 19:24:01; author: dumbbell; state: Exp; lines: +2 -1 Fix a bug in Synaptics Touchapd support where psm(4) will enter an infinite loop if it receives an out of sync packet. Reviewed by: mux (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-01-11T20:27:24.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-01-11T21:28:55.000000Z K 7 svn:log V 15 o Sort MLINKS. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T21:30:41.000000Z K 7 svn:log V 411 Be a little more read-only file system friendly when running the Linux ldconfig. Build the cache in a temporary directory and only install it if it's actually different that the installed one. Also, use "cat tmp > real" to install the temporary file in the real location to allow the real location to be a symlink to a writable directory such as /var/run (where the file actually belongs). MFC After: 5 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-11T21:45:31.000000Z K 7 svn:log V 390 Merge rtsock.c:1.127 from HEAD to RELENG_5: De-spl parts of the routing socket code now generally protected through locking; leave some spl references around code where there are open questions about global variable references. The comment about IF_ADDR_LOCK() and SYSCTL_OUT() in 1.127 does not apply, as that issue was fixed by the MFC of 1.129. Approved by: rwatson (mentor) END K 10 svn:author V 8 takawata K 8 svn:date V 27 2006-01-11T21:46:15.000000Z K 7 svn:log V 33 Grammar fix. Submitted by: joel@ END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-11T21:59:30.000000Z K 7 svn:log V 190 Creating memory file systems with softupdates enabled is pointless, don't do it. PR: conf/85558 Submitted by: Ralf Wenk MFC after: 5 days END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-01-11T22:37:59.000000Z K 7 svn:log V 125 Grab the media from the passed in structure to put it into the global structure. PR: bin/91399 Submitted by: Spencer Minear END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-11T23:22:57.000000Z K 7 svn:log V 280 Fix broken playback capabilities to prevent impending disaster. The minimum / maximum speed was way too low / high! minspeed = 2000 - is this for real ? maxspeed = 767999 - is this for real ????? Wrap everything into 8000 - 48000 boundary, just to be safe. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T00:22:12.000000Z K 7 svn:log V 216 Merge rev. 1.130 that I though was merged long time ago. Thanks to emaste for noticing this. Drop current rtentry lock before calling rt_getifa(). This fixes a LOR and a possible recursive use of rtentry mutex. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-01-12T01:20:59.000000Z K 7 svn:log V 41 Move linux support to the linux section. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-12T01:26:34.000000Z K 7 svn:log V 137 MFC: Fix -r causing SIGSEGV due to parse_args() being called before font_current is set. src/usr.sbin/kbdmap/kbdmap.c: rev 1.4 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-01-12T02:53:42.000000Z K 7 svn:log V 28 assert(3) is not used here. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-01-12T05:24:46.000000Z K 7 svn:log V 57 MFC rev. 1.70: deal with the overridden SIGCHLD handler. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T07:26:57.000000Z K 7 svn:log V 42 Build shared library on behalf of bsnmpd. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-12T07:28:21.000000Z K 7 svn:log V 403 In preparation for a new malloc implementation: * Add posix_memalign(). * Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in rtld-elf in order to make the loader happy (even though calloc() isn't used in rtld-elf). * Add _malloc_prefork() and _malloc_postfork(), and use them instead of directly manipulating __malloc_lock. Approved by: phk, markm (mentor) END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-01-12T07:44:40.000000Z K 7 svn:log V 48 Fix build without -DNDEBUG. Spotted by: obrien END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-12T07:58:59.000000Z K 7 svn:log V 85 Expose the posix_memalign() prototype, now that the function is implemented by libc. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-12T08:01:38.000000Z K 7 svn:log V 114 Use posix_memalign() rather than assuming that malloc() provides adequate alignment. Approved by: markm (mentor) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-12T09:29:38.000000Z K 7 svn:log V 135 Use posix_memalign() in valloc() rather than making assumptions about the alignment of malloc()ed memory. Approved by: markm (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T10:15:51.000000Z K 7 svn:log V 50 Fix wording in last commit. Submitted by: julian END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T10:34:38.000000Z K 7 svn:log V 34 MFC: Fix creation of smb devices. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T10:35:24.000000Z K 7 svn:log V 47 MFC: 1.3: Remove public declaration of static. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-01-12T11:40:39.000000Z K 7 svn:log V 509 - The inline asm in this file uses output operands before all input operands are consumed so use the appropriate constraint modifier. Before this change GCC used one register for both an input and an unrelated output operand of in_addword(), causing the input to be overwritten before it was consumed and thus breaking in_addword(). For in_cksum_hdr() and in_pseudo() this change is more or less cosmetic. - Fix a misspelling in a nearby comment. Reported & tested by: yongari MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-01-12T13:18:49.000000Z K 7 svn:log V 442 In moduledir_readhints() cast the value returned by sizeof() to ssize_t when checking whether it's greater than a struct stat st_size in order to also catch the case when st_size is -1. Previously this check didn't trigger on sparc64 when st_size is -1 (as it's the case for a file on a bzipfs, TFTP server etc.), causing the content of the linker hints file to be copied to memory referenced by a null-pointer. PR: 91231 MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T15:26:11.000000Z K 7 svn:log V 113 Merge support for new BSD releases from upstream: - Darwin 8.[0-3].0 - FreeBSD 4.11, 5.4, 6.0, 6.1 - NetBSD 3.0 END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T15:26:11.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r154258, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T15:31:41.000000Z K 7 svn:log V 29 Pull up from the FSF branch. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T15:33:18.000000Z K 7 svn:log V 44 Remove releases now found in Groff sources. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-12T15:44:42.000000Z K 7 svn:log V 40 MFC: Present new BSD releases to -mdoc. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-12T18:09:25.000000Z K 7 svn:log V 69 Fix a bitwise logic error in posix_memalign(). Reported by: glebius END K 10 svn:author V 3 wes K 8 svn:date V 27 2006-01-12T18:31:02.000000Z K 7 svn:log V 47 MFC r1.239, avoid deadlock on mbuf exhaustion. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T19:14:40.000000Z K 7 svn:log V 797 In the splnet(9) times netgraph(4) was synchronous and if a message had been replied, the reply was always delivered to the originator synchronously. With introduction of netgraph item callbacks and a wait channel with mutex in ng_socket(4), we have fixed the problem with ngctl(8) returning earlier than the command has been proceeded by target node. But still ngctl(8) can return prior to the reply has arrived to its node. To fix this: - Introduce a new flag for netgraph(4) messages - NGM_HASREPLY. This flag is or'ed with message like NGM_READONLY. - In netgraph userland library if we have sent a message with NGM_HASREPLY flag, then select(2) until reply comes. - Mark appropriate generic commands with NGM_HASREPLY flag, gathering them into one enum {}. Bump generic cookie. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-01-12T19:15:14.000000Z K 7 svn:log V 189 Novel idea, don't print a string if it is NULL! This protects people from loading _really_ old modules, like say from 5.x to a 6.x or 7.x system, like for instance right after an upgrade. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T19:16:08.000000Z K 7 svn:log V 83 Mark appropriate commands with NGM_READONLY and NGM_HASREPLY and bump type cookie. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-12T19:56:58.000000Z K 7 svn:log V 561 Merge device_pager.c:1.69 from HEAD to RELENG_4: The addition of a locking assertion to vm_page_zero_invalid() has revealed a long-time bug: vm_pager_get_pages() assumes that m[reqpage] contains a valid page upon return from pgo_getpages(). In the case of the device pager this page has been freed and replaced by a fake page. The fake page is properly inserted into the vm object but m[reqpage] is left pointing to a freed page. For now, update m[reqpage] to point to the fake page. Submitted by: tegge Approved by: alc, rwatson (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-01-12T20:27:35.000000Z K 7 svn:log V 95 Belated __FreeBSD_version bump for improvements to the Linux ldconfig support in etc/rc.d/abi. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T21:03:09.000000Z K 7 svn:log V 52 Remove old debugging leftover. Reviewed by: julian END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-01-12T21:05:30.000000Z K 7 svn:log V 95 Include the bridge interface itself in the special arp handling. PR: 90973 MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T21:09:12.000000Z K 7 svn:log V 181 Do not force queueing on peer hooks. This was important only for 5.0-CURRENT. And it looks like this didn't work before Julian's revamp of netgraph queue code. Reviewed by: julian END K 10 svn:author V 5 bruno K 8 svn:date V 27 2006-01-12T21:56:37.000000Z K 7 svn:log V 726 * fix bst.status. We mark some bits, but forgot to reset all of them before. The symptom is that the battery inform us its charge and discharge at the same time... * fix bst.rate to correctly output the (dis)charging rate. We'll use the current average over one minute command and not the at_rate command. Note that this method is not correct if the capacity_mode is set, but since we don't set it ourself, it is not a problem. The at_rate do not give the actual rate but is used to compute the estimated time for (dis)charging a battery. We should actually write an estimation of the actual rate using at_rate cmd and then perform a read to the various estimators. Approved by: njl MFC after: 2 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T22:32:07.000000Z K 7 svn:log V 42 Skip format flags, when parsing ktr_desc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T22:41:32.000000Z K 7 svn:log V 152 - Print also node ID in ktr(9) messages. [1] - Use fixed length for function name, making ktrdump(8) output easier to read. Suggested by: julian [1] END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T22:44:04.000000Z K 7 svn:log V 154 Provide additional macros for sending netgraph items, which allow to use non-default flags for netgraph functions. Implement current macros via new ones. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-12T22:48:12.000000Z K 7 svn:log V 267 When sending export datagram from interrupt thread, use NG_QUEUE in flags. When sending export datagram from expiry thread, then use default zero flags. This removes unpleasant contention of the interrupt thread on mutexes (usually ng_ksocket's socket buffer mutex). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T00:00:32.000000Z K 7 svn:log V 55 XXX a comment in uipc_usrreq.c that requires updating. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-13T00:47:42.000000Z K 7 svn:log V 89 - Fix issue when X-FreeBSD-CVS-Branch is not HEAD. Submitted by: jkim Approved by: jkim END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-01-13T00:53:53.000000Z K 7 svn:log V 156 MFC: Make "portsnap extract" automatically create ${PORTSDIR} if necessary instead of complaining that "Directory does not exist or is not writable". END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-13T01:09:55.000000Z K 7 svn:log V 117 Mention that NETWORKING is probably the right value for early_late_divider in a jail. Add an explcit Xr for jail(8) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-01-13T02:09:15.000000Z K 7 svn:log V 90 Unbreak the AMD64 build by forgoing the 'snmp_hostres' functionality. Approved by: harti END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-01-13T03:11:16.000000Z K 7 svn:log V 113 MFC rev 1.20: Fix FD_ISSET() on LP64 platforms. PR: ia64/91421 Submitted by: Tanaka Akira (akr at m17n dot org) END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-13T04:26:48.000000Z K 7 svn:log V 266 MFC: More thorough fixes to enable inverted external amplifier sense flag. Instead of dragging the entire ICH4/82801DB into this mess, select only few boards based on pci subdevice / subvendor. Tested by: Daisuke Orikasa END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-13T04:54:34.000000Z K 7 svn:log V 282 Joyport blacklist. Either we're facing with broken hardware or because this hardware need special (unknown) initialization procedures. Reported by: [1] Rob Clark MFC after: 3 days [1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-January/003535.html END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-13T05:04:27.000000Z K 7 svn:log V 174 Disable interrupts while we are setting up the handler. The interrupt really shouldn't be set up or enabled until much later, but that will be investigated at a later time. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-13T05:24:41.000000Z K 7 svn:log V 258 MFC: Another major fixes and enhancements: - MPSAFE - Fix / reorganize attach routine. Device specific initialization must be done after generic bus / DMA setup. At last, Virtual Channels (vchan) works as expected. Tested by: barner END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-13T06:14:04.000000Z K 7 svn:log V 163 Increase the number of spinlocks, since libc's malloc implementation is about to significantly increase the number of spinlocks used. Approved by: markm (mentor) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-13T06:51:43.000000Z K 7 svn:log V 69 Document commit constraints for RELENG_6_*. Approved by: core (jhb) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-01-13T06:51:44.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-13T08:18:04.000000Z K 7 svn:log V 270 Fix the interrupt race for real. Don't register the interrupt until after the the interface has been configured. I'm not sure how this could ever have worked before, but it should be fixed now. Also break out the interrupt degresitration function into it's own step. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2006-01-13T08:59:40.000000Z K 7 svn:log V 536 1) move all link state detection code from bge_tick_locked() to bge_link_upd() 2) use more robust way of link state handling for BCM5700 rev.B2 chip 3) workaround bug of some BCM570x chips which cause spurious "link up" messages 4) fix bug: some BCM570x chips was unable to detect link state changes after ifconfig down/up sequence until any 'non-link related' interrupt generated. (this happened due to pending internal link state attention which blocked interrupt generation) Approved by: glebius (mentor) MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2006-01-13T09:07:49.000000Z K 7 svn:log V 65 MFC: (1.76) reflect progress in proctitle (1.77) fix mirror mode END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T10:22:01.000000Z K 7 svn:log V 288 Add sosend_dgram(), a greatly reduced and simplified version of sosend() intended for use solely with atomic datagram socket types, and relies on the previous break-out of sosend_copyin(). Changes to allow UDP to optionally use this instead of sosend() will be committed as a follow-up. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T10:23:39.000000Z K 7 svn:log V 236 MFC smb_dev.c:1.29 from HEAD to RELENG_6: Prevent module unloading if there are active connections. PR: kern/89085 Submitted by: Rostislav Krasny Requested by: Rostislav Krasny END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-01-13T11:24:08.000000Z K 7 svn:log V 28 Fix a misspelled reference. END K 10 svn:author V 4 mnag K 8 svn:date V 27 2006-01-13T11:33:40.000000Z K 7 svn:log V 263 Allow to use Time DPA20B 1GB MP3 Player [1] Allow to use Qware BeatZkey! Pro [2] PR: usb/81846 [1], usb/79164 [2] Submitted by: Ruben de Groot [1], Radek Kozlowski [2] Approved by: njl MFC: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-13T11:51:11.000000Z K 7 svn:log V 429 MFC: - Use VLAN_TAG_VALUE() not only to read a dot1q tag value from an m_tag, but also to set it. This reduces complex code duplication and improves its readability. - Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in case if memory allocation failed. - Remove fourth argument from VLAN_INPUT_TAG(), that was used incorrectly in almost all drivers. Indicate failure with mbuf value of NULL. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-13T14:56:51.000000Z K 7 svn:log V 43 MFC: Remove references to snd_vortex1(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-13T15:48:38.000000Z K 7 svn:log V 49 Document 'tablearg' keyword. Wording by: emaste END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-13T16:44:56.000000Z K 7 svn:log V 61 Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-13T17:32:22.000000Z K 7 svn:log V 41 Yesterday netgraph ABI has been changed. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-01-13T17:41:41.000000Z K 7 svn:log V 59 "sd(4)" -> "da(4)", "st(4)" -> "sa(4)". MFC after: 3 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2006-01-13T18:07:52.000000Z K 7 svn:log V 61 Add a daily script to show the status of gmirror(8) devices. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-13T18:10:43.000000Z K 7 svn:log V 139 Workaround for sb16 behave poorly when running at 45000 hz while vchan is enabled. Reported by: many sb16, AWE64 users. MFC after: 1 week END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-13T18:38:56.000000Z K 7 svn:log V 177 Replace malloc(), calloc(), posix_memalign(), realloc(), and free() with a scalable concurrent allocator implementation. Reviewed by: current@ Approved by: phk, markm (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-13T19:21:45.000000Z K 7 svn:log V 165 - Restore VLAN_INPUT_TAG() macro to preserve API compatibility for third party drivers. - Fix bugs destribed in previous revision using macro with another name. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-13T19:26:08.000000Z K 7 svn:log V 55 MFC: Fix /dev entries for cards with multiple modules. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-01-13T19:27:35.000000Z K 7 svn:log V 99 MFC: Fix description of si2 firmware and update the si3 firmware to the latest version in the SDK. END K 10 svn:author V 4 mnag K 8 svn:date V 27 2006-01-13T19:44:44.000000Z K 7 svn:log V 183 Add Time DPA20B MP3 Player (1Gb) [1] Add Qware BeatZkey! Pro [2] Add Merlin SM300 MP3/WMA Player (256Mb) PR: usb/81846 [1], usb/79164 [2] Approved by: njl MFC: 1 week END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-13T20:02:56.000000Z K 7 svn:log V 92 MFC 1.16: fix: documentation for -m option was inserted halfway thru the text of -l option. END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-13T20:05:59.000000Z K 7 svn:log V 33 MFC 1.74: xref mount_reiserfs(8) END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-13T20:41:04.000000Z K 7 svn:log V 177 Now with multi-commit support. Use: `./mfc.pl -m "msg-id-1 msg-id-2" -i hurray' or `./mfc.pl -f - -i yippee' and copy/paste two commit logs Approved by: ssouhlal (implicit) END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-13T20:43:00.000000Z K 7 svn:log V 48 Bump version. Approved by: ssouhlal (implicit) END K 10 svn:author V 6 jasone K 8 svn:date V 27 2006-01-13T22:37:48.000000Z K 7 svn:log V 87 Note that libc's malloc implementation has been replaced. Approved by: markm (mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:16:29.000000Z K 7 svn:log V 207 In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved from using a fifo to talk to rpc.lockd to using a special device node. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:20:46.000000Z K 7 svn:log V 260 When freeing the chain of if_ef devices on an aborted load, use SLIST_FOREACH_SAFE() rather than SLIST_FOREACH(), as elements are freed on each iteration of the loop. This prevents use-after-free. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:24:09.000000Z K 7 svn:log V 313 Check the right ifnet pointer to see if if_alloc() failed or not in ef_clone(); we were testing the original ifnet, not the one allocated. When aborting ef_clone() due to if_alloc() failing, free the allocated efnet structure rather than leaking it. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:27:12.000000Z K 7 svn:log V 183 When calling bioq_first() to see if a queue is empty in bioq_disksort(), don't save the return value as we won't use it. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:47:55.000000Z K 7 svn:log V 285 Remove dead code associated with 'mcopy' in ipx_forward(): at no point are the contents of the forwarded mbuf ever copied into mcopy, so there's no need to have mcopy, conditionally look at mcopy, or conditionally free it. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-01-13T23:50:21.000000Z K 7 svn:log V 152 - Correct amr_enquiry3 structure[1]. - Remove redundant AMR_CONFIG_ENQ3_SOLICITED_NOTIFY from the previous commit while I am here. PR: kern/29727 [1] END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-13T23:53:23.000000Z K 7 svn:log V 233 In ipcomp6_input(), check 'md' not 'm' after a call to m_pulldown(): 'm' may be a stale pointer at this point, and we're interested in whether or not m_pulldown() failed. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-14T00:05:44.000000Z K 7 svn:log V 284 In spx_attach() and spx_detach(), there is no need to check whether the ipxpcb is NULL or not: in attach it will be, and on detach it won't be. If for any reason these invariants don't hold true, panicking is a good idea. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-14T00:09:41.000000Z K 7 svn:log V 193 When storing the results of malloc() in a pointer to a pointer, check the pointer to a pointer for NULL, not the pointer for NULL. Noticed by: Coverity Prevent analysis tool MFC after: 3 days END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-01-14T00:35:18.000000Z K 7 svn:log V 286 MFC: Fix broken playback capabilities to prevent impending disaster. The minimum / maximum speed was way too low / high! minspeed = 2000 - is this for real ? maxspeed = 767999 - is this for real ????? Wrap everything into 8000 - 48000 boundary, just to be safe. END K 10 svn:author V 6 markus K 8 svn:date V 27 2006-01-14T00:39:10.000000Z K 7 svn:log V 393 - Add support for setting the fan control mode to manual or automatic - Add support for adjusting the fan speed if the fan control mode is manual Documentation for the relevant embedded controller register was obtained from http://www.thinkwiki.org/wiki/Patch_for_controlling_fan_speed Tested on: R51 by Fabian Keil T41p by markus Requested by: many Approved by: philip MFC after: 1 week END K 10 svn:author V 6 markus K 8 svn:date V 27 2006-01-14T00:39:26.000000Z K 7 svn:log V 135 - Document the latest changes for controlling the fan - s/Thinklight/ThinkLight/ in two cases Approved by: brueffer MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-01-14T00:52:32.000000Z K 7 svn:log V 57 Add the HP NC7771 adapter to the list of known products. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-01-14T01:05:22.000000Z K 7 svn:log V 75 MFC: Obtain mount point lock before restarting sync loop if vget() failed. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-01-14T01:07:14.000000Z K 7 svn:log V 63 MFC: Broaden scope of softdep_worklist_busy rwlock protection. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-01-14T01:09:10.000000Z K 7 svn:log V 67 MFC: Close race where wakeup after background write could be lost. END K 10 svn:author V 5 tegge K 8 svn:date V 27 2006-01-14T01:18:03.000000Z K 7 svn:log V 134 MFC: Add marker vnodes to ensure that all vnodes associated with the mount point are iterated over when using MNT_VNODE_FOREACH. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-14T01:55:24.000000Z K 7 svn:log V 828 Add the following to the taskqueue api: taskqueue_start_threads(struct taskqueue **, int count, int pri, const char *name, ...); This allows the creation of 1 or more threads that will service a single taskqueue. Also rework the taskqueue_create() API to remove the API change that was introduced a while back. Creating a taskqueue doesn't rely on the presence of a process structure, and the proc mechanics are much better encapsulated in taskqueue_start_threads(). Also clean up the taskqueue_terminate() and taskqueue_free() functions to safely drain pending tasks and remove all associated threads. The TASKQUEUE_DEFINE and TASKQUEUE_DEFINE_THREAD macros have been changed to use the new API, but drivers compiled against the old definitions will still work. Thus, recompiling drivers is not a strict requirement. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T02:11:56.000000Z K 7 svn:log V 117 Remove files from the vendor branch that are no longer present in BIND 9.3.2 that were mistakenly removed from HEAD. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T02:45:49.000000Z K 7 svn:log V 64 Add a reminder to remove obsolete files from the vendor branch. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-01-14T03:51:31.000000Z K 7 svn:log V 501 Add code that clears certain capabilities from the member interface, these are restored when its removed from the bridge. At the moment we only clear IFCAP_TXCSUM. Since a locally generated packet on the bridge may be sent out any one or more interfaces it cant be assumed that every card does hardware csums. Most bridges don't generate a lot of traffic themselves so turning off offloading won't hurt, bridged packets are unaffected. Tested by: Bruce Walker (bmw borderware.com) MFC after: 5 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T06:13:17.000000Z K 7 svn:log V 67 These files are only relevant in HEAD, where the imports are done. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-01-14T08:12:25.000000Z K 7 svn:log V 203 - Change the exit message from "make cleandepend; make depend" to "make cleandepend && make depend". PR: bin/91765 Submitted by: Soeren Straarup Approved by: cpercival MFC after: 3 days END K 10 svn:author V 3 rse K 8 svn:date V 27 2006-01-14T08:31:02.000000Z K 7 svn:log V 341 MFC r1.13: 1. Add missing semicolon between "warn" and "return" to make sure the line continuation backslash doesn't cause "warn" to print "return". 2. Group "warn" and "return" together as the "return 1" should be performed only if the "kldload nfsclient" also failed (and not already if the "vfs.nfs" sysctl(8) check failed). END K 10 svn:author V 3 rse K 8 svn:date V 27 2006-01-14T08:33:33.000000Z K 7 svn:log V 60 MFC r1.16: Remove superfluous line continuation backslash. END K 10 svn:author V 3 rse K 8 svn:date V 27 2006-01-14T08:35:27.000000Z K 7 svn:log V 252 MFC r1.276: Fix semantics in the documentation of the "jail_socket_unixiproute_only" variable ("YES" vs. "NO") and be more precise and intuitive on what is actually allowed/restricted by this variable ("UNIX/IP/route sockets" vs. "TCP/IP protocols"). END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-01-14T09:41:35.000000Z K 7 svn:log V 83 Correct STAILQ usage in purge of resourcelist. Found with: Coverity Prevent(tm) END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-01-14T09:46:27.000000Z K 7 svn:log V 101 Make resources do the right thing by design instead of accident. Found with: Coverity Prevent(tm) END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-14T10:00:13.000000Z K 7 svn:log V 39 MFC r1.1343: Fix minor sorting issue. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-14T10:05:07.000000Z K 7 svn:log V 165 - Restore VLAN_INPUT_TAG() macro to preserve API compatibility for third party drivers. - Fix bugs destribed in previous revision using macro with another name. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T10:13:50.000000Z K 7 svn:log V 25 MFC import of BIND 9.3.2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T10:37:51.000000Z K 7 svn:log V 53 Complete the MFC process for removing thread support END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-01-14T10:42:13.000000Z K 7 svn:log V 25 MFC import of BIND 9.3.2 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-14T11:18:32.000000Z K 7 svn:log V 185 Remove dead code: 'opts' is not used in udp_append(), only in udp_input(), so no need to assign it to NULL or conditionally free it. Found with: Coverity Prevent(tm) MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-01-14T11:33:43.000000Z K 7 svn:log V 127 Enable mutex inheritance code in mutex_fork, I forgot to turn on it. while here, add some comments about process shared mutex. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-01-14T11:40:32.000000Z K 7 svn:log V 289 In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error' resulted in deadcode, as 'error' could never be 0. What this logic was originally meant to handle is not clear -- it's been this way (broken) since at least RELENG_4. Found with: Coverity Prevent(tm) MFC after: 3 days END K 10 svn:author V 3 pav K 8 svn:date V 27 2006-01-14T12:13:04.000000Z K 7 svn:log V 52 MFC 1.34: mention the size of the additional header END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-14T12:16:39.000000Z K 7 svn:log V 59 Fix two memory leakages. Found with: Coverity Prevent(tm) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-14T12:26:32.000000Z K 7 svn:log V 61 Correct off-by-one errors. Found with: Coverity Prevent(tm) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-14T13:04:08.000000Z K 7 svn:log V 188 UMA can return NULL not only in case when our zone is full, but also in case of generic memory shortage. In the latter case we may not find an old entry. Found with: Coverity Prevent(tm) END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-01-14T13:22:12.000000Z K 7 svn:log V 147 - Add comments about snd_au88x0. - Clarify that snd_audiocs is for sparc64 only. - Expand snd_ich and snd_t4dwave comments. Reviewed by: ariff END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-01-14T14:17:27.000000Z K 7 svn:log V 52 Remove dead code. Found with: Coverity Prevent(tm) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-01-14T14:18:34.000000Z K 7 svn:log V 540 MFC bktr_card.c 1.35, bktr_card.h 1.12, bktr_tuner.c 1.20, bktr_tuner.h 1.7: Add some cards: - several TerraTec TValue [1] - PixelView PlayTV Pro REV-4C [2] In case you have the PixelView card, please tell us the "pciconf -v -l" output on multimedia@FreeBSD.org if it works. There are revisions out there which may not work and we need to know which ones work. PR: 53383 [1], 76002 [2] Submitted by: Tanja Wittke [1], barner [1], Dan Angelescu [2] END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-01-14T14:21:59.000000Z K 7 svn:log V 132 MFC r1.12: Emit USB_EVENT_DRIVER_DETACH on detach. PR: 83247 Submitted by: Sangwoo Shim END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-01-14T14:32:41.000000Z K 7 svn:log V 862 Incorporate the O_NONBLOCK open semantics of Linux and Solaris. This allows an application to upon a tape (yea, even the non-control device) even if it cannot establish a mount session. If the open cannot establish a mount session and O_NONBLOCK was specified, the tape becomes 'open pending mount'. All I/O operations that would require access to a tape thereafter until a close attempt to initiate the mount session. If the mount session succeeds, the tape driver transitions to full open state, else returns an appropriate I/O error (ENXIO). At the same time, add a change that remembers whether tape is being opened read-only. If so, disallow 'write' operations like writing filemarks that bypass the normal read-only filtering operations that happen in the write(2) syscall. Reviewed by: ken, justin, grog MFC after: 2 weeks Suggested by: The Bacula Team END K 10 svn:author V 6 emaste K 8 svn:date V 27 2006-01-14T15:18:02.000000Z K 7 svn:log V 89 MFC r1.121: Don't send an ICMP response for IP fragments. Approved by: rwatson (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2006-01-14T15:35:21.000000Z K 7 svn:log V 236 The LinkSys EG1032 is supported by re(4) not nge(4) [1]. I couldn't find the ID for the EG1064 anywhere in our sources so I removed the reference for now. Pointed out by: Robert Huff [1] Reviewed by: simon END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-14T15:51:42.000000Z K 7 svn:log V 129 Rename driver_t variables. Use device_printf() instead of homerolled printf. Use the provided softc instead of rolling our own. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-14T15:59:54.000000Z K 7 svn:log V 35 Replace bogus code with real code. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-14T16:01:01.000000Z K 7 svn:log V 74 Don't allocate an asr_ccb in asr_attach, it hasn't been needed for years. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2006-01-14T16:39:31.000000Z K 7 svn:log V 136 Check the correct TTL in both the IPv6 and IPv4 cases. Submitted by: glebius Reviewed by: gnn, bz Found with: Coverity Prevent(tm) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-01-14T17:22:47.000000Z K 7 svn:log V 100 Free the newtag if we exit with a failure from alloc_bounce_zone(). Found by: Coverity Prevent(tm) END