ƒ³'166329 187 211 296 317 122 239 176 132 159 212 617 220 618 164 233 276 111 276 160 166 156 132 423 342 644 2215 350 196 203 149 300 489 268 153 119 132 192 166 135 147 746 126 427 176 179 515 341 220 185 125 180 185 149 552 144 410 134 146 311 166 224 172 166 151 171 616 151 259 939 332 265 225 253 205 159 797 191 1503 163 240 257 141 129 159 156 166 136 278 180 136 563 564 147 234 137 329 896 180 318 141 269 131 411 228 214 353 221 843 290 303 296 237 297 178 191 902 340 345 249 211 323 204 212 200 194 154 189 372 153 228 262 189 102 166 191 187 176 219 235 744 775 361 171 123 161 175 111 940 111 220 127 195 446 194 201 641 488 595 244 541 328 208 156 190 336 297 164 555 222 701 420 249 216 160 181 181 244 343 175 335 264 142 118 110 409 248 266 248 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-29T14:41:03.000000Z K 7 svn:log V 114 Update comment for struct bpf_d: we now store buffered packets for BPF in malloc'd storage, not in mbuf clusters. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-01-29T15:55:13.000000Z K 7 svn:log V 200 Actually implement rev 1.12 for host names and NIS domain names. We were removing the invalid option, but still rejecting the lease. Reported by: Yoshihiko Sarumaru END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-29T17:48:33.000000Z K 7 svn:log V 223 MFC the AUDIT_SYSCALL_{EXIT|ENTER} macros. This unbreaks auditing for amd64 by allocating and committing audit records for syscalls. It should be noted that the submission of userspace records are not affected by this bug. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-01-29T18:31:57.000000Z K 7 svn:log V 28 Vendor import of BIND 9.3.4 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-01-29T18:31:57.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r166332, 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 2007-01-29T18:31:58.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'bind9-vendor-BIND_9_3_4'. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2007-01-29T18:33:18.000000Z K 7 svn:log V 38 Update generated files for BIND 9.3.4 END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-29T21:32:18.000000Z K 7 svn:log V 66 MFC auditing hooks for sparc64 NOTE: this is compile tested only END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-29T22:12:22.000000Z K 7 svn:log V 119 Add gjournal(8) manual page. Documentation of kern.geom.journal.* sysctls is still missing, ehh. Reviewed by: trhodes END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-01-30T00:26:04.000000Z K 7 svn:log V 523 Instead of always hard-coding the socket type for the nfs root mount as SOCK_DGRAM (i.e. UDP), respect the value configured earlier. This allows TCP NFS root mounts using e.g. the boot.nfsroot.options="tcp" tunable. In this case some of the connection parameters like the retry timer were previously set appropriately for TCP but inappropriately for the UDP socket that was actually used, leading to e.g. extremely long recovery times (O(hours)) after a nfs server reboot. Reviewed by: mohans MFC After: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-01-30T01:18:29.000000Z K 7 svn:log V 125 Use our own timer that piggybacks on npe_tick() callout instead of if_watchdog/if_timer interface. Approved by: sam, cognet END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-30T03:11:45.000000Z K 7 svn:log V 521 Add a "-o large" mount option for msdosfs. Convert compile-time checks for #ifdef MSDOSFS_LARGE to run-time checks to see if "-o large" was specified. Test case provided by Oliver Fromme: truncate -s 200G test.img mdconfig -a -t vnode -f test.img -u 9 newfs_msdos -s 419430400 -n 1 /dev/md9 zip250 mount -t msdosfs /dev/md9 /mnt # should fail mount -t msdosfs -o large /dev/md9 /mnt # should succeed PR: 105964 Requested by: Oliver Fromme Tested by: trhodes MFC after: 2 weeks END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-01-30T04:41:38.000000Z K 7 svn:log V 68 Fix spacing from my previous commit to this file: Noticed by: fjoe END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-30T05:01:06.000000Z K 7 svn:log V 136 Remove MSDOSFS_LARGE compile time option. It has been converted to a run time "-o large" mount option. PR: 105964 MFC after: 2 weeks END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-01-30T08:05:04.000000Z K 7 svn:log V 180 Fixing compilation bustage by removing references to opt_msdosfs.h. This auto-generated header file no longer exists since the removal of MSDOSFS_LARGE in sys/conf/options:1.574. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-30T08:17:45.000000Z K 7 svn:log V 14 Xref altq(4). END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-01-30T08:39:44.000000Z K 7 svn:log V 178 Minor updates: - initialize ifq_drv_maxlen correctly - mark the interface as jumbo capable - keep stats on the number of times the hw transmit queue filled and was restarted. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-30T08:40:04.000000Z K 7 svn:log V 63 Xref altq(4) for drivers that support it according to altq(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-30T09:47:31.000000Z K 7 svn:log V 69 Add the 3Com 3c996-SX. Submitted by: Johan Ström MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-30T10:17:36.000000Z K 7 svn:log V 65 Remove the last vestige of opt_msdosfs.h. Submitted by: grep(1) END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-30T10:50:55.000000Z K 7 svn:log V 41 MFsparc64: Add .cvsignore file here too. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-30T10:55:32.000000Z K 7 svn:log V 327 MFC: 1.70 (partial), 1.74 - Sync descriptions of RL_HWREV_8168_SPIN{1,2} with HEAD (merge botch of rev. 1.70 in rev. 1.46.2.17). - Consistently use if_printf() only in interface methods: if_start(), if_watchdog, etc., or in functions used only in these methods. In all other functions in the driver use device_printf(). END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-30T12:46:05.000000Z K 7 svn:log V 246 MFC, subr_firmware.c 1.7: In case we are supplied with an imagename that matches a module, but not a firmware in that module (eventhough this is a programming error) - drop the reference to the module again. Submitted by: Benjamin Close END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-30T14:00:59.000000Z K 7 svn:log V 548 MFC: if_re.c 1.80, if_rlreg.h 1.63 - Use the re_tick() callout instead of if_slowtimo() for driving re_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so re(4) works on platforms requiring it; though for RELENG_6 this is a NOOP so far and just MFC'ed for diff reduction. - Remove invalid BUS_DMA_ALLOCNOW when creating the parent DMA tag and the tags that are used for static memory allocations. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Remove an unused variable in re_intr(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-30T14:16:24.000000Z K 7 svn:log V 2118 MFC: if_re.c 1.82, if_rlreg.h 1.64 o In re_newbuf() and re_encap() if re_dma_map_desc() aborts the mapping operation as it ran out of free descriptors or if there are too many segments in the first place, call bus_dmamap_unload() in order to unload the already loaded segments. For trying to map the defragmented mbuf (chain) in re_encap() this introduces re_dma_map_desc() setting arg.rl_maxsegs to 0 as a new failure mode. Previously we just ignored this case, corrupting our view of the TX ring. o In re_txeof(): - Don't clear IFF_DRV_OACTIVE unless there are at least 4 free TX descriptors. Further down the road re_encap() will bail if there aren't at least 4 free TX descriptors, causing re_start() to abort and prepend the dequeued mbuf again so it makes no sense to pretend we could process mbufs again when in fact we won't. While at it replace this magic 4 with a macro RL_TX_DESC_THLD throughout this driver. - Don't cancel the watchdog timeout as soon as there's at least one free TX descriptor but instead only if all descriptors have been handled. It's perfectly normal, especially in the DEVICE_POLLING case, that re_txeof() is called when only a part of the enqueued TX descriptors have been handled, causing the watchdog to be disarmed prematurely. o In re_encap(): - If m_defrag() fails just drop the packet like other NIC drivers do. This should only happen when there's a mbuf shortage, in which case it was possible to end up with an IFQ full of packets which couldn't be processed as they couldn't be defragmented as they were taking up all the mbufs themselves. This includes adjusting re_start() to not trying to prepend the mbuf (chain) if re_encap() has freed it. - Remove dupe initialization of members of struct rl_dmaload_arg to values that didn't change since trying to process the fragmented mbuf chain. While at it remove an unused member from struct rl_dmaload_arg. o In re_start() remove a abandoned, banal comment. The corresponding code was moved to re_attach() some time ago. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-30T15:09:30.000000Z K 7 svn:log V 258 Fix the logic bug that caused the custom versions of warn(3) and warnx(3) to be compiled on systems that have it (e.g. FreeBSD), while the intention was opposite, i.e., compile them on systems that don't have them. Also fixes static linkage of pkg_sign(1). END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-30T15:10:37.000000Z K 7 svn:log V 104 Add missing library dependencies and sort libraries using lorder(1) so that static linkage is possible. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-30T15:44:16.000000Z K 7 svn:log V 107 Check the return value of bus_setup_intr() when setting up the over-temperature and power-fail interrupts. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-30T20:22:07.000000Z K 7 svn:log V 53 Fix typo. Submitted by: pluknet END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-01-30T23:54:49.000000Z K 7 svn:log V 204 Revert 1.1.2.2 as linker_release_module is not in RELENG_6. Will have to look for a better way and will compile test "trivial changes" in the future. Noticed by: marcel, tinderbox Pointy hat to: mlaier END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-01-31T00:24:11.000000Z K 7 svn:log V 392 MFC if_re.c rev 1.83 to RELENG_6. It seems that enabling Tx and Rx before setting descriptor DMA addresses shall access invalid descriptor DMA addresses on PCIe hardwares and then panicked the system. To fix it set descriptor DMA addresses before enabling Tx and Rx such that hardware can see valid descriptor DMA addresses. Also set RL_EARLY_TX_THRESH before starting Tx and Rx. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-31T02:49:44.000000Z K 7 svn:log V 171 MFC: 1.148, 1.149: Properly parse "longname", "longnames", "shortname", "shortnames", "nowin95", "win95" mount options. Requested by: Tomas Doskocil END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-31T03:44:42.000000Z K 7 svn:log V 57 Remove GNU gzip left-offs, they are no longer necessary. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-31T04:58:03.000000Z K 7 svn:log V 25 o DragonFly 1.8.0 added. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-31T07:13:25.000000Z K 7 svn:log V 36 Fix typo. Obtained from: DragonFly END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-31T08:53:45.000000Z K 7 svn:log V 99 s/WHETHERIN/WHETHER IN/ & s/THEPOSSIBILITY/THE POSSIBILITY/ in the license text. Approved by: imp END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-01-31T09:40:31.000000Z K 7 svn:log V 70 s/software was developed/documentation was written/ Suggested by: ru END K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-01-31T10:44:04.000000Z K 7 svn:log V 41 MFC: protect against multiple inclusions END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-31T12:10:48.000000Z K 7 svn:log V 54 Put #ifndef... after the license. Approved by: ariff END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-01-31T14:34:47.000000Z K 7 svn:log V 653 Import macros IN_LINKLOCAL(), IN_PRIVATE(), IN_LOCAL_GROUP(), IN_ANY_LOCAL(). This is not a functional change. IN_LINKLOCAL() tests if an address falls within the IPv4 link-local prefix. IN_PRIVATE() tests if an address falls within an RFC 1918 private prefix. IN_LOCAL_GROUP() tests if an address falls within the statically assigned link-local multicast scope specified in RFC 2365. IN_ANY_LOCAL() tests for either of IN_LINKLOCAL() or IN_LOCAL_GROUP(). As with the existing macros in the FreeBSD netinet stack, comparisons are performed in host-byte order. See also: RFC 1918, RFC 2365, RFC 3927 Obtained from: NetBSD (dyoung@) MFC after: 2 weeks END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-01-31T14:35:05.000000Z K 7 svn:log V 34 - Add ports-ports-mgmt collection END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-01-31T15:29:31.000000Z K 7 svn:log V 329 Abandon using sleepable locks in favor of mutexes for mxge's if_ioctl locking in preparation for adding a watchdog handler (callouts must not use sleepable locks). This required shuffling memory and interrupt allocation to the attach routine rather than if_ioctl so as to avoid potential sleeps while bringing up the interface. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-01-31T15:47:44.000000Z K 7 svn:log V 79 destroy busdma maps even if they are NULL, so as to avoid leaking busdma tags. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2007-01-31T19:13:08.000000Z K 7 svn:log V 85 Add gnustep and ports-mgmt ports categories. Reviewed by: simon MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-01-31T19:53:36.000000Z K 7 svn:log V 417 - Add 99% of a callout based watchdog. The remaining 1% is waiting for pci_cfg_restore() to be exported. It was tested using a hackily accessed pci_cfg_restore(). - Add ifmedia_removeall() to mxge_detach() in order to stop leaking an ifaddr - Fix a small acounting bug introduced by the locking code shuffle which could cause spurious watchdog resets now that we have a watchdog. Sponsored by: Myricom END K 10 svn:author V 3 ade K 8 svn:date V 27 2007-01-31T22:34:45.000000Z K 7 svn:log V 248 Remove hard-coded limit (200) on maximum number of packages that can be added with a single invocation of pkg_add, replacing it with something rather more dynamic. Approved by: portmgr (pav) Tested by: full pointyhat package run MFC after: 1 week END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-01-31T22:54:19.000000Z K 7 svn:log V 124 Fix a utrace(2)-related bug in calloc(3). Integrate various pedantic cleanups. Submitted by: Andrew Doran END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-31T22:55:08.000000Z K 7 svn:log V 93 MFC: Add a locked variant of bce_ifmedia_upd() and add missing locking to bce_ifmedia_upd(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-31T22:57:10.000000Z K 7 svn:log V 33 MFC: Fix compile with BCE_DEBUG. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-01-31T23:10:27.000000Z K 7 svn:log V 85 Fix for a vnode lock leak in nfs_create() in the event of an error. Spotted by ups@. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2007-01-31T23:11:15.000000Z K 7 svn:log V 90 MFC: Fix for a vnode lock leak in nfs_create() in the event of an error. Spotted by ups@. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T01:01:56.000000Z K 7 svn:log V 57 Disallow negative UIDs when processing quotactl options. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T02:13:53.000000Z K 7 svn:log V 459 Prevent quotactl calls that pass in an id of -1 from incorrectly using the callers UID instead of the GID when performing group operations. This could allow users to determine group quota information for groups they are not a member of in some cases. Rename the "uid" parameter in ufs_quotactl to "id" to better show that it is used for more than just the uid, and to be more in line with the naming conventions in the other quota routines. PR: kern/33940 END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T02:31:02.000000Z K 7 svn:log V 52 Docment the acceptable values for the id parameter. END K 10 svn:author V 6 avatar K 8 svn:date V 27 2007-02-01T04:21:03.000000Z K 7 svn:log V 314 Reflecting the removal of MSDOSFS_LARGE found in sys/conf/files:1.1173. This should fix the run time bustage observed on recent -CURRENT whilst mounting a MSDOS filesystem with non-default locale/code page: link_elf: symbol msdosfs_fileno_free undefined KLD msdosfs_iconv.ko: depends on msdosfs - not available END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T04:31:57.000000Z K 7 svn:log V 42 MFC: Sync up with HEAD. Revs 1.18 1.19. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T04:36:40.000000Z K 7 svn:log V 54 MFC: quotacheck.c 1.27 - 1.29 Quota system cleanup. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T04:45:43.000000Z K 7 svn:log V 218 MFC: Quota system cleanup & disallow negative ids when accouting for quota usage. ffs/ffs_alloc.c rev 1.143 ffs/ffs_snapshot.c rev 1.132 ufs/quota.h rev 1.29 ufs/ufs_quota.c rev 1.86 - 1.88 ufs/ufs_vfsops.c rev 1.48 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-02-01T06:18:17.000000Z K 7 svn:log V 69 Add support for a new archive format "empty" that reads empty files. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T08:37:44.000000Z K 7 svn:log V 131 Make quota exit with a non-zero status if one more more file systems are over quota, as documented in the man page. PR: bin/77918 END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-02-01T08:45:27.000000Z K 7 svn:log V 78 Remove old libmytinfo link. Approved by: delphij (mentor) Requested by: ache END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T08:46:42.000000Z K 7 svn:log V 74 MFC: Make quota exit with a non-zero status when the user is over quota. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-01T09:02:28.000000Z K 7 svn:log V 59 MFC: Document the acceptable values for the id parameter. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-01T09:30:01.000000Z K 7 svn:log V 77 Fix apparent memory leak (during vchan destruction) that was here since eon. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-01T09:46:03.000000Z K 7 svn:log V 521 Fix huge memory leak within sound buffer (during channel destruction, buffer resizing, etc.) that was here since eon. Free all (unmanaged) allocated buffer through sndbuf_destroy() in case we forgot to call sndbuf_free(). For a managed buffer (mostly hw specific managed buffer), either provide CHANNEL_FREE() method with appropriate return value to invoke semi-automatic sndbuf_free() or simply do it on their own. If everything is failed, sndbuf_destroy() will come to the rescue as a final measure. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-01T13:24:40.000000Z K 7 svn:log V 59 MFi386: Use LINUX_SIG_VALID macro. Submitted by: rdivacky END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-01T13:27:52.000000Z K 7 svn:log V 166 Fix LOR that occurs because proctree_lock was acquired while holding emuldata lock by moving the code upwards outside the emul_lock coverage. Submitted by: rdivacky END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-01T13:29:27.000000Z K 7 svn:log V 846 No need to synchronize linux_schedtail with linux_proc_init. p->p_emuldata is properly initialized in the time when the child can run. Do not set p->p_emuldata to NULL when the process is exiting. It does not make any sense and only costs 2 mutex operations. Do not lock emul_data to unlock it on the very next line. Comment on possible race while there. Reparent all procs that are part of a threading group but not its leaders to init and SIGCHLD init to finish the zombies off. This fixes zombies left after opera's exit. [1] There is no need to lock p_em in the linux_proc_init CLONE_THREAD case because the process cannot change the address of the p_em->shared because its currently running this code path. Move assigning of em->shared outside emul_shared_lock. Noticed by: Scott Robbins [1] Submitted by: rdivacky END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-01T13:33:33.000000Z K 7 svn:log V 239 No need to lock emul_lock in exit_group() because em->shared cannot change (because its referenced by curthread). This fixes a LOR caused by acquiring emul_shared_lock while holding emul_lock. Fix typo in comment. Submitted by: rdivacky END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-01T13:36:19.000000Z K 7 svn:log V 172 Introduce some more SO_ option equivalents from Linux to FreeBSD. The msg variable in linux_recvmsg() was not initialized. Copy it from userspace. Submitted by: rdivacky END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-02-01T14:18:01.000000Z K 7 svn:log V 128 Remove, since code has been merged into mount_nfs, and mount_nfs Makefile builds mount_nfs and creates a mount_nfs4 link to it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-02-01T14:32:37.000000Z K 7 svn:log V 161 - Don't forget to reset the M_VLANTAG when removing a tag, otherwise bad things may happen. [1] - More diff redux to HEAD. Submitted by: Vsevolod Lobko [1] END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-02-01T15:12:44.000000Z K 7 svn:log V 107 Boot floppy for i386 overflowed during Jan. 2007 snapshot build, fix it before Feb. 2007 snapshot build... END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-02-01T15:52:47.000000Z K 7 svn:log V 67 Fix previous rev.: don't step behind the end of memory we allocate END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-02-01T17:39:18.000000Z K 7 svn:log V 702 Change the way the advertized TCP window scaling is computed. Instead of upper-bounding it to the size of the initial socket buffer lower-bound it to the smallest MSS we accept. Ideally we'd use the actual MSS information here but it is not available yet. For socket buffer auto sizing to be effective we need room to grow the receive window. The window scale shift is determined at connection setup and can't be changed afterwards. The previous, original, method effectively just did a power of two roundup of the socket buffer size at connection setup severely limiting the headroom for larger socket buffers. Tested by: many (as part of the socket buffer auto sizing patch) MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-02-01T17:53:41.000000Z K 7 svn:log V 97 Generic socket buffer auto sizing support, header defines, flag inheritance. MFC after: 1 month END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-02-01T18:32:13.000000Z K 7 svn:log V 1407 Auto sizing TCP socket buffers. Normally the socket buffers are static (either derived from global defaults or set with setsockopt) and do not adapt to real network conditions. Two things happen: a) your socket buffers are too small and you can't reach the full potential of the network between both hosts; b) your socket buffers are too big and you waste a lot of kernel memory for data just sitting around. With automatic TCP send and receive socket buffers we can start with a small buffer and quickly grow it in parallel with the TCP congestion window to match real network conditions. FreeBSD has a default 32K send socket buffer. This supports a maximal transfer rate of only slightly more than 2Mbit/s on a 100ms RTT trans-continental link. Or at 200ms just above 1Mbit/s. With TCP send buffer auto scaling and the default values below it supports 20Mbit/s at 100ms and 10Mbit/s at 200ms. That's an improvement of factor 10, or 1000%. For the receive side it looks slightly better with a default of 64K buffer size. New sysctls are: net.inet.tcp.sendbuf_auto=1 (enabled) net.inet.tcp.sendbuf_inc=8192 (8K, step size) net.inet.tcp.sendbuf_max=262144 (256K, growth limit) net.inet.tcp.recvbuf_auto=1 (enabled) net.inet.tcp.recvbuf_inc=16384 (16K, step size) net.inet.tcp.recvbuf_max=262144 (256K, growth limit) Tested by: many (on HEAD and RELENG_6) Approved by: re MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-01T19:11:25.000000Z K 7 svn:log V 71 MFC: Don't read more than the given 'len' bytes from the 'big' string. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-02-02T00:48:55.000000Z K 7 svn:log V 143 MFC if_re.c rev 1.76 to RELENG_6. Don't set RL_CFG1_FULLDUPLEX bit. The RL_CFG1_FULLDUPLEX bit in config register 1 is only valid on 8129. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-02T02:39:56.000000Z K 7 svn:log V 164 create empty opt_ah.h for compiling athstats.o; it just needs the PHY definitions and not the descriptor so it doesn't matter if it's correct relative to the hal.o END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-02T02:45:33.000000Z K 7 svn:log V 49 add IEEE80211_IS_CHAN_PASSIVE MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-02-02T04:25:01.000000Z K 7 svn:log V 34 MFC rev 1.2: remove stale header. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-02-02T04:28:24.000000Z K 7 svn:log V 64 MFC rev 1.4: remove screen and ttyy#; replace ttyd# with ttyu#. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-02-02T04:57:11.000000Z K 7 svn:log V 62 match against both dirty and writeable for marking page dirty END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-02-02T05:00:21.000000Z K 7 svn:log V 72 Add support for IPI_PREEMPT in order to enable use of the ULE scheduler END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-02T05:14:21.000000Z K 7 svn:log V 42 Remove a bogus i = 0 Approved by: cognet END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-02-02T05:14:22.000000Z K 7 svn:log V 182 Move the seting of the idle_mask bits to a place where they can't be wrong. Also use the IDLETD bit in the thread mask to test if its an idle thread rather than doing a PCPU access. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-02T05:17:18.000000Z K 7 svn:log V 86 Use bus_get_dma_tag() so iwi(4) works on platforms requiring it. Approved by: cognet END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-02T07:29:51.000000Z K 7 svn:log V 39 MFC: rev. 1.31 Add the 3Com 3c996-SX. END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-02-02T07:42:44.000000Z K 7 svn:log V 468 MFC: Fix a typo in ata-queue.c PR: kern/107100 Submitted by: Stephen J. Roznowski Approved by: sos and Add the SMART command to the ATA instruction set. When the disk has an error, it will now print SMART instead of 'Unknown CMD'. PR: kern/93368 Submitted by: Garry Belka Approved by: sos Approved by: sos (implicitly with the previous two commits) END K 10 svn:author V 5 remko K 8 svn:date V 27 2007-02-02T07:54:10.000000Z K 7 svn:log V 469 MFC: Fix a typo in ata-queue.c PR: kern/107100 Submitted by: Stephen J. Roznowski Approved by: sos and Add the SMART command to the ATA instruction set. When the disk has an error, it will now print SMART instead of 'Unknown CMD'. PR: kern/93368 Submitted by: Garry Belka Approved by: sos Approved by: sos (implicitly with the two previous commits). END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-02T08:58:16.000000Z K 7 svn:log V 55 Remove extern int hz; use proper include file instead. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-02T09:02:18.000000Z K 7 svn:log V 141 Record kqueue -> struct mount mtx -> vnode interlock lock order to catch the places where reverse lock order is instantiated. OKed by: jeff END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-02-02T09:19:27.000000Z K 7 svn:log V 45 Update with the latest Bulletin C from IERS. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-02-02T09:39:09.000000Z K 7 svn:log V 232 Since rev. 1.94 of netinet/in.c, the netinet layer frees all its multicast memberships, when interface is detached. Thus, when an underlying interface is detached, we do not need to free our multicast memberships. Reviewed by: bms END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-02-02T09:45:23.000000Z K 7 svn:log V 799 Quoting Alexander: Formulas described in RFC require high precision of floating point. Formulas of integer math implemented in ng_pptpgre give mistake in range of +0-7ms on RTT and +0-3ms on deviation. This leads to significant underestimation of real packet RTT. I have made a very simple patch to reduce mistake to +4-3ms on RTT and +2-1ms on deviation. Mistake in RTT is not good, but gets covered by deviation. To cover worst possible negative mistake in deviation I have added 2ms to it. Also this 2 ms cover the case when measured deviation is so small (about zero) that it can interfere with process scheduling delays or weather on Mars. My tests show decreasing of packet losses on 20ms RTT link from 2.5% to 0.3% while speed increased un 1/3. Reviewed by: archie END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-02T13:33:35.000000Z K 7 svn:log V 87 Add a standard BSD license to these files. Discussed with: rwatson Approved by: luigi END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-02T13:39:20.000000Z K 7 svn:log V 224 Clean up the BSD license to match the preferred license in /usr/share/examples/etc/bsd-style-copyright. I've fixed a few minor wording and formatting differences. Approved by: luigi, Hannu Savolainen END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-02T13:44:09.000000Z K 7 svn:log V 48 Remove dead email address. Requested by: luigi END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-02-02T13:48:19.000000Z K 7 svn:log V 172 MFC 1.6: Try to avoid a possible infinite loop when parsing an invalid kernel dump file. PR: 108229 Submitted by: Jessica Han END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-02T15:47:28.000000Z K 7 svn:log V 39 coda_vptofh is never defined nor used. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2007-02-02T16:26:15.000000Z K 7 svn:log V 313 Based on input from ru & rodrigc document the mount operation in the new world order: mount -t linsysfs linsys /compat/linux/sys instead of mount_linsysfs. Now that 6.X requires mount_linsysfs to work. This is why there is a mount_linsysfs in 6.X and not in -current. Prompted by: ru Reviewed by: ru, rodrigc END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2007-02-02T18:11:18.000000Z K 7 svn:log V 130 Comment the token after #endif, like we do everywhere else. Static analyzers like FlexeLint complain about it. MFC after: 7 days END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2007-02-02T18:30:23.000000Z K 7 svn:log V 116 Properly parenthesize the __tg_is_complex() macro by moving a closing paren to where it belongs. MFC after: 7 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-02T18:34:18.000000Z K 7 svn:log V 260 Expose smoothed RTT and RTT variance measurements to userland via socket option TCP_INFO. Note that the units used in the original Linux API are in microseconds, so use a 64-bit mantissa to convert FreeBSD's internal measurements from struct tcpcb from ticks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-02T19:48:25.000000Z K 7 svn:log V 128 Add constants for the PCIY_VENDOR (vendor-specific), PCIY_DEBUG (EHCI debug port), and PCIY_EXPRESS (PCI-express) capabilities. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-02-02T19:54:17.000000Z K 7 svn:log V 750 - Teach pciconf(8) to list the PCI capabilities supported by each device via a new -c flag to be used with -l. Some simple parsing code is present for the following capabilities: Power Management, AGP, VPD, MSI, PCI-X, HyperTransport, Vendor-specific, EHCI Debug Port, PCI-PCI bridge subvendor ID, PCI-express, and MSI-X. - Fix a few warnings in pciconf.c. - Update some cruft in pciconf(8): - PCI 2.1 is no longer a revolutionary standard, and subvendor ID's are fairly common at this point, so reflect that. - Header type 2 is used for PCI-CardBus bridges. - Describe the -v option for -l after completing the basic -l description instead of disrupting the flow in the middle. Reviewed by: imp (partially) MFC after: 1 week END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-02T20:31:44.000000Z K 7 svn:log V 197 Comply with RFC 3927, by forcing ARP replies which contain a source address within the link-local IPv4 prefix 169.254.0.0/16, to be broadcast at link layer. Reviewed by: fenner MFC after: 2 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-02T21:10:37.000000Z K 7 svn:log V 210 For the IPv4 multicast membership socket regression test: Add command line flags to increase the number of test iterations. Be deterministic by default, for automated operation. Better document assumptions. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-02T22:27:45.000000Z K 7 svn:log V 203 Use int instead of u_int for the 'extra' argument to the clone_create() KPI. This fixes a signedness bug in unit number comparisons. Submitted by: imp, Landon Fuller PR: kern/105228 MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-02T23:58:10.000000Z K 7 svn:log V 144 Use pidfile(3) API to restart mountd(8) on success mount. This why we won't kill random process if there is a stale PID in /var/run/mountd.pid. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-03T00:12:18.000000Z K 7 svn:log V 204 Add support for multiple exports files. This will be useful for example for ZFS, where we have automatically generated /etc/zfs/exports file, which should not be edited directly. Discussed with: rwatson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-03T00:15:46.000000Z K 7 svn:log V 86 Grr, committed manual page without the last change - make the comment a bit prettier. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-03T02:57:02.000000Z K 7 svn:log V 99 MFC revision 1.133 Define the additional page fault error codes that are implemented by amd64. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T02:57:45.000000Z K 7 svn:log V 809 Drop unicast Ethernet frames not destined for the configured address of a tap(4) instance, if IFF_PROMISC is not set. In tap(4), we should emulate the effect IFF_PROMISC would have on hardware, otherwise we risk introducing layer 2 loops if tap(4) is used with bridges. This means not even bpf(4) gets to see them. This patch has been tested in a variety of situations. Multicast and broadcast frames are correctly allowed through. I have observed this behaviour causing problems with multiple QEMU instances hosted on the same FreeBSD machine. The checks in in ether_demux() [if_ethersubr.c, rev 1.222, line 638] are insufficient to prevent this bug from occurring, as ifp->if_vlantrunk will always be NULL for the non-vlan case. MFC after: 3 weeks PR: 86429 Submitted by: Pieter de Boer (with changes) END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-03T03:14:21.000000Z K 7 svn:log V 247 MFC revisions 1.308, 1.309, and 1.312 Pass VM_PROT_EXECUTE to vm_fault() instead of VM_PROT_READ if the page fault was caused by an instruction fetch. Differentiate between data and instruction fetch in the fatal page fault trap handler. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T03:37:37.000000Z K 7 svn:log V 252 Add an EXAMPLES section to ifconfig(8), clearly showing how to configure IPv6 addresses in FreeBSD. See also: http://www.telscom.ch/index.php/downloads/configure_ipv6_features MFC after: 1 week PR: 102701 Obtained from: OpenBSD (partly, with edits) END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T03:40:33.000000Z K 7 svn:log V 156 Backout revision 1.4; it is not verified as the correct fix for the PR. A more correct fix has been committed to ifconfig(8). Submitted by: bz PR: 102701 END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T03:57:45.000000Z K 7 svn:log V 118 Diff reduction with RELENG_6, style(9): Remove unnecessary brace; && should be on end of line. No functional changes. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T04:01:22.000000Z K 7 svn:log V 230 MFC: Drop all received data mbufs from a socket's queue if the MT_SONAME mbuf is dropped, to preserve the invariant in the PR_ADDR case. PR: kern/38495 Submitted by: James Juran Reviewed by: sam, rwatson Obtained from: NetBSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T06:45:02.000000Z K 7 svn:log V 111 Mark mmc *_if.m files as standard to allow for mmc/sd being compiled as a module. Submitted by: Andrea Bittau END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T06:45:51.000000Z K 7 svn:log V 119 In regular forwarding path, reject packets destined for 169.254.0.0/16 link-local addresses. See RFC 3927 section 2.7. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T06:46:11.000000Z K 7 svn:log V 107 The path to the mmc/mmcbus_if.m file is wrong. Correct it by prepending dev/ Submitted by: Andrea Bittau END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T06:46:48.000000Z K 7 svn:log V 101 In fast forwarding path, defer processing of 169.254.0.0/16 to ip_input(). See RFC 3927 section 2.7. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T07:09:36.000000Z K 7 svn:log V 62 We need to free the ivars for the child that we just deleted. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-03T07:46:26.000000Z K 7 svn:log V 95 ether_ifattach() sets if_mtu to ETHERMTU, don't bother set it again. Approved by: imp, cognet END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T07:49:20.000000Z K 7 svn:log V 279 Style; remove argument names from prototype, be consistent with rest of file. This has the additional side-effect of removing a C++ reserved keyword from this file, which prevents the Click Modular Router's FreeBSD kernel support from building. Reviewed by: silence on -current END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-02-03T09:34:36.000000Z K 7 svn:log V 61 ng_iface requiers neighbor cache as well. MFC after: 3 days END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-03T11:08:48.000000Z K 7 svn:log V 135 Fix quotqcheck to correctly use the curinode count, and not the curblock count when checking if the inode soft limit has been crossed. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-03T11:20:28.000000Z K 7 svn:log V 169 Do not touch the block or i-node grace times for id 0. These are used to indicate the default grace period for the file system, and should not be touched by quotacheck. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T11:57:09.000000Z K 7 svn:log V 97 MFC rev 1.132: Add an EXAMPLES section for ifconfig(8). PR: bin/102701 Obtained from: OpenBSD END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-03T11:57:44.000000Z K 7 svn:log V 10 Bump .Dd. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-02-03T13:33:40.000000Z K 7 svn:log V 71 bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ as well. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-02-03T13:38:04.000000Z K 7 svn:log V 96 Missed npe(4) in the last commit. "ate" also has support but is lagging a man page to link to. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-02-03T13:46:18.000000Z K 7 svn:log V 92 MFC: bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ in RELENG_6 as well. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-02-03T13:53:22.000000Z K 7 svn:log V 81 Add ALTQ support for aue(4). Tested by: Greg Hennessy, Volker MFC after: 1 week END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2007-02-03T16:01:46.000000Z K 7 svn:log V 123 Add a small informative printf under bootverbose to firmware_register to track problems when loading firmware from loader. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-03T16:08:11.000000Z K 7 svn:log V 142 MFC: sbin/geom/misc/subr.c 1.7 sbin/geom/misc/subr.h 1.8 Implement gctl_change_param() function, which changes value of existing parameter. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-02-03T16:09:10.000000Z K 7 svn:log V 651 MFC: sbin/geom/class/eli/geom_eli.c 1.19 When the following conditions are meet: - First configured key is based only on keyfile (no passphrase). - Device is attached. - User changes first key (setkey) from keyfile to passphrase and doesn't specify number of iterations (with -i option). ...geli(8) won't store calculated number of iterations in metadata. This result in device beeing unaccesable after detach. One can recover from this situation by guessing number of iterations generated, storing it in metadata and trying to attach device. Recovery procedure isn't nice, but one's data is not lost. Reported by: Thomas Nickl END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T16:19:28.000000Z K 7 svn:log V 682 Fix memory leak of devinfo. The leak itself was documented in PR/108719, but there's a simpler fix: free it after it is used, and then get rid of the redundant frees this causes. Other leaks in this PR not yet fixed. While I'm here, remove NetBSD/OpenBSD code and some of the portability #defines that were getting in the way of understanding this code. The devinfo bug was harder to spot because one needed to know that device_set_desc_copy() was used inside of one of them (one that didn't take an argument!). Prefer device_printf(sc->sc_dev, "...") to printf("%s:...", device_get_nameunit(sc->sc_dev)). This saves almost 300 bytes. PR: 108719 Submitted by: Antoine Brodin END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T16:33:47.000000Z K 7 svn:log V 268 Fix non-use, but not memory leak, of devinfop. Set the device's description here. The fix in the PR isn't necessary at all for memory leaks, but we weren't setting the device description. While I'm here, remove some of the obfuscating macros in attach. PR: 108719 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T16:38:32.000000Z K 7 svn:log V 79 Fix possible memory leaks of devinfo. PR: 108719 Submitted by: Antoine Brodin END K 10 svn:author V 5 wilko K 8 svn:date V 27 2007-02-03T16:40:19.000000Z K 7 svn:log V 29 MFC: %s/tranport/transport/ END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T16:41:55.000000Z K 7 svn:log V 69 Fix memory leak of devinfop PR: 108719 Submitted by: Antoine Brodin END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-03T19:11:09.000000Z K 7 svn:log V 83 It turns out we were mallocing too early, so move the allocation so we don't leak. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-03T19:29:31.000000Z K 7 svn:log V 14 Xref altq(4). END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-02-03T20:01:54.000000Z K 7 svn:log V 847 MFC: Merge from DRM upstream: - Add support for Intel 965 Express chipsets. - Add support for R200 vertex programs, along with minor bugfixes. - Add support for vblank synchronization to pipe B of Intel hardware (laptop screens). src/sys/dev/drm/i915_drm.h: rev 1.3 -> 1.4 src/sys/dev/drm/radeon_drm.h: rev 1.13 -> 1.14 src/sys/dev/drm/i915_irq.c: rev 1.3 -> 1.4 src/sys/dev/drm/radeon_state.c: rev 1.21 -> 1.22 src/sys/dev/drm/i915_dma.c: rev 1.3 -> 1.4 src/sys/dev/drm/radeon_cp.c: rev 1.18 -> 1.19 src/sys/dev/drm/drmP.h: rev 1.16 -> 1.17 src/sys/dev/drm/drm_drv.c: rev 1.5 -> 1.6 src/sys/dev/drm/mach64_drm.h: rev 1.2 -> 1.3 src/sys/dev/drm/drm_pciids.h: rev 1.6 -> 1.7 src/sys/dev/drm/i915_drv.h: rev 1.3 -> 1.4 src/sys/dev/drm/radeon_drv.h: rev 1.15 -> 1.16 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-02-03T20:02:29.000000Z K 7 svn:log V 14 Xref altq(4). END K 10 svn:author V 4 rink K 8 svn:date V 27 2007-02-03T20:12:00.000000Z K 7 svn:log V 126 Add support for the NetCell NC3000/5000 series SATA RAID cards. Reviewed by: sos Approved by: imp (mentor) MFC after: 1 week END K 10 svn:author V 3 flz K 8 svn:date V 27 2007-02-03T21:11:11.000000Z K 7 svn:log V 35 Fix build (sc->dev => sc->sc_dev). END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-03T22:11:53.000000Z K 7 svn:log V 102 Include opt_ipdivert.h so that the message announcing ipfw correctly describes the state of IPDIVERT. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-04T01:41:32.000000Z K 7 svn:log V 353 If quotas are not currently enabled for a file system, edquota -p will operate directly on the quota file. It will incorrectly write the prototype user's usage information for each new quota it sets. Fixed to read in the current quota information and update the file correctly. If quotas are enabled the kernel handles this case fine. PR: bin/15410 END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-02-04T05:49:16.000000Z K 7 svn:log V 101 clear/reclaim challenge text when switching auth mode and operating as an ap Obtained from: Atheros END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-04T06:17:14.000000Z K 7 svn:log V 106 Partial MFC (revision 1.27) Fix apparent memory leak (during vchan destruction) that was here since eon. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-02-04T06:17:48.000000Z K 7 svn:log V 546 Partial MFC (buffer.h 1.14, buffer.c 1.30) Fix huge memory leak within sound buffer (during channel destruction, buffer resizing, etc.) that was here since eon. Free all (unmanaged) allocated buffer through sndbuf_destroy() in case we forgot to call sndbuf_free(). For a managed buffer (mostly hw specific managed buffer), either provide CHANNEL_FREE() method with appropriate return value to invoke semi-automatic sndbuf_free() or simply do it on their own. If everything is failed, sndbuf_destroy() will come to the rescue as a final measure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-04T06:33:13.000000Z K 7 svn:log V 395 Patches to allow one to allow one to specify a directory to chroot to. This includes support for running a script to setup that directory. The kenv variables init_chroot and init_script control this behavior, and are documented in loader(8) that's about to be committed (along with the other variables like init_path...). Submitted by: Oliver Fromme Reviewed by: myself, jhb (earlier versions) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-04T06:33:15.000000Z K 7 svn:log V 502 If two files systems, /a and /b are marked as having quotas enabled in fstab and they are normally mounted as /a/b, if /b is not mounted, the various quota utilities will incorrectly operate with the quotas on /a (silently) when operations are attemted on /b. Sync up all the hasquota() routines between all the different quota utilities and change it to detect if the file system we are attempting to perform quota operations on is not currently mounted and warn the user accordingly. PR: bin/38918 END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-02-04T06:35:10.000000Z K 7 svn:log V 151 Document the init_chroot and init_script variables. # I didn't check the markup too closely, so doc people, please check Submitted by: Oliver Fromme END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-04T06:46:57.000000Z K 7 svn:log V 448 If quotacheck or edquota reset the block or inode grace time for a user or group, when the kernel first sees this, it will update the grace time value. However, it never flags the quota as modified and the updated value never makes it to the quota data file unless the user actually makes some other change that would write the data out. Fixed to flag the quota as modified if the soft limit has actually been reached and should be now enforced. END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-02-04T06:52:33.000000Z K 7 svn:log V 234 Orion originally wrote and added these files in 2002/2003, so with his approval, change the copyright statement to point at him instead of "FreeBSD, Inc". Encouraged by: rwatson Reviewed by: imp Discussed with and approved by: orion END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-04T07:44:40.000000Z K 7 svn:log V 115 Expand this man page to provide some details on the structure of the quota data files and how they are maintained. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2007-02-04T10:41:20.000000Z K 7 svn:log V 62 MFC rev. 1.112 Add gnustep and ports-mgmt ports categories. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-02-04T10:42:30.000000Z K 7 svn:log V 94 MFC: 1.30: Correct exit status for type/command builtin. 1.31: Use eaccess instead of access. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2007-02-04T12:47:52.000000Z K 7 svn:log V 238 Synaptics TouchPad seems to go back to Relative Mode after the call to set_controller_command_byte() call; by issueing a Read Mode Byte command, the touchpad is in Absolute Mode again. This problem occursed at least on Asus V6V laptops. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2007-02-04T13:31:05.000000Z K 7 svn:log V 201 Remove all #if __FreeBSD_version checks now that RSTP support has been MFCed to RELENG_6. We no longer need that to compile the bridge module under both RELENG_6 and CURRENT. Approved by: bz (mentor) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-02-04T13:31:06.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 mpp K 8 svn:date V 27 2007-02-04T14:06:58.000000Z K 7 svn:log V 462 If a user is over both the soft block limit and soft i-node limit, quota will report one of the grace times incorrectly. This is due to it storing the result in a static buffer, and the routine being called like: printf("....", ..., timeprnt(btime), timeprnt(itime), ...) The problem becomes very obvious if you change one of the default grace periods to be much larger than the other one. Changed timeprnt to dynamically allocate the string to be displayed. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-02-04T14:26:01.000000Z K 7 svn:log V 129 Document that quotas must be turned off on a file system and then turned back on in order for grace time changes to take effect. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-04T16:32:46.000000Z K 7 svn:log V 608 Implement ifnet cloning for tun(4)/tap(4). Make devfs cloning a sysctl/tunable which defaults to on. If devfs cloning is enabled, only the super-user may create tun(4)/tap(4)/vmnet(4) instances. Devfs cloning is still enabled by default; it may be disabled from the loader or via sysctl with "net.link.tap.devfs_cloning" and "net.link.tun.devfs_cloning". Disabling its use affects potentially all tun(4)/tap(4) consumers including OpenSSH, OpenVPN and VMware. PR: 105228 (potentially also 90413, 105570) Submitted by: Landon Fuller Tested by: Andrej Tobola Approved by: core (rwatson) MFC after: 4 weeks END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-04T16:48:56.000000Z K 7 svn:log V 327 Be explicit in examples about the correct grammar for 'alias' and '-alias', and that 'add' and 'delete are in fact synonyms for these in the ifconfig(8) grammar. Use network prefixes explicitly specified in IETF RFCs for documentation purposes. (bz) PR: 102701 MFC after: 1 day See also: RFC 3330, RFC 3849 Submitted by: bz END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-04T16:59:50.000000Z K 7 svn:log V 156 Typo. (Oh well, I guess that's the danger of updating two three-letter-named entities at the same time.) Submitted by: Simon L. Nielsen MFC after: 4 weeks END K 10 svn:author V 6 philip K 8 svn:date V 27 2007-02-04T17:10:18.000000Z K 7 svn:log V 120 Fix hr.iso syscons keymap, making it possible to type < and >. PR: conf/105642 Submitted by: ivoras MFC after: 3 days END K 10 svn:author V 3 rse K 8 svn:date V 27 2007-02-04T20:04:29.000000Z K 7 svn:log V 68 fix bug: avoid dereferencing content of an already free(3)'ed chunk END K 10 svn:author V 3 rse K 8 svn:date V 27 2007-02-04T20:06:10.000000Z K 7 svn:log V 89 Correct parser by using intended C equality ("==") instead of assignment ("=") operator. END K 10 svn:author V 3 rse K 8 svn:date V 27 2007-02-04T20:07:07.000000Z K 7 svn:log V 89 cleanup code: remove unnecessary and useless void cast from void-function skip_string(). END K 10 svn:author V 3 rse K 8 svn:date V 27 2007-02-04T20:52:57.000000Z K 7 svn:log V 151 cleanup code: remove superfluous comma at end of enumeration declaration, remove useless "break" after exit(3) call, and add a missing va_end(3) call. END K 10 svn:author V 2 le K 8 svn:date V 27 2007-02-04T22:14:18.000000Z K 7 svn:log V 251 Add support for another 3G card and update man page accordingly. The patch from the PR was a little outdated w/regards to the Vodafone vendor string. PR: kern/106033 Submitted by: Volker Werth MFC in: 3 days END K 10 svn:author V 5 tegge K 8 svn:date V 27 2007-02-04T23:42:02.000000Z K 7 svn:log V 81 Call pbgetvp() and pbrelvp() instead of setting b_vp directly. PR: kern/108151 END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-05T00:15:40.000000Z K 7 svn:log V 242 When fast-forwarding is enabled, do not forward directed IPv4 broadcasts to locally attached broadcast networks. Note well: This relies on the layer 2 route cloning behaviour in BSD. PR: 98799 Tested by: Dmitry Sergienko MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-02-05T06:02:55.000000Z K 7 svn:log V 171 Change the free page queue lock from a spin mutex to a default (blocking) mutex. With the demise of Alpha support, there is no longer a reason for it to be a spin mutex. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-05T07:35:23.000000Z K 7 svn:log V 48 getopt(3) returns -1, not EOF when out of args. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-02-05T10:33:39.000000Z K 7 svn:log V 24 is unneeded. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-05T11:05:41.000000Z K 7 svn:log V 18 MFC after: 3 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-05T11:15:52.000000Z K 7 svn:log V 316 Clean up after tun(4) properly; remove routes whose ifp is set to that of the tun instance even for the !AF_INET case, and properly remove configured addresses by calling if_purgeaddrs(). Maintain the TUN_DSTADDR behaviour for compatibility with the OS/390 emulator. MFC after: 3 weeks PR: 100080 Reviewed by: bz END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-05T11:18:47.000000Z K 7 svn:log V 155 Forced commit; Vim ate my homework^Wkeystroke. Fix an incorrect TCP-MD5 key length check for the !FAST_IPSEC case. PR: 104422, 107520 MFC after: 3 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-02-05T11:29:08.000000Z K 7 svn:log V 173 Fix devfs cloning for non-superusers when net.link.tap.user_open is non-zero. Note: 'ifconfig tapX create' still requires PRIV_NET_IFCREATE privilege. Reviewed by: rwatson END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-02-05T11:38:26.000000Z K 7 svn:log V 155 MFC rev. 1.50 of src/sys/fs/deadfs/dead_vnops.c rev. 1.97 of src/sys/kern/vfs_lookup.c Introduce mp_crossmp placeholder vnode to fix LOR in vfs_lookup(). END