ƒ´ 149497 182 986 172 175 197 402 195 155 177 382 172 196 184 950 232 460 241 164 178 393 134 562 416 313 201 172 733 521 460 764 844 128 660 241 143 227 246 203 197 182 255 844 135 347 268 157 407 165 191 192 195 124 152 223 526 138 649 227 340 256 122 246 583 108 151 224 285 601 575 133 351 310 453 200 166 224 449 206 260 164 222 197 177 165 139 388 345 345 133 217 370 164 136 217 133 141 263 168 143 107 203 173 438 437 289 120 647 240 179 195 266 827 147 128 305 210 144 368 128 647 222 193 203 224 331 266 414 274 358 280 295 1203 283 218 541 119 237 132 122 132 375 349 678 686 403 207 181 359 327 752 430 212 320 317 268 519 553 254 220 118 378 147 168 164 316 138 558 223 194 206 230 182 202 507 479 304 365 189 219 312 239 204 357 K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:27:38.000000Z K 7 svn:log V 893 - Use m_defrag() instead of homerolling our own variant tulip_mbuf_compress(). If we fail to allocate a new mbuf to copy the data into, put the mbuf back in the driver's send queue so that we can retry it later rather than throwing the packet away. - Use m_devget() instead of doing it inline ourselves in the TULIP_COPY_RXDATA case. If we fail to allocate an mbuf to copy the data into, don't forget about the original mbuf cluster. The old code would lose the pointer and leak the cluster in that case. Now it doesn't lose it but always sticks the original rx buffer back into the receive ring after trying to copy the data out and send it up the stack. Also, if we fail to allocate a new mbuf to copy the data into, log an input error. Also, don't combine the priming case with the received-a-packet case to make the code flow a bit clearer and easier to follow. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:33:05.000000Z K 7 svn:log V 80 MFC: Fix up the locking in pcn(4) and mark it MPSAFE. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:35:45.000000Z K 7 svn:log V 83 MFC: Fix up locking and remove spls and support for 4.x. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:40:03.000000Z K 7 svn:log V 104 MFC: Various locking fixups including removing Giant from a bus dma callback. Approved by: re (scottl) END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-26T14:40:32.000000Z K 7 svn:log V 310 Shuffle around the order in which the components are compiled. This way, the VINUMDRIVE class is loaded before the VINUM class, but since geom does the tasting for newly arrived classes last-in-first-out, the VINUM class tastes first. This removes the need to call gv_parse_config() in the drive taste path. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:46:22.000000Z K 7 svn:log V 102 MFC: Fixup locking including moving the taskqueue_drain() out of xl_stop(). Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:52:36.000000Z K 7 svn:log V 63 MFC: Fix up locking and mark MPSAFE. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T14:53:57.000000Z K 7 svn:log V 85 MFC: Add aliases for atomic operations on 64-bit integers. Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-26T15:14:33.000000Z K 7 svn:log V 285 Cleanup the reader/writer policy in netgraph(4). Assign either reader or writer flag on item in the function, that allocates the item. Do not modify these flags when item is applied or queued. The only exceptions are node and hook overrides - they can change item flags to writer. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-26T15:27:18.000000Z K 7 svn:log V 76 Add newline to debuging printf. PR: kern/85271 Submitted by: Simon Morgan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T15:27:23.000000Z K 7 svn:log V 103 MFC: Use if_printf() and device_printf() and remove ste_unit from the softc. Approved by: re (scottl) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-26T15:31:09.000000Z K 7 svn:log V 92 MFC: Conditionally lock Giant in xl's taskqueue handler function. Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-26T18:08:24.000000Z K 7 svn:log V 855 Pretty print multipath routes. Before (backslash in c syntax meaning): 6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms \ p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms 7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms \ xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms \ xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms After: 6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms 7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms Submitted by: Richard A Steenbergen MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-26T18:19:01.000000Z K 7 svn:log V 136 Clarify the description of the bus_dmasync_op_t operation flags. This has been misleading and even wrong since the import of the page. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-26T18:39:31.000000Z K 7 svn:log V 363 Vendor update of timezone database. Changes to historical dates in: Azerbaijan, B.I.O.T., China, Denmark, Libya, and Poland. Changes to current dates in: East Timor, Haiti, Israel, Kazakhstan, Nicaragua, Paraguay, Samoa, Tunisia, Uruguay Changes to future dates in: Australia, Iran, United States Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2005l.tar.gz END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-26T18:39:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r149511, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-26T18:39:32.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2005l'. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-26T18:46:27.000000Z K 7 svn:log V 82 Merge tzdata2005l update from vendor branch. MT6: after release MT5: immediately END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-26T18:54:06.000000Z K 7 svn:log V 300 Allow one to override the endian flags for make distribution. This can be useful for when you know that you are doing something that won't work with the standard settings and different settings are more appropriate. This allows 5.3 tools to build a 6.x userland when these values are set to null. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-26T18:54:31.000000Z K 7 svn:log V 38 Merge tzdata2005l update from vendor. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-26T19:49:32.000000Z K 7 svn:log V 466 MFC: [ hwpmc_mod.c:1.14,1.15 ] - Print PMC capabilities at module load time. - Return EOPNOTSUPP instead of EINVAL if a PMC allocation request specifies a PMC capability (e.g., sampling) that is not supported by hardware. Return EINVAL early if the PMC class passed in is not recognized. [ hwpmc_x86.c:1.3 ] - On x86 processors, turn off 'INTERRUPT' capabilities on PMCs if the CPU does not have its local APIC enabled. Approved by: re (scottl) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-26T20:00:25.000000Z K 7 svn:log V 319 MFC: if_bridge.c, r1.19 > The mtu check in bridge_enqueue is bogus as the maximum Ethernet frame is > actually 1514, so comparing the mbuf length which includes the Ethernet > header > to the interface MTU is wrong. > > The check was a little over the top so just remove it. Approved by: re (scottl), mlaier (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-26T20:31:04.000000Z K 7 svn:log V 217 The $medium string often contains quoted values with spaces in them (ssids, for example). Follow the example of the ISC script and wrap ifconfig calls using $medium in eval "..." so this works. Reported by: iedowse END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-26T20:40:31.000000Z K 7 svn:log V 106 MFC: Don't set the COMPLETE flag in an inodedep structure before the related inode has been written. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2005-08-26T23:39:44.000000Z K 7 svn:log V 79 fix CardBus issue for Compaq R3000 series laptop Approved by: anholt (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-27T01:17:42.000000Z K 7 svn:log V 636 Fix a panic in softclock() if the interface is destroyed with a bpf consumer attached. This is caused by bpf_detachd clearing IFF_PROMISC on the interface which does a SIOCSIFFLAGS ioctl. The problem here is that while the interface has been stopped, IFF_UP has not been cleared so IFF_UP != IFF_DRV_RUNNING, this causes the ioctl function to init() the interface which resets the callouts. The destroy then completes and frees the softc but softclock will panic on a dead callout pointer. Ensure ifp->if_flags matches reality by clearing IFF_UP when we destroy. Silence from: rwatson Approved by: mlaier (mentor) MFC after: 3 days END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-27T04:25:49.000000Z K 7 svn:log V 425 MFC: { r1.8--r1.10 } - Add COMPATIBILITY and HISTORY sections. Fix an -mdoc error. Cross-reference pmclog(3). - Document two new diagnostic messages in hwpmc(4). - Document the diagnostic message printed at startup time. Keep the list of diagnostic messages sorted. - Document the recently introduced EOPNOTSUPP error return. Repair sort ordering for the list of error descriptions. Approved by: re (hrs) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-27T14:44:10.000000Z K 7 svn:log V 363 Rewrite linux_ifconf() to be more like ifconf() in net/if.c so that we do not call uiomove() while IFNET_RLOCK() is held. This eliminates the witness warning: Calling uiomove() with the following non-sleepable locks held: exclusive sleep mutex ifnet r = 0 (0xc096dd60) locked @ /usr/src/sys/modules/linux/../../compat/linux/linux_ioctl.c:2170 MFC after: 2 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-27T15:52:05.000000Z K 7 svn:log V 668 MFC: sys/boot/sparc64/loader/metadata.c 1.14, sys/dev/uart/uart_cpu_sparc64.c 1.21 - Change the code that determines whether to use a serial console and which serial device to use in that case respectively to not rely on the OFW names of the input/output and stdin/stdout devices. While at it save on some variables and for sys/boot/sparc64/loader/metadata.c move the code in question to a new function md_bootserial() so it can be kept in sync with uart_cpu_getdev_console() more easily. - Adjust the size of some buffers. - Remove the package handle of the '/options' node from the argument list of uart_cpu_getdev_dbgport(). Approved by: re (scottl) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-27T16:03:40.000000Z K 7 svn:log V 748 - Special-case NMI handling on the AMD64. On entry or exit from the kernel the 'alltraps' and 'doreti' code used taken by normal traps disables interrupts to protect the critical sections where it is setting up %gs. This protection is insufficient in the presence of NMIs since NMIs can be taken even when the processor has disabled normal interrupts. Thus the NMI handler needs to actually read MSR_GBASE on entry to the kernel to determine whether a swap of %gs using 'swapgs' is needed. However, reads of MSRs are expensive and integrating this check into the 'alltraps'/'doreti' path would penalize normal interrupts. - Teach DDB about the 'nmi_calltrap' symbol. Reviewed by: bde, peter (older versions of this change) END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-08-27T16:07:12.000000Z K 7 svn:log V 33 Re-enable sampling on the AMD64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-27T18:02:15.000000Z K 7 svn:log V 564 MFC: 1.30 - Wrap the handler and associated code for collecting completed RX descriptors that are still marked owned in #ifdef GEM_RINT_TIMEOUT instead of #if 0 for convenience. - Remove stale code and comment about relying on the preset XIF config. - In case of a watchdog timeout call the init function instead of just the start function so the chip is properly reset. Merge from hme(4): - Convert to use bus_dmamap_load_mbuf_sg() for loading RX buffers. - Protect from a duplicate mbuf free panic in case the DMA engine hangs. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-27T18:04:43.000000Z K 7 svn:log V 145 MFC: 1.98 Now that at least some screen savers work on sparc64 sync with other archs and enable splash(4) by default. Approved by: re (scottl) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-27T18:14:53.000000Z K 7 svn:log V 48 Remove the man page of the recently axed el(4). END K 10 svn:author V 5 tegge K 8 svn:date V 27 2005-08-27T18:40:06.000000Z K 7 svn:log V 132 MFC: Don't set the COMPLETE flag in an inodedep structure before the related inode has been written. Approved by: re (scottl) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-27T19:51:14.000000Z K 7 svn:log V 153 MFamd64 revision 1.526 When pmap_allocpte() destroys a 2/4MB "superpage" mapping it does not reduce the pmap's resident count accordingly. It should. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-08-27T20:12:11.000000Z K 7 svn:log V 105 Note the addition of bsdiff(1), bspatch(1), and portsnap(8) into the base system. Approved by: re (hrs) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-27T20:51:12.000000Z K 7 svn:log V 101 As with NO_CRYPT, don't try to compile geli(8) when NO_OPENSSL is defined either. MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-08-27T20:57:06.000000Z K 7 svn:log V 88 Correct a comment to match the configuration parameter it describes. MFC after: 3 days END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-27T22:25:51.000000Z K 7 svn:log V 157 Make it clear that the .ko extention of a module to be loaded is optional. PR: docs/85356 Submitted by: Julien Gabel MFC after: 3 days END K 10 svn:author V 6 markus K 8 svn:date V 27 2005-08-27T22:51:25.000000Z K 7 svn:log V 748 MFC: rev. 1.5 + 1.6 rev. 1.6: - Document the led(4) interface for the Thinklight - Bump .Dd rev. 1.5: - Clarify how events are used and how the different event sysctl correlate - Document how an event looks like that is received by devd(8) from acpi_ibm(4) - Document the event codes as they occur on a T41p - Add a note about sysctl.conf and an Xref to it - Add an example section providing an example script and an entry for devd.conf. This is an adapted version of the one in acpi_fujitsu(4). - s/Fn-F4/Fn+F4/ for consistency sake - Add a button description where refering to a T41p, remove it otherwise, since it might vary from model to model - Bump .Dd Approved by: re (hrs) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-28T00:14:21.000000Z K 7 svn:log V 43 Verify length of the data to read as well. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-28T00:19:54.000000Z K 7 svn:log V 254 Revert the previous change for two reasons: (1) If vm_map_find() succeeds but vm_map_wire() fails, then a vm object, vm map entries, and kernel_map free space is leaked and (2) unwiring is handled automatically by vm_map_remove(). Suggested by: tegge END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-28T00:24:58.000000Z K 7 svn:log V 175 Eliminate an unneeded reference on a vm object. If, in fact, the nearby vm_map_find() fails, then the excess reference causes the vm object to be leaked. Reviewed by: tegge END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-28T02:30:50.000000Z K 7 svn:log V 62 Update number and size of Ports Collection. MFC after: 1 day END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-08-28T04:31:40.000000Z K 7 svn:log V 310 Merge rtsock.c:1.127 from HEAD to RELENG_6: 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. Also, add an XXX regarding locking in sysctl. Approved by: re (scottl) END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-28T04:43:48.000000Z K 7 svn:log V 68 I must have missed the release note for the sendmail 8.13.4 import. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-28T04:50:11.000000Z K 7 svn:log V 99 Correctly handle vm_map_wire()'s failure. (See also revisions 1.81 and 1.82.) Reviewed by: tegge END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-28T04:58:25.000000Z K 7 svn:log V 95 MFC: sendmail 8.13.4 and hoststat(8)/purgestat(8) man page linking Reminder by: Terry Kennedy END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-28T05:11:56.000000Z K 7 svn:log V 98 MFC: sendmail 8.13.4 and hoststat(8)/purgestat(8) man page linking Reminder by: Terry Kennedy END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-08-28T05:38:40.000000Z K 7 svn:log V 32 Handle vm_map_wire()'s failure. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-08-28T08:20:41.000000Z K 7 svn:log V 58 Remove the el(4) device, which has been retired recently. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-28T09:03:45.000000Z K 7 svn:log V 130 MFC rev. 1.52: List -W as one of the meaningful options to the -i (interfaces) display of netstat(1). Approved by: re (hrs) END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-28T09:08:05.000000Z K 7 svn:log V 433 MFC defaults/rc.conf#1.259, rc.subr#1.37: Stop hard-coding an -M flag to mdmfs(8) in /etc/rc.subr. Now this flag can be set, or not set, for memory-backed file systems on individual basis, as illustrated by the rc.conf(5) variables tmpmfs_flags and varmfs_flags. The flag is set for those FS'en by default, in /etc/defaults/rc.conf, in order to stay compatible with the old rc.subr behaviour. Approved by: re (scottl) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2005-08-28T13:11:08.000000Z K 7 svn:log V 42 Fix kernel build. Reported by: tinderbox END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-28T15:07:30.000000Z K 7 svn:log V 553 - Allow for VLAN-sized frames and set IFCAP_VLAN_MTU. - On resume all registers have to be initialized again like after power-on so reset sc_inited in gem_suspend() in order get all of the registers set next time gem_init_regs() is called. - On at least some ERI and GEM revisions GEM_MAC_RX_OVERFLOW happen often due to a silicon bug and re-initializing is all we can do about these errors so make handling them non-verbose. - Remove a superfluous memset(3) call in gem_meminit(), all elements are initialized to 0 anyway. MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-08-28T15:08:57.000000Z K 7 svn:log V 131 Add gem(4) to the list of devices supporting VLAN-sized frames natively (since sys/dev/gem/if_gem.c rev. 1.34). MFC after: 1 week END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-28T17:04:43.000000Z K 7 svn:log V 242 MFC rev 1.292: Set the mountpoint path in the superblock (fs_fsmnt) at mount-time so that it appears in the various messages (not cleanly unmounted, filesystem full, etc). This has been broken since rev 1.261. Approved by: re (scottl) END K 10 svn:author V 2 le K 8 svn:date V 27 2005-08-28T18:16:31.000000Z K 7 svn:log V 164 Prevent that sync operations can be started when they are already in progress, and be a bit more user friendly in terms of error messages returned from the kernel. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-08-28T18:48:04.000000Z K 7 svn:log V 29 Fix minor typo in a comment. END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2005-08-28T23:00:11.000000Z K 7 svn:log V 148 Fix a typo in vop_rename_pre() where we ended up using vholdl() instead of vhold(), even though the vnode interlock is unlocked. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-28T23:56:25.000000Z K 7 svn:log V 490 Finish conversion to bus space and make ed MP safe. o Lock ed o Fix extra newline in probe messages o Eliminate gone. o Make detach less-racy. o Eliminate spl* o Switch from timeout/untimeout to callout interface. o Read/write card memory using bus_space calls. o generalize readmem so that we don't need ifs in the code. o Fix memory stuff to be consistant. o Remove OLDCARD compat stuff. o Mark interrupt as MPSAFE. # sic, hpp not tested at all # ISA and PCI attachments lightly tested END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T00:05:04.000000Z K 7 svn:log V 16 Simplify names. END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-29T01:16:43.000000Z K 7 svn:log V 56 MFC: r1.240 - update ports count and space requirement. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T05:46:05.000000Z K 7 svn:log V 131 Global Village appears to be using 0x018c as its vendor ID, but this doesn't appear in the official lists, so make a note of that. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-08-29T06:47:43.000000Z K 7 svn:log V 189 o Discuss the ways to escape an alias. o Fix the alias syntax lines. o Refer to the Aliases subsection. PR: docs/84914 Submitted by: garys Approved by: trhodes (mentor) MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T08:58:45.000000Z K 7 svn:log V 504 MFC 1.87: In order to support CARP interfaces kernel was taught to handle more than one interface in one subnet. However, some userland apps rely on the believe that this configuration is impossible. Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch is on, then kernel will refuse to add an additional interface to already connected subnet unless the interface is CARP. Default value is off. PR: bin/82306 In collaboration with: mlaier Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T08:59:30.000000Z K 7 svn:log V 478 MFC 1.87: In order to support CARP interfaces kernel was taught to handle more than one interface in one subnet. However, some userland apps rely on the believe that this configuration is impossible. Add a sysctl switch net.inet.ip.same_prefix_carp_only. If the switch is on, then kernel will refuse to add an additional interface to already connected subnet unless the interface is CARP. Default value is off. PR: bin/82306 In collaboration with: mlaier END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-29T09:01:57.000000Z K 7 svn:log V 41 Fix support for the VIA 6421 controller. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T09:01:58.000000Z K 7 svn:log V 254 MFC: Backout revision 1.54, because it exposes a worse problem, than it fixes. I believe the problem lives somewhere outside ng_ksocket, but until it is found, let the node be working. PR: kern/84952 PR: kern/82413 Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T09:04:10.000000Z K 7 svn:log V 213 Backout last revision, because it exposes a worse problem, than it fixes. I believe the problem lives somewhere outside ng_ksocket, but until it is found, let the node be working. PR: kern/84952 PR: kern/82413 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T09:06:30.000000Z K 7 svn:log V 356 MFC 1.140: When we have a published ARP entry for some IP address, do reply on ARP requests only on the network where this IP address belong, to. Before this change we did replied on all interfaces. This could lead to an IP address conflict with host we are doing ARP proxy for. PR: kern/75634 Reviewed by: andre Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T09:10:22.000000Z K 7 svn:log V 103 MFC: Remove all references to T/TCP, which was removed several months ago. Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-29T09:10:23.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 6 philip K 8 svn:date V 27 2005-08-29T10:08:04.000000Z K 7 svn:log V 128 Fix unhandled malloc errors. PR: bin/83467 Submitted by: Dan Lukes Prodded by: glebius MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T10:23:46.000000Z K 7 svn:log V 352 - Document the fact that the real length of listen queue is 1.5 more than the value of backlog argument. - Document the fact that a subsequent listen(2) calls on the listening socket change the backlog argument. - Note that current listen queue lengths can be queried using netstat(1). Submitted by: Igor Sysoev Wording by: gnn END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-08-29T11:14:18.000000Z K 7 svn:log V 113 Add a missing dev_relthread() call. Remove unused variable. Spotted by: Hans Petter Selasky END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-29T11:34:08.000000Z K 7 svn:log V 167 Add 'depth' argument to CTRSTACK() macro, which allows to reduce number of ktr slots used. If 'depth' is equal to 0, the whole stack will be logged, just like before. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-29T11:34:09.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-29T11:39:24.000000Z K 7 svn:log V 129 Use KTR to log allocations and destructions of bios. This should hopefully allow to track down "duplicate free of g_bio" panics. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-29T13:47:08.000000Z K 7 svn:log V 100 Plug item leak in case when not all hooks are connected. Found by: David Vos END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-29T13:47:42.000000Z K 7 svn:log V 80 Don't attempt to initialize the rtld lock if it can't be malloc()'d. PR: 83452 END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-29T13:49:18.000000Z K 7 svn:log V 68 Handle failure to malloc() part of the thread structure. PR: 83457 END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-29T15:18:04.000000Z K 7 svn:log V 47 Unbreak stand-alone build of the de(4) module. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T15:46:41.000000Z K 7 svn:log V 295 Eliminate bogus seatbelt in wi_cmd. This may have been appropriate for the spl-era locking, but now that we can have multiple, concurrent interrupts for multiple wi devices, having a global check to make sure at most one of them was in wi_cmd no longer makes sense. MFC After: 2 decifortnight END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-29T16:23:21.000000Z K 7 svn:log V 251 MFC to RELENG_6 Make sure ng_fec_init() uses the same calling convention as the rest of the code, i.e. ng_fec_init() is called with the ifp->if_softc pointer and NOT with the ifp pointer. PR: kern/85239 Reviewed by: brooks Approved by: re (scottl) END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-29T16:31:51.000000Z K 7 svn:log V 251 MFC to RELENG_5 Make sure ng_fec_init() uses the same calling convention as the rest of the code, i.e. ng_fec_init() is called with the ifp->if_softc pointer and NOT with the ifp pointer. PR: kern/85239 Reviewed by: brooks Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T16:48:28.000000Z K 7 svn:log V 41 Fix obsolete comment. MFC After: 2 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-29T17:00:54.000000Z K 7 svn:log V 123 MFC to RELENG_6 Address minor locking issues. Use taskqueue_swi instead of taskqueue_swi_giant. Approved by: re (scottl) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-29T17:01:51.000000Z K 7 svn:log V 273 Update to tzdata2005m release from Arthur Olson. Only updates are to commentary and to "Link" directives, but the latter should fix reported problems with clean installs (by no longer installing those links). Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2005m.tar.gz END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-08-29T17:01:52.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create tag 'tzdata2005m'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T17:03:31.000000Z K 7 svn:log V 44 Fix another instance of old info re: miibus END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-08-29T17:03:51.000000Z K 7 svn:log V 123 MFC to RELENG_5 Address minor locking issues. Use taskqueue_swi instead of taskqueue_swi_giant. Approved by: re (scottl) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-29T17:04:47.000000Z K 7 svn:log V 37 Merge tzdata200m from vendor branch. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-29T17:05:54.000000Z K 7 svn:log V 45 Merge tzdata2005m update from vendor branch. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T17:52:53.000000Z K 7 svn:log V 168 MFC rev. 1.31 (correct layer 2 broad- and multicast handling) and rev. 1.29 (Misc spelling and/or English fixes in comments). PR: kern/85052 Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T17:57:36.000000Z K 7 svn:log V 74 MFC rev. 1.27 (Pretty print multipath routes). Approved by: re (scottl) END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-08-29T18:19:06.000000Z K 7 svn:log V 51 In ata_mode2str() properly list -1 as UNSUPPORTED. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-29T18:45:21.000000Z K 7 svn:log V 15 Better comment END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T18:46:39.000000Z K 7 svn:log V 108 MFC addition of memmem(3). Submitted by: Pascal Gloor Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T18:51:01.000000Z K 7 svn:log V 79 MFC rev. 1.31 (correct layer 2 broad- and multicast handling). PR: kern/85052 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T19:45:39.000000Z K 7 svn:log V 343 Add m_demote(struct mbuf *m, int all) to clean up mbuf (chain) from any tags and packet headers. If "all" is set then the first mbuf in the chain will be cleaned too. This function is used before an mbuf, that arrived as packet with m->flags & M_PKTHDR, is appended to an mbuf chain using m->m_next (not m->m_nextpkt). Reviewed by: glebius END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T19:58:56.000000Z K 7 svn:log V 342 Add m_sanity(struct mbuf *m, int sanitize) to do some heavy sanity checking on mbuf's and mbuf chains. Set sanitize to 1 to garble illegal things and have them blow up later when used/accessed. m_sanity()'s main purpose is for KASSERT()'s and debugging of non- kosher mbuf manipulation (of which we have a number of). Reviewed by: glebius END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-29T20:00:31.000000Z K 7 svn:log V 196 MFC: Locking and sundry fixes; mark MPSAFE: - Use device_printf() and if_printf(). - Remove pre-new-bus and other #if 0 code. - Overhaul failure handling in my_attach(). Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-29T20:06:02.000000Z K 7 svn:log V 25 Correct previous commit. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-29T20:15:33.000000Z K 7 svn:log V 552 Add m_copymdata(struct mbuf *m, struct mbuf *n, int off, int len, int prep, int how). Copies the data portion of mbuf (chain) n starting from offset off for length len to mbuf (chain) m. Depending on prep the copied data will be appended or prepended. The function ensures that the mbuf (chain) m will be fully writeable by making real (not refcnt) copies of mbuf clusters. For the prepending the function returns a pointer to the new start of mbuf chain m and leaves as much leading space as possible in the new first mbuf. Reviewed by: glebius END K 10 svn:author V 5 garys K 8 svn:date V 27 2005-08-29T20:41:58.000000Z K 7 svn:log V 145 Added a sentence to explain what "span" means. PR: docs/84850 Submitted by: garys MFC after: 3 days Approved by: keramida END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-08-29T21:28:12.000000Z K 7 svn:log V 84 Wrap a line due to a new sentence. Noticed by: simon Approved by: trhodes (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-08-29T23:08:01.000000Z K 7 svn:log V 99 Extend utility to allow recovering single file from the deffective media. MFC after: 2 weeks END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2005-08-30T03:41:59.000000Z K 7 svn:log V 168 Be sure to execute sendmail_precmd() to check sendmail.cf conflicts and rebuild the aliases file if necessary. PR: conf/72910 Submitted by: matteo@ MFC after: 3 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-08-30T04:45:32.000000Z K 7 svn:log V 734 Eliminate cpufreq levels for two cases that are less than optimal: 1. Walk the absolute list in reverse to prefer duplicated levels that have a lower absolute setting, i.e. 800 Mhz/50% is better than 1600 Mhz/25% even though both have the same actual frequency. This also removes the need to check for already-modified levels since by definition, those will be added later in the sorted list. 2. Compare the absolute settings for derived levels and don't use the new level if it's higher. For example, a level of 800 Mhz/75% is preferable to 1600 Mhz/25% even though the latter has a lower total frequency. This work is based on a patch from the submitter but reworked by myself. Submitted by: Tijl Coosemans (tijl/ulyssis.org) END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-08-30T05:03:32.000000Z K 7 svn:log V 55 Remove p4tcc now that this is supported by cpufreq(4). END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-30T05:24:53.000000Z K 7 svn:log V 36 Add back dropped if_media.h include END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-30T06:16:31.000000Z K 7 svn:log V 209 Don't print the total number of partitions removed now that we print the name of the partitions that we remove. A summary is unnecessary and even makes parsing of the output more difficult. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-30T06:20:20.000000Z K 7 svn:log V 114 This script was helpful during development, but has no reason to be kept alive. Removal is long overdue as it is. END K 10 svn:author V 4 joel K 8 svn:date V 27 2005-08-30T07:03:03.000000Z K 7 svn:log V 51 s/PDC2061/PDC20621 Approved by: brueffer (mentor) END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-08-30T09:03:13.000000Z K 7 svn:log V 275 MFC if_nve.c r1.8: date: 2005/07/25 22:21:11; author: mux; state: Exp; lines: +0 -1 Remove an erroneous m_freem() call. If m_defrag() returns a non-NULL pointer, it has already freed the original mbuf chain, so we shouldn't do it again. Approved by: re (scottl) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-30T09:44:54.000000Z K 7 svn:log V 32 Add ng_callout_ini_mtx() macro. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-30T09:51:54.000000Z K 7 svn:log V 550 Lock down PPTP node, since it has many data structures, that won't survive parallel ng_pptp_rcvdata(): - Add a per-node mutex. - Acquire mutex during all ng_pptp_rcvdata() method. - Make callouts protected by mutex. Now callouts count as netgraph writers, but there are plans to allow reader callouts for nodes, that have internal locking. - Acquire mutex in ng_pptp_reset(), which can be triggered by a message or node shutdown. PR: kern/80035 Tested by: Deomid Ryabkov Reviewed by: Deomid Ryabkov END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-30T12:32:18.000000Z K 7 svn:log V 129 Remove undocumented historic support for treating "-" as an option instead of a file operand; this is not compatible with POSIX. END K 10 svn:author V 8 deischen K 8 svn:date V 27 2005-08-30T12:42:00.000000Z K 7 svn:log V 96 Allocate a thread's tcb last so it is easier to handle failures to malloc() siginfo. PR: 85468 END K 10 svn:author V 3 tjr K 8 svn:date V 27 2005-08-30T12:48:28.000000Z K 7 svn:log V 110 Include option-argument names in the list in the DESCRIPTION section. Remove a non-bug from the BUGS section. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-30T14:14:08.000000Z K 7 svn:log V 127 Fix fallout from revision 1.77, mark outgoing packets with M_VLANTAG flag. PR: kern/80646 Reviewed by: yar MFC after: 3 days END K 10 svn:author V 6 avatar K 8 svn:date V 27 2005-08-30T14:27:47.000000Z K 7 svn:log V 235 Properly set ic_curchan before calling back to device driver to do channel switching(ifconfig devX channel Y). This fix should make channel changing works again in monitor mode. Submitted by: sam X-MFC-With: other ic_curchan changes END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T14:56:02.000000Z K 7 svn:log V 173 MFC: Add VIA/ACE "PadLock" support as a crypto(9) driver. HW donated by: Mike Tancsa Most of the code obtained from: OpenBSD Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:01:50.000000Z K 7 svn:log V 321 MFC: sys/crypto/rijndael/rijndael-alg-fst.c 1.9,1.11 sys/opencrypto/xform.c 1.6 Check key size for rijndael, as invalid key size can lead to kernel panic. I checked other algorithms against this bug and it seems they aren't affected. Reported by: Mike Tancsa PR: i386/84860 Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:09:06.000000Z K 7 svn:log V 181 MFC: sbin/class/raid3/geom_raid3.c 1.13 sbin/misc/subr.c 1.4 sbin/misc/subr.h 1.4 Move function for calculating number of bits into more central place. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:14:40.000000Z K 7 svn:log V 265 MFC: sys/sys/systm.h 1.235 sys/i386/i386/mp_machdep.c 1.253 sys/amd64/amd64/mp_machdep.c 1.262 sys/geom/stripe/g_stripe.c 1.27 sys/geom/stripe/g_stripe.h 1.8 Avoid code duplication and implement bitcount32() function in systm.h only. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:16:14.000000Z K 7 svn:log V 187 MFC: sys/geom/label/g_label.c 1.17 Back-out the change from revision 1.14 and allow for '/' in labels again. Convinced by: green, Gavin Atkinson, dougb, gordon Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:18:54.000000Z K 7 svn:log V 202 MFC: sys/geom/label/g_label_ext2fs.c 1.2 sys/geom/label/g_label_iso9660.c 1.2 sys/geom/label/g_label_reiserfs.c 1.2 Verify if we can actually read the data at given offset. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-08-30T15:27:30.000000Z K 7 svn:log V 1109 MFC: sys/geom/eli/g_eli.c 1.6-11 sys/geom/eli/g_eli.h 1.3-4 sys/geom/eli/g_eli_ctl.c 1.2 sbin/geom/class/eli/geli.8 1.4-6 sbin/geom/class/eli/geom_eli.c 1.3 Sync with HEAD: - We don't need to clear allocated memory. This will speed-up things a bit. - Even if crypto_dispatch() return an error, request is not canceled and our callback will still be called, just to tell us that requested failed... - Always run dedicated kernel thread (even when we have hardware support). There is no performance impact, but allows to allocate memory with M_WAITOK flag. As a side effect this simplify code a bit. - Allow to change number of iterations for PKCS#5v2. It can only be used when there is only one key set. - Add a __packed keyword to g_eli_metadata struct definition, so sizeof(struct g_eli_metadata) will return the exact number of bytes needed for storing it on the disk. Without this change GELI was unusable on amd64 (and probably other 64-bit archs), because sizeof(struct g_eli_metadata) was greater than 512 bytes and geli(8) was failing on assertion. Approved by: re (scottl) END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-30T15:59:49.000000Z K 7 svn:log V 190 o correct alignment of 802.11 addresses passed to ether_ntoa to fix segfaults on amd64 o while here correct printf formats for size_t args Identified by: Pascal Hofstee MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-08-30T16:03:15.000000Z K 7 svn:log V 125 script to set ifs parameters based on distance; derived from program of the same name by Gunter Burchardt MFC after: 3 days END K 10 svn:author V 3 kan K 8 svn:date V 27 2005-08-30T16:12:03.000000Z K 7 svn:log V 448 MFC r1.81: Do not keep parent directory locked while calling VFS_ROOT to traverse mount points in lookup(). The lock can be dropped safely around VFS_ROOT because LOCKPARENT semantics with child and parent vnodes coming from different FSes does not really have any meaningful use and we do not really care about parent state after we relock it. This prevents easily triggered deadlock on systems using automounter daemon. Approved by: re (scottl) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-30T16:14:25.000000Z K 7 svn:log V 24 Remove a stale manpage. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T16:21:51.000000Z K 7 svn:log V 142 Test the mbuf flags against the correct constant. The previous version worked as intended but only by chance. MT_HEADER == M_PKTHDR == 0x2. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T16:28:46.000000Z K 7 svn:log V 38 Use the correct mbuf type for MGET(). END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-08-30T16:33:39.000000Z K 7 svn:log V 25 Punctuation corrections. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T16:35:27.000000Z K 7 svn:log V 38 Use the correct mbuf type for MGET(). END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-08-30T16:43:24.000000Z K 7 svn:log V 279 MFC: if_ethersubr.c, 1.197: Don't loop back packets that have been routed by pf. This fixes an endless loop where the same packet is sent over and over again. Obtained from: OpenBSD Reported by: Sergey Lapin Tested by: Sergey Lapin Approved by: re (scottl) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-08-30T16:44:31.000000Z K 7 svn:log V 253 MFC: if_ethersubr.c, 1.197: Don't loop back packets that have been routed by pf. This fixes an endless loop where the same packet is sent over and over again. Obtained from: OpenBSD Reported by: Sergey Lapin Tested by: Sergey Lapin END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-08-30T16:45:32.000000Z K 7 svn:log V 584 When using files as backing stores for devices, and the user has requested the device be created read+write, check to see if the backing store is read only through the use of the access(2) system call. If this check fails returning EACCES, EPERM or EROFS then gracefully downgrade the access to read only. Also print a warning message to stderr, informing the user that the access mode they requested is not available. This behavior used to be handled by md(4) but was changed in revision 1.154 Discussed with: pjd, phk, Dario Freni Reviewed by: phk END K 10 svn:author V 6 brooks K 8 svn:date V 27 2005-08-30T18:20:46.000000Z K 7 svn:log V 590 Introduce a new helper function check_search() derived for res_hnok to check the domain-name parameter according to the rules for "search" strings as documented in resolv.conf(5). Specifically, the string must be no more than 256 bytes long and contain no more than six valid domain names separated by white space. The previous unchecked values could result in a mangled resolv.conf file which could effectively deny access to local sites. This is not a security issue as rogue dhcp servers could already do this without sending invalid strings. Reviewed by: cperciva MFC After: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-30T18:58:17.000000Z K 7 svn:log V 306 Prevent division by zero errors in sc_mouse_move() by explicitly setting sc->font_width, in the same places where sc->font_size is set, instead of relying on the default initialized value of 0 for sc->font_width. PR: kern/84836 Reported by: Andrey V. Elsukov MFC after: 2 days END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-30T19:37:33.000000Z K 7 svn:log V 111 Update versions of KDE/GNOME included with FreeBSD 6.0, and minor grammatical changes. Approved by: re (hrs@) END K 10 svn:author V 6 murray K 8 svn:date V 27 2005-08-30T20:01:32.000000Z K 7 svn:log V 86 MFC: r1.240 - update number and size of ports distribution. Approved by: re (scottl) END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T20:07:49.000000Z K 7 svn:log V 264 o Remove the 'all' flag from m_demote(). Users can simply call it with m_demote(m->m_next) if they wish to start at the second mbuf in chain. o Test m_type with == instead of &. o Check m_nextpkt against NULL instead of implicit 0. Based on feedback from: sam END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-30T20:26:53.000000Z K 7 svn:log V 230 MFC: bridgestp.c, r1.6; if_bridge.c, r1.18 > Mark the callouts as MPSAFE as if_bridge has been giant-free since day 1. > > Use the SMP friendly callout_init_mtx() while we are here. > Approved by: re (kensmith), mlaier (mentor) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2005-08-30T20:30:44.000000Z K 7 svn:log V 655 MFC: if_bridge, r1.20 > Fix a panic in softclock() if the interface is destroyed with a bpf consumer > attached. > > This is caused by bpf_detachd clearing IFF_PROMISC on the interface which does > a SIOCSIFFLAGS ioctl. The problem here is that while the interface has been > stopped, IFF_UP has not been cleared so IFF_UP != IFF_DRV_RUNNING, this causes > the ioctl function to init() the interface which resets the callouts. > > The destroy then completes and frees the softc but softclock will panic on a > dead callout pointer. > > Ensure ifp->if_flags matches reality by clearing IFF_UP when we destroy. Approved by: re (kensmith), mlaier (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-30T20:35:08.000000Z K 7 svn:log V 337 Various locking fixes and mark MPSAFE: - Add locked variants of start(), init(), ifmedia_upd(), and poll() and stop recursing on the driver lock. - Add locking to ifmedia_upd() and ifmedia_sts(). - Use callout_*() instead of timeout/untimeout. - Fix locking in ioctl(). Tested by: Bob Bishop rb at gid dot co dot uk MFC after: 3 days END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T21:14:30.000000Z K 7 svn:log V 117 Unbreak m_demote() and put back the 'all' flag. Without it we cannot correctly test for m_nextpkt in an mbuf chain. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-08-30T21:31:42.000000Z K 7 svn:log V 225 Changes and cleanups to m_sanity(): o for() instead of while() looping over mbuf chain o paren's around all flag checks o more verbose function and purpose description o some more style changes Based on feedback from: sam END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-08-30T22:25:22.000000Z K 7 svn:log V 219 Document the following: - VIA PadLock support + merge - dc, my, pcn, sf MPSAFE + merge - de, ed, ste MPSAFE - de converted to busdma(9) - el removed - geli(8) committed + merge - libmemstat(9) merge MFC after: 3 days END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-30T23:12:18.000000Z K 7 svn:log V 171 FDOPT_NORETRY is an option, and must be compared with fd->options, not fd->flags. PR: kern/85481 Submitted by: Lev Levinson MFC after: 1 day END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-31T00:27:35.000000Z K 7 svn:log V 422 MFC: VOP_LISTEXTATTR.9, 1.7 Update man page to reflect the fact that VOP_LISTEXTATTR does not return a list of ASCII NUL terminated strings. Instead, a list of attribute names is returned, where each list entry consists of one byte for the name length, followed by the name, without a terminating ASCII NUL. This in similar to change 1.17 to extattr_get_file.2 Reviewed by: rwatson, ru Approved by: re (hrs) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-31T00:33:18.000000Z K 7 svn:log V 456 MFC: VOP_LISTEXTATTR.9, 1.7 Update man page to reflect the fact that VOP_LISTEXTATTR does not return a list of ASCII NUL terminated strings. Instead, a list of attribute names is returned, where each list entry consists of one byte for the name length, followed by the name, without a terminating ASCII NUL. This in similar to change 1.17 to extattr_get_file.2 Reviewed by: rwatson, ru MFC: VOP_LISTEXTATTR.9, 1.6 Minor formatting fixes. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-31T01:33:26.000000Z K 7 svn:log V 157 Move "systemv" into OLDTIMEZONES clause; "backward" is a prerequisite. ("systemv" is even more backward than "backward" is!) Obliquely pointed out by: jhay END K 10 svn:author V 7 wollman K 8 svn:date V 27 2005-08-31T01:37:43.000000Z K 7 svn:log V 123 Insta-MFC rev 1.21: don't build "systemv" when not doing "backward". This fixes virgin installs (and thus "make release"). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-31T01:47:19.000000Z K 7 svn:log V 23 /* -> /*- for license. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-31T05:40:41.000000Z K 7 svn:log V 282 o Replace unicode16() by utf8_to_utf16(). o Introduce utf16_to_utf8(). o Add option -l to the show command to display the GPT label instead of the friendly partition type. o Add option -u to the show command to suppress the friendly output and print th raw UUIDs instead. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-08-31T05:56:21.000000Z K 7 svn:log V 52 Document the -l and -u options of the show command. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-08-31T07:44:45.000000Z K 7 svn:log V 72 Disconnect getino.3 and remove MLINK I added. Discussed with: jmallett END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T08:31:14.000000Z K 7 svn:log V 68 Fix braino in last commit. Print nothing if ipfw(4) is not present. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2005-08-31T08:36:05.000000Z K 7 svn:log V 218 Remove getino(3) manpage. It doesn't document what is here, what is here should not get documented, and what it does document isn't going to come to CVS any time in the immediate future. Patience of a saint: trhodes END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T10:51:55.000000Z K 7 svn:log V 42 net.graph.ngqfreemax has been deprecated. END K 10 svn:author V 3 yar K 8 svn:date V 27 2005-08-31T11:36:50.000000Z K 7 svn:log V 465 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. Alas, we shouldn't rename the macro to VLAN_TAG_LVALUE() globally because that would cause pain for kernel module port maintainers and vendors using FreeBSD as their codebase. Added a clarifying comment instead. Discussed with: ru, glebius X-MFC-After: 6.0-RELEASE (MFC is good just to reduce the diff) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T13:56:15.000000Z K 7 svn:log V 126 MFC 1.76: - Refuse hashsize of 0, since it is invalid. - Use defined constant instead of 512. Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T13:57:04.000000Z K 7 svn:log V 98 MFC 1.76: - Refuse hashsize of 0, since it is invalid. - Use defined constant instead of 512. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-31T13:57:37.000000Z K 7 svn:log V 108 MFC 1.23: Make it clear that the .ko extention of a module to be loaded is optional. Approved by: re (hrs) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T13:58:28.000000Z K 7 svn:log V 133 MFC 1.21: Add newline to debuging printf. PR: kern/85271 Submitted by: Simon Morgan Approved by: re (kensmith) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-31T13:58:39.000000Z K 7 svn:log V 85 MFC 1.23: Make it clear that the .ko extention of a module to be loaded is optional. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T13:59:00.000000Z K 7 svn:log V 105 MFC 1.21: Add newline to debuging printf. PR: kern/85271 Submitted by: Simon Morgan END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T14:01:48.000000Z K 7 svn:log V 410 MFC 1.28: - Document the fact that the real length of listen queue is 1.5 more than the value of backlog argument. - Document the fact that a subsequent listen(2) calls on the listening socket change the backlog argument. - Note that current listen queue lengths can be queried using netstat(1). Submitted by: Igor Sysoev Wording by: gnn Approved by: re (kensmith) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-08-31T14:02:20.000000Z K 7 svn:log V 382 MFC 1.28: - Document the fact that the real length of listen queue is 1.5 more than the value of backlog argument. - Document the fact that a subsequent listen(2) calls on the listening socket change the backlog argument. - Note that current listen queue lengths can be queried using netstat(1). Submitted by: Igor Sysoev Wording by: gnn END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-08-31T14:57:39.000000Z K 7 svn:log V 207 Add __BEGIN_DECLS/__END_DECLS so that this header can be included in C++ programs. Also, add include guards. PR: bin/44277 Submitted by: Alex Zepeda MFC after: 1 day END K 10 svn:author V 8 keramida K 8 svn:date V 27 2005-08-31T15:02:11.000000Z K 7 svn:log V 267 Add a short description of how a literal colon ':' can be inlined in the value of capability databases, since it's not really obvious how a colon can be escaped, and a pointer to the getcap(3) manpage for more details. Triggered by: a question by Ceri on -questions END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-08-31T16:55:00.000000Z K 7 svn:log V 94 More clarification on how bus_dmamap_sync works. Fix bogus text concerning bus_dmamem_alloc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-08-31T17:00:48.000000Z K 7 svn:log V 126 Update for a few recently discovered Olicom token ring cards: OC3231 Token Ring + 28.8 modem OC3232 Token Ring + 33.6 modem END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-08-31T17:53:53.000000Z K 7 svn:log V 219 MFC ffs_softdep.c 1.182, softdep.h 1.18 Delay freeing disk space for file system blocks until all dirty buffers are safely released. This fixes softdep problems on truncation (deletion) of files with dirty buffers. END K 10 svn:author V 5 garys K 8 svn:date V 27 2005-08-31T17:58:38.000000Z K 7 svn:log V 144 Improved descriptions of block size handling. PR: docs/84765 Submitted by: garys Approved by: keramida MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-31T18:03:18.000000Z K 7 svn:log V 111 Use if_printf() and device_printf() for printf's and remove the unit number from the softc. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-08-31T18:09:54.000000Z K 7 svn:log V 264 - Only call txp_release_resources() once if attach fails. - Set errno to ENXIO instead of 0 in several attach failure cases. - Setup the interrupt handler at the very end of txp_attach() after ether_ifattach(). - Various whitespace fixes in function prototypes. END