ļ:222381 130 318 653 653 877 877 788 1022 1022 830 322 358 592 130 124 790 790 130 124 677 952 2553 264 872 897 234 1501 401 1087 206 795 924 1214 1218 201 300 413 366 538 818 309 333 270 181 231 130 141 191 788 337 310 241 395 510 145 99 158 161 388 116 125 236 790 257 869 206 150 375 680 216 212 122 420 153 771 256 138 99 269 144 145 191 234 406 446 364 497 277 653 223 200 141 232 166 127 505 119 129 206 206 353 353 274 183 396 184 313 253 4085 136 136 143 220 217 121 148 156 128 638 127 123 183 249 268 345 120 290 204 188 874 468 K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T20:01:46.301942Z K 7 svn:log V 222 sh: Correct criterion for using CDPATH in cd. CDPATH should be ignored not only for pathnames starting with '/' but also for pathnames whose first component is '.' or '..'. The man page already describes this behaviour. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T20:21:12.700867Z K 7 svn:log V 556 MFC r221557-221558,221560-221561,221571: r221557: Remove unnecessary htole32/le32toh dance. r221571: Remove unneeded use of variable status. r221558: Set status word once instead of twice. For 3C90xB/3C90xC, frame length of status word is ignored. While here move bus_dmamap_sync() up where DMA map is loaded. r221560: Call bus_dmamap_sync() only after TX DPD update. r221561: Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T20:22:19.675895Z K 7 svn:log V 556 MFC r221557-221558,221560-221561,221571: r221557: Remove unnecessary htole32/le32toh dance. r221571: Remove unneeded use of variable status. r221558: Set status word once instead of twice. For 3C90xB/3C90xC, frame length of status word is ignored. While here move bus_dmamap_sync() up where DMA map is loaded. r221560: Call bus_dmamap_sync() only after TX DPD update. r221561: Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T20:33:26.572693Z K 7 svn:log V 780 MFC r221563-221564: r221563: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop. r221564: Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to upper stack which in turn means it ignored frames that were discarded due to errors. The number of processed frames in RX descriptor ring is used to detect whether driver is out of sync with controller's current descriptor pointer. Returning number of processed frames reduces unnecessary (probably wrong) re-synchronization. While here, remove unnecessary local variable initialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T20:34:23.750518Z K 7 svn:log V 780 MFC r221563-221564: r221563: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop. r221564: Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to upper stack which in turn means it ignored frames that were discarded due to errors. The number of processed frames in RX descriptor ring is used to detect whether driver is out of sync with controller's current descriptor pointer. Returning number of processed frames reduces unnecessary (probably wrong) re-synchronization. While here, remove unnecessary local variable initialization. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T20:53:07.080897Z K 7 svn:log V 692 sh: Remove the "exp" builtin. The "exp" builtin is undocumented, non-standard and not very useful. If exp's return value is not used, something like VAR=$(exp EXPRESSION) is equivalent to VAR=$((EXPRESSION)) except that errors in the expression are fatal and quoting special characters is not needed in the latter case. If exp's return value is used, something like if exp EXPRESSION >/dev/null can be replaced by if [ $((EXPRESSION)) -ne 0 ] with similar differences. The exp-run showed that "let" is close enough to bash's and ksh's builtin that removing it would break a few ports. Therefore, "let" remains in 9.x. PR: bin/104432 Exp-run done by: pav (with some other sh(1) changes) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T21:43:35.070073Z K 7 svn:log V 925 MFC r221565-221568,221579: r221565: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued frame. I hope this addresses a long standing xl(4) watchdog timeout issue as well. Obtained from: OpenBSD r221566,221579: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of statistics. This change removes a hack used in interrupt handler where it wanted to update statistics without driving MII tick. r221567: Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. r221568: XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-27T21:45:21.456848Z K 7 svn:log V 925 MFC r221565-221568,221579: r221565: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued frame. I hope this addresses a long standing xl(4) watchdog timeout issue as well. Obtained from: OpenBSD r221566,221579: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of statistics. This change removes a hack used in interrupt handler where it wanted to update statistics without driving MII tick. r221567: Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. r221568: XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-27T22:05:10.444866Z K 7 svn:log V 732 Fix the new NFS client so that it handles NFSv4 state correctly during a forced dismount. This required that the exclusive and shared (refcnt) sleep lock functions check for MNTK_UMOUNTF before sleeping, so that they won't block while nfscl_umount() is getting rid of the state. As such, a "struct mount *" argument was added to the locking functions. I believe the only remaining case where a forced dismount can get hung in the kernel is when a thread is already attempting to do a TCP connect to a dead server when the krpc client structure called nr_client is NULL. This will only happen just after a "mount -u" with options that force a new TCP connection is done, so it shouldn't be a problem in practice. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-27T22:14:49.010080Z K 7 svn:log V 226 find: If a part of an expression is unknown, do not call it an option. Although most of the primaries and operators start with "-", they are not options. Examples: find . -xyz find . -name xyz -or bad MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-27T23:09:12.855033Z K 7 svn:log V 262 Wire the kernel using TLB1 entry 0 rather than entry 1. A more recent U-Boot as found on the P1020RDB doesn't like it when we use entry 1 (for some reason) whereas an older U-Boot doesn't mind if we use entry 0. If anything else, this simplifies the code a bit. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-27T23:18:41.406498Z K 7 svn:log V 496 o The P1020(E) & P2020(E) also have two cores. This conditional has a tendency to grow unwieldy so we may want to revisit this in due time. o Simplify the CPU reset function by writing to the reset control register irrespective of whether the CPU has one and automatically falling back to the debug control register if we didn't reset the CPU. The side-effect is that we now properly reset future processors without first having to add the system version to the list. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-27T23:50:10.619282Z K 7 svn:log V 36 Vendor import of BIND 9.6-ESV-R4-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-27T23:50:46.384678Z K 7 svn:log V 30 Tag the 9.6-ESV-R4-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-28T00:21:28.858211Z K 7 svn:log V 695 Upgrade to 9.6-ESV-R4-P1, which address the following issues: 1. Very large RRSIG RRsets included in a negative cache can trigger an assertion failure that will crash named (BIND 9 DNS) due to an off-by-one error in a buffer size check. This bug affects all resolving name servers, whether DNSSEC validation is enabled or not, on all BIND versions prior to today. There is a possibility of malicious exploitation of this bug by remote users. 2. Named could fail to validate zones listed in a DLV that validated insecure without using DLV and had DS records in the parent zone. Add a patch provided by ru@ and confirmed by ISC to fix a crash at shutdown time when a SIG(0) key is being used. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-28T00:33:06.736049Z K 7 svn:log V 695 Upgrade to 9.6-ESV-R4-P1, which address the following issues: 1. Very large RRSIG RRsets included in a negative cache can trigger an assertion failure that will crash named (BIND 9 DNS) due to an off-by-one error in a buffer size check. This bug affects all resolving name servers, whether DNSSEC validation is enabled or not, on all BIND versions prior to today. There is a possibility of malicious exploitation of this bug by remote users. 2. Named could fail to validate zones listed in a DLV that validated insecure without using DLV and had DS records in the parent zone. Add a patch provided by ru@ and confirmed by ISC to fix a crash at shutdown time when a SIG(0) key is being used. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-28T00:44:44.205991Z K 7 svn:log V 36 Vendor import of BIND 9.4-ESV-R4-P1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-28T00:46:16.650750Z K 7 svn:log V 30 Tag the 9.4-ESV-R4-P1 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-28T00:58:19.048120Z K 7 svn:log V 582 Upgrade to 9.4-ESV-R4-P1, which addresses the following issues: 1. Very large RRSIG RRsets included in a negative cache can trigger an assertion failure that will crash named (BIND 9 DNS) due to an off-by-one error in a buffer size check. This bug affects all resolving name servers, whether DNSSEC validation is enabled or not, on all BIND versions prior to today. There is a possibility of malicious exploitation of this bug by remote users. 2. Named could fail to validate zones listed in a DLV that validated insecure without using DLV and had DS records in the parent zone. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-28T04:10:44.663689Z K 7 svn:log V 856 Better support different kernel hand-offs. When loaded directly from U-Boot, the kernel is passed a standard argc/argv pair. The Juniper loader passes the metadata pointer as the second argument and passes 0 in the first. The FreeBSD loader passes the metadata pointer in the first argument. As such, have locore preserve the first 2 arguments in registers r30 & r31. Change e500_init() to accept these arguments. Don't pass global offsets (i.e. kernel_text and _end) as arguments to e500_init(). We can reference those directly. Rename e500_init() to booke_init() now that we're changing the prototype. In booke_init(), "decode" arg1 and arg2 to obtain the metadata pointer correctly. For the U-Boot case, clear SBSS and BSS and bank on having a static FDT for now. This allows loading the ELF kernel and jumping to the entry point without trampoline. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T04:40:35.571897Z K 7 svn:log V 2454 MFC r215166,215377,215391,215392,215393,215395,216101,216103,216105,216107, 216749,216760,217748,218167: - Add a KPI and supporting infrastructure to allow modular congestion control algorithms to be used in the net stack. Algorithms can maintain per-connection state if required, and connections maintain their own algorithm pointer, which allows different connections to concurrently use different algorithms. The TCP_CONGESTION socket option can be used with getsockopt()/setsockopt() to programmatically query or change the congestion control algorithm respectively from within an application at runtime. - Integrate the framework with the TCP stack in as least intrusive a manner as possible. Care was also taken to develop the framework in a way that should allow integration with other congestion aware transport protocols (e.g. SCTP) in the future. The hope is that we will one day be able to share a single set of congestion control algorithm modules between all congestion aware transport protocols. - Introduce a new congestion recovery (TF_CONGRECOVERY) state into the TCP stack and use it to decouple the meaning of recovery from a congestion event and recovery from packet loss (TF_FASTRECOVERY) a la RFC2581. ECN and delay based congestion control protocols don't generally need to recover from packet loss and need a different way to note a congestion recovery episode within the stack. - Remove the net.inet.tcp.newreno sysctl, which simplifies some portions of code and ensures the stack always uses the appropriate mechanisms for recovering from packet loss during a congestion recovery episode. - Extract the NewReno congestion control algorithm from the TCP stack and massage it into module form. NewReno is always built into the kernel and will remain the default algorithm for the forseeable future. Implementations of additional different algorithms will become available in the near future. - Tweak the MFCed code to preserve the ABI of the 8-STABLE branch with respect to "struct tcpcb" by consuming some of the padding within the struct. - Bump __FreeBSD_version to 802504. In collaboration with: David Hayes and Grenville Armitage Sponsored by: Cisco URP, FreeBSD Foundation Reviewed by: rpaulo (r215166), bz (r215391,215395,216749,217748) Tested by: David Hayes (r215166), trociny (r215377,215391,215392,215395) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T05:04:53.411095Z K 7 svn:log V 166 MFC r216109: Add build infrastructure for the forthcoming CC algorithm modules. Sponsored by: FreeBSD Foundation Submitted by: David Hayes END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T05:17:52.056662Z K 7 svn:log V 774 MFC r216114,217683: Import a clean-room implementation of the experimental CUBIC congestion control algorithm based on the Internet-Draft "draft-rhee-tcpm-cubic-02.txt". It is implemented as a kernel module compatible with the recently committed modular congestion control framework. CUBIC was designed for provide increased throughput in fast and long-distance networks. It attempts to maintain fairness when competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. The paper "CUBIC: A New TCP-Friendly High-Speed TCP Variant" provides additional detail. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: rpaulo END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T05:28:00.033338Z K 7 svn:log V 799 MFC r216115: Import a clean-room implementation of the experimental H-TCP congestion control algorithm based on the Internet-Draft "draft-leith-tcp-htcp-06.txt". It is implemented as a kernel module compatible with the recently committed modular congestion control framework. H-TCP was designed to provide increased throughput in fast and long-distance networks. It attempts to maintain fairness when competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. The paper "H-TCP: A framework for congestion control in high-speed and long-distance networks" provides additional detail. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: rpaulo END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-05-28T05:40:19.948267Z K 7 svn:log V 137 Big rework to attmempt to clean up hanging mounts of vanished chroots. While here, attempt to remove builds that are now stale, as well. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T06:56:09.972247Z K 7 svn:log V 1402 MFC r216615,217248,217250: - Introduce the Hhook (Helper Hook) KPI. The KPI is closely modelled on pfil(9), and in many respects can be thought of as a more generic superset of pfil. Hhook provides a way for kernel subsystems to export hook points that Khelp modules can hook to provide enhanced or new functionality to the kernel. The KPI has been designed to ensure hook points pose no noticeable overhead when no hook functions are registered. - Introduce the Khelp (Kernel Helpers) KPI. Khelp provides a framework for managing Khelp modules, which indirectly use the Hhook KPI to register their hook functions with hook points of interest within the kernel. Khelp modules aim to provide a structured way to dynamically extend the kernel at runtime in an ABI preserving manner. Depending on the subsystem providing hook points, a Khelp module may be able to associate per-object data for maintaining relevant state between hook calls. - pjd's Object Specific Data (OSD) KPI is used to manage the per-object data allocated to Khelp modules. Create a new "OSD_KHELP" OSD type for use by the Khelp framework. - Bump __FreeBSD_version to 802505 to mark the introduction of the new KPIs. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz, others along the way END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T07:23:26.482766Z K 7 svn:log V 303 MFC r216753,217221: Add a new sack hint to track the most recent and highest sacked sequence number. This will be used by the incoming Enhanced RTT Khelp module. Sponsored by: FreeBSD Foundation Submitted by: David Hayes Reviewed by: bz and others (as part of a larger patch) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:13:39.285689Z K 7 svn:log V 989 MFC r216758,217252: - Add some helper hook points to the TCP stack. The hooks allow Khelp modules to access inbound/outbound events and associated data for established TCP connections. The hooks only run if at least one hook function is registered for the hook point, ensuring the impact on the stack is effectively nil when no TCP Khelp modules are loaded. struct tcp_hhook_data is passed as contextual data to any registered Khelp module hook functions. - Add an OSD (Object Specific Data) pointer to struct tcpcb to allow Khelp modules to associate per-connection data with the TCP control block. - Tweak the MFCed code to preserve the ABI of the 8-STABLE branch with respect to "struct tcpcb" by consuming some of the padding within the struct. - Bump __FreeBSD_version to 802506. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz, others along the way END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:20:25.285797Z K 7 svn:log V 108 MFC r217773: Add build infrastructure for Khelp modules. Sponsored by: FreeBSD Foundation Reviewed by: bz END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:24:22.530455Z K 7 svn:log V 697 MFC 217806: Import the ERTT (Enhanced Round Trip Time) Khelp module. ERTT uses the Khelp/Hhook KPIs to hook into the TCP stack and maintain a per-connection, low noise estimate of the instantaneous RTT. ERTT's implementation is robust even in the face of delayed acknowledgements and/or TSO being in use for a connection. A high quality, low noise RTT estimate is a requirement for applications such as delay-based congestion control, for which we will be importing some algorithm implementations shortly. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:28:37.088554Z K 7 svn:log V 826 MFC r218152,218156: Import a clean-room implementation of the VEGAS congestion control algorithm based on the paper "TCP Vegas: end to end congestion avoidance on a global internet" by Brakmo and Peterson. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. VEGAS uses network delay as a congestion indicator and unlike regular loss-based algorithms, attempts to keep the network operating with stable queuing delays and no congestion losses. By keeping network buffers used along the path within a set range, queuing delays are kept low while maintaining high throughput. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:32:17.174515Z K 7 svn:log V 1115 MFC 218153: Import a clean-room implementation of the Hamilton-Delay (HD) congestion control algorithm based on the paper "A strategy for fair coexistence of loss and delay-based congestion control algorithms" by Budzisz, Stanojevic, Shorten and Baker. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. HD uses a probabilistic approach to reacting to delay-based congestion. The probability of reducing cwnd is zero when the queuing delay is very small, increasing to a maximum at a set threshold, then back down to zero again when the queuing delay is high. Normal operation keeps the queuing delay below the set threshold. However, since loss-based congestion control algorithms push the queuing delay high when probing for bandwidth, having the probability of reducing cwnd drop back to zero for high delays allows HD to compete with loss-based algorithms. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:34:30.881857Z K 7 svn:log V 1119 MFC 218155: Import an implementation of the CAIA-Hamilton-Delay (CHD) congestion control algorithm described in the paper "Improved coexistence and loss tolerance for delay based TCP congestion control" by Hayes and Armitage. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. CHD enhances the approach taken by the Hamilton-Delay (HD) algorithm to provide tolerance to non-congestion related packet loss and improvements to coexistence with loss-based congestion control algorithms. A key idea in improving coexistence with loss-based congestion control algorithms is the use of a shadow window, which attempts to track how NewReno's congestion window (cwnd) would evolve. At the next packet loss congestion event, CHD uses the shadow window to correct cwnd in a way that reduces the amount of unfairness CHD experiences when competing with loss-based algorithms. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-28T08:37:03.373101Z K 7 svn:log V 106 - Use libc in grep instead of GNU regex - Eliminate literal matching code and depend on TRE's REG_LITERAL END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T08:43:24.533502Z K 7 svn:log V 202 MFC r218545,218914: Add an example Khelp module, which will be referenced in the forthcoming Khelp documentation. Sponsored by: FreeBSD Foundation Discussed with: David Hayes END K 10 svn:author V 5 simon K 8 svn:date V 27 2011-05-28T08:44:39.778651Z K 7 svn:log V 318 Fix an off by one which can result in a assertion failure in BIND related to large RRSIG RRsets and Negative Caching. This can cause named to crash. Security: FreeBSD-SA-11:02.bind Security: CVE-2011-1910 Security: https://www.isc.org/software/bind/advisories/cve-2011-1910 Obtained from: ISC Approved by: so (simon) END K 10 svn:author V 6 julian K 8 svn:date V 27 2011-05-28T08:50:38.945779Z K 7 svn:log V 270 New boot loader menus from Devin Teske. Discussed on hackers and recommended for inclusion into 9.0 at the devsummit. All support email to devin dteske at vicor dot ignoreme dot com . Submitted by: dteske at vicor dot ignoreme dot com Reviewed by: me and many others END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-28T11:37:47.374749Z K 7 svn:log V 442 printf: Allow multibyte characters for ' form, avoid negative codes. Examples: LC_ALL=en_US.UTF-8 printf '%d\n' $(printf \'\\303\\244) LC_ALL=en_US.ISO8859-1 printf '%d\n' $(printf \'\\344) Both of these should print 228. Like some other shells, incomplete or invalid multibyte characters yield the value of the first byte without a warning. Note that there is no general way to go back from the character code to the character. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T13:48:49.872068Z K 7 svn:log V 720 MFC r218912,218945,220237: - Add new man pages for the modular congestion control, Khelp and Hhook frameworks (cc.4, cc.9, khelp.9 and hhook.9). - Add new man pages for each available congestion control algorithm (cc_chd.4, cc_cubic.4, cc_hd.4, cc_htcp.4, cc_newreno.4 and cc_vegas.4). - Add a new man page for the Enhanced Round Trip Time (ERTT) Khelp module (h_ertt.4). - Update the TCP (tcp.4) man page to mention the TCP_CONGESTION socket option, cross reference to cc.4 and remove references to the retired "net.inet.tcp.newreno" sysctl MIB variable. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-05-28T13:54:19.947667Z K 7 svn:log V 211 MFC r220560: Use the full and proper company name for Swinburne University of Technology throughout the source tree. Requested by: Grenville Armitage, Director of CAIA at Swinburne University of Technology END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-28T14:32:47.073824Z K 7 svn:log V 237 printf(1): Document that %c and precision for %b/%s use bytes, not chars. This means these features do not work as expected with multibyte characters. This perhaps less than ideal behaviour matches printf(3) and is specified by POSIX. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-05-28T15:07:29.006732Z K 7 svn:log V 172 Due to a lag in updating the fs_pendinginodes count, we cannot depend on it to decide whether we should try to reclaim inodes when we run short. Discovered by: Peter Holm END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-05-28T15:14:50.023708Z K 7 svn:log V 84 Update the manual page to reflect the new 32K/4K defaults. Reminded by: Ivan Voras END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-28T15:43:56.077050Z K 7 svn:log V 135 Fix AR9287 operation when >1 TX chain is enabled. I didn't pick this up with the initial commit because I was only testing with 11bg. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-28T16:15:46.697544Z K 7 svn:log V 30 Fix shell-based partitioning. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-28T16:30:24.056136Z K 7 svn:log V 46 Remove unused defines. They're distracting... END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-28T17:13:15.327482Z K 7 svn:log V 91 Check whether the return value of OF_open is 0 only, as -1 is potentially a valid ihandle. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-28T19:14:16.121649Z K 7 svn:log V 692 o Determine the number of LAWs in a way the is future proof. Only the MPC8555(E) has 8 LAWs, so don't make that the default case. Current processors have 12 LAWs so use that as the default instead. o Determine the target ID of the PCI/PCI-X and PCI-E controllers in a way that's more future proof. There's almost a perfect mapping from HC register offset to target ID, so use that as the default. Handle the MPC8548(E) specially, since it has a non-standard target ID for the PCI-E controller. Don't worry about whether the processor implements the target ID here, because we should not get called for PCI/PCI-X or PCI-E host controllers that don't exist. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-28T21:13:22.117354Z K 7 svn:log V 236 Factor out the SMU fan management code into a new module (powermac_thermal) that will connect all of the various sensors and fan control modules on Apple hardware with software-controlled fans (e.g. all G5 systems). MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-28T21:54:18.981647Z K 7 svn:log V 209 Require an error instead of a timeout to decide the new-style fan commands won't work. This prevents a busy system from making smu(4) suddenly decide its fans use the old-style command set. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-28T22:11:22.289960Z K 7 svn:log V 140 Adapt smusat(4) to use powermac_thermal. This provides automatic fan management on dual- and quad-core Powermac G5s, and the last G5 iMacs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-29T00:17:13.505151Z K 7 svn:log V 299 Teach if_ath about devices which have short-GI in 20MHz channel modes. This has been disabled until now because there hasn't been any supported device which has this feature. Since the AR9287 is the first device to support it, and since now the HAL has functional AR9287+11n support, flip this on. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-29T00:27:42.858159Z K 7 svn:log V 414 o Add system versions for the P4040(E) and P4080(E). o In bare_probe(), change the logic that determines the maximum number of processors/cores into a switch statement and take advantage of the fact that bit 3 of the SVR value indicates whether we're running on a security enabled version. Since we don't care about that here, mask the bit. All -E versions are taken care of automatically. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-29T00:40:59.322859Z K 7 svn:log V 50 The P4080 has 8 cores. Bump MAXCPU to 8 to match. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-29T00:59:38.177458Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-29T02:09:09.323713Z K 7 svn:log V 62 MFC r222002: Do not use memory barrier when is not necessary. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-29T02:10:57.484022Z K 7 svn:log V 65 MFC r222201: Fill the whole cpuset_t, not only the first object. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-05-29T02:21:35.773917Z K 7 svn:log V 292 Supply the LLE_STATIC flag bit to in_ifscurb() when scrubbing interface address so that proper clean up will take place in the routing code. This patch fixes the bootp panic on startup problem. Also, added more error handling and logging code in function in_scrubprefix(). MFC after: 5 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T02:53:52.113759Z K 7 svn:log V 24 Merge from head@222434. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T05:06:59.956099Z K 7 svn:log V 33 Use ANSI C function definitions. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T05:12:24.526977Z K 7 svn:log V 143 Display an nd6 line when the interface has ND6_IFF_ACCEPT_RTADV and no inet6 address. This change should be useful for SLAAC-only interfaces. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T05:24:58.591393Z K 7 svn:log V 697 Implemnt RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisement Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. Lifetime handling is not supported at this moment. Note: when receiving a link-local scope address rtsold(8) adds a scope id into addresses in the script arguments based on the received interface in a representation defined in RFC 4007 (e.g. fe80::1%bge0). However, there are some shell scripts using printf(1) (including resolvconf(8)) cannot process it properly because printf(1) can recognize the character % as special. Based on work by: J.R. Oldroyd PR: kern/156259 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T05:45:56.695990Z K 7 svn:log V 164 Correct bogus ND_OPT_ROUTE_INFO value to one in RFC 4191. The draft-ietf-ipngwg-router-preference did not define the type value and "200" was never used actually. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-29T07:40:48.896640Z K 7 svn:log V 777 The argument to setsockopt for IP_MULTICAST_LOOP depends on operating system and is decided upon by configure and could be an u_int or a u_char. For FreeBSD it is a u_char. For IPv6 however RFC 3493, 5.2 defines the argument to IPV6_MULTICAST_LOOP to be an unsigned integer so make sure we always use that using a second variable for the IPV6 case. This is to get rid of these error messages every 5 minutes on some systems: ntpd[1530]: setsockopt IPV6_MULTICAST_LOOP failure: Invalid argument on socket 22, addr fe80::... for multicast address ff02::101 While here also fix the copy&paste error in the log message for IPV6_MULTICAST_LOOP. Reviewed by: roberto Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days Filed as: Bug 1936 on ntp.org END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-29T07:44:24.384695Z K 7 svn:log V 114 Mention r222444, NTP bug 1936 we locally fixed already to be considered on next update(s). Requested by: roberto END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-05-29T10:49:33.783331Z K 7 svn:log V 58 Set INDEX_PORTS=. by default, rather than an empty value. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-29T11:10:56.353060Z K 7 svn:log V 282 Mention that jumbo frame support is disabled on PCIe VT6130/VT6132 controllers because of TX MAC hangs when trying to send a frame that is larger than 4K (see r200759). PR: docs/156742 Submitted by: Michael Moll (kvedulv at kvedulv dot de) Reviewed by: yongari@ MFC after: 6 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-29T12:15:49.154077Z K 7 svn:log V 587 - Enable transports other than INET including INET6. - Use svc_getrpccaller() instead of svc_getcaller() to support transports other than INET. - Extend /var/yp/securenets to support CIDR notation and IPv6 address. It now supports the following: 127.0.0.1 255.0.0.0 127.0.0.1/8 172.16.10.1 fe80::1%fxp0/10 2001:db8:1::1 ffff:ffff:ffff:ffff:: 2001:db8:2::1/68 2001:db8:3::1 - Add -S flag to support Sorlais-compatible securenets format. - Fix memory leak on removal of socklist and bindaddrlist. - Remove inconsistent LINEBUFSZ, use BUFSIZ. - Style(9) fixes. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-05-29T14:25:42.312806Z K 7 svn:log V 118 Add a new driver, the ad7417, to read temperatures and voltages on some PowerMac's. Approved by: nwhitehorn (mentor) END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-05-29T14:27:11.117417Z K 7 svn:log V 114 Add some missing files. Without we hang in the OF prompt asking for screen.4th. Approved by: nwhitehorn (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-29T15:02:10.016097Z K 7 svn:log V 27 sh: Add test for 'set +o'. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-29T15:07:53.462299Z K 7 svn:log V 324 MFC r222173: sh: Fix bss-based buffer overflow in . builtin. If the length of a directory in PATH together with the given filename exceeded FILENAME_MAX (which may happen even for pathnames that work), a static buffer was overflown. The static buffer is unnecessary, we can use the stalloc() stack. Obtained from: NetBSD END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-29T15:10:12.987138Z K 7 svn:log V 58 MFC r222174: sh: Add test for r222173 (MFCed as r222452). END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-05-29T18:00:50.511918Z K 7 svn:log V 674 In soreceive_generic(), if MSG_WAITALL is set but the request is larger than the receive buffer, we have to receive in sections. When notifying the protocol that some data has been drained the lock is released for a moment. Returning we block waiting for the rest of data. There is a race, when data could arrive while the lock was released and then the connection stalls in sbwait. Fix this by checking for data before blocking and skip blocking if there are some. PR: kern/154504 Reported by: Andrey Simonenko Tested by: Andrey Simonenko Reviewed by: rwatson Approved by: kib (co-mentor) MFC after: 2 weeks END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2011-05-29T18:09:14.630973Z K 7 svn:log V 158 MFC r222334: The check for whether a block is going to be claimed by a snapshot needs to happen before we notify the underlying layer that it is being freed. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-29T18:13:04.051609Z K 7 svn:log V 42 Remove the unnecessary _KERNEL protection END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-29T18:33:13.899862Z K 7 svn:log V 4 MFC END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T18:35:57.839987Z K 7 svn:log V 168 Update the I2C-based temperature/fan drivers to connect to the Powermac thermal control module. This provides automatic fan management on all G5 PowerMacs and Xserves. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-29T18:41:06.667153Z K 7 svn:log V 49 Get rid of unused functions. MFC after: 1 week. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T19:53:11.453516Z K 7 svn:log V 45 Don't put negative values into the averages. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T19:53:46.228836Z K 7 svn:log V 91 Move the celsius-to-kelvin conversion to a place that powermac_thermal can see it as well. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T20:04:02.998490Z K 7 svn:log V 133 Add the next digit of precision to temperatures, which I missed when converting the reporting format from degrees C to 0.1 degree K. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T20:46:53.820481Z K 7 svn:log V 305 Add some error handling here: if a sensor returns an error code (a negative Kelvin temperature, which is impossible except for some contrived magnetic spin systems), use the previous measurement from that sensor instead of corrupting everything and randomly changing the fans or shutting off the machine. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-29T20:55:23.726473Z K 7 svn:log V 348 Add a check for MNTK_UNMOUNTF at the beginning of nfs_sync() in the old NFS client so that a forced dismount doesn't get stuck in the VFS_SYNC() call that happens before VFS_UNMOUNT() in dounmount(). Analagous to r222329 for the new NFS client. An additional change is needed before forced dismounts will work. PR: kern/157365 MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-29T21:03:40.115414Z K 7 svn:log V 272 Check for IPv4 or IPv6 to be available by the kernel to not provoke errors trying to query options not available. Make it possible to compile out INET or INET6 only parts. Reviewed by: jamie Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-29T21:13:53.420498Z K 7 svn:log V 399 Modify the umount(8) command so that it doesn't do a sync(2) syscall before unmount(2) for the "-f" case. This avoids a forced dismount from getting stuck for an NFS mountpoint in sync() when the server is not responsive. With this commit, forced dismounts should normally work for the NFS clients, but can take up to about 1minute to complete. PR: kern/157365 Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-05-29T21:20:47.745391Z K 7 svn:log V 180 If READ from the local node failed we send the request to the remote node. There is no use in doing this for synchronization requests. Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-29T21:24:20.585001Z K 7 svn:log V 561 Split netconfig into three parts: - netconfig - what auto will call which in turn will check for IPv4 and IPv6 to be available and ask the user to configure it by calling - netconfig_ipv4 doing DHCP and static IPv4 addresses, and - netconfig_ipv6 doing rtsol and static IPv6 addresses, and then checking, querying and updating resolv.conf upon return. Both DHCP and rtsol (in the future) might update resolv.conf already so we seed ourselves from that file if available. Reviewed by: nwhitehorn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-29T22:37:23.761435Z K 7 svn:log V 122 Use kproc_exit() instead of returning from the management function on systems with no manageable thermal control devices. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-05-30T02:02:15.908288Z K 7 svn:log V 103 Parameterize; make more verbose in the non-VERBOSE case so you can actually see what is being deleted. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T02:41:04.409687Z K 7 svn:log V 49 Various consistency and style fixes for WARNS=6. END K 10 svn:author V 6 julian K 8 svn:date V 27 2011-05-30T04:23:33.955691Z K 7 svn:log V 136 Include forgotten framework changes to get some of the new menu files installed correctly on non x86/amd systems. pointy-hut to devin END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-30T05:37:26.317992Z K 7 svn:log V 75 Add tablearg support for ipfw setfib. PR: kern/156410 MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-30T05:53:00.550866Z K 7 svn:log V 36 Wrap long line. MFC after: 2 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-05-30T06:23:51.399600Z K 7 svn:log V 407 Fix read_ivar implementation for MMC and SD. 1. Both mmc_read_ivar() and sdhci_read_ivar() use the expression '*(int *)result = val' to assign to result which is uintptr_t *. This does not work on big-endian 64 bit systems. 2. The media_size ivar is declared as 'off_t' which does not fit into uintptr_t in 32bit systems, change this to long. Submitted by: kanthms at netlogicmicro com (initial version) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-05-30T06:27:32.144624Z K 7 svn:log V 22 Remove unused branch. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-05-30T07:15:33.957491Z K 7 svn:log V 32 Create new branch for XLP work. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T07:58:49.249842Z K 7 svn:log V 113 MFC r218699: Document TRYBROKEN in ports(7). PR: docs/153542 Submitted by: Eitan Adler END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T08:00:28.485553Z K 7 svn:log V 113 MFC r218699: Document TRYBROKEN in ports(7). PR: docs/153542 Submitted by: Eitan Adler END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T08:04:47.473029Z K 7 svn:log V 260 MFC r222278: Add a description to the checksum target about not only being able to verify, but also having the ability to fetch distfiles that are missing or failed the checksum calculation PR: docs/138887 Submitted by: Radim Kolar (hsn at sendmail dot cz) END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T08:05:27.966955Z K 7 svn:log V 260 MFC r222278: Add a description to the checksum target about not only being able to verify, but also having the ability to fetch distfiles that are missing or failed the checksum calculation PR: docs/138887 Submitted by: Radim Kolar (hsn at sendmail dot cz) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-30T08:40:59.237127Z K 7 svn:log V 182 While doing it right for current configuration, fix the entry for rc.conf adding the missing mandatory "inet6" keyword. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-30T08:54:32.791515Z K 7 svn:log V 87 Add missing #include of err.h. MFC after: 3 days Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-30T09:04:35.974904Z K 7 svn:log V 299 In the tcpdrop regression test, allow the kernel to allocate us a port rather than using a fixed port number. This means that the regression test can be run many times in a row without waiting on TIMEWAIT to release a hard-coded port number. MFC after: 3 days Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-30T09:06:24.492043Z K 7 svn:log V 88 Add missing include of stdio.h. MFC after: 3 days Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-30T09:34:15.285425Z K 7 svn:log V 216 Rework TIMEWAIT regression test so that kernel-allocated port numbers are used rather than a fixed userspace one, avoiding conflicts between the two test runs. MFC after: 3 days Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-30T09:41:38.806861Z K 7 svn:log V 161 Upgrade jail(2) to latest jail(2) API to make the regression test work again. Eventually should switch to jail_set(2). Reported by: rwatson MFC after: 10 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-05-30T09:43:55.652151Z K 7 svn:log V 3987 Decompose the current single inpcbinfo lock into two locks: - The existing ipi_lock continues to protect the global inpcb list and inpcb counter. This lock is now relegated to a small number of allocation and free operations, and occasional operations that walk all connections (including, awkwardly, certain UDP multicast receive operations -- something to revisit). - A new ipi_hash_lock protects the two inpcbinfo hash tables for looking up connections and bound sockets, manipulated using new INP_HASH_*() macros. This lock, combined with inpcb locks, protects the 4-tuple address space. Unlike the current ipi_lock, ipi_hash_lock follows the individual inpcb connection locks, so may be acquired while manipulating a connection on which a lock is already held, avoiding the need to acquire the inpcbinfo lock preemptively when a binding change might later be required. As a result, however, lookup operations necessarily go through a reference acquire while holding the lookup lock, later acquiring an inpcb lock -- if required. A new function in_pcblookup() looks up connections, and accepts flags indicating how to return the inpcb. Due to lock order changes, callers no longer need acquire locks before performing a lookup: the lookup routine will acquire the ipi_hash_lock as needed. In the future, it will also be able to use alternative lookup and locking strategies transparently to callers, such as pcbgroup lookup. New lookup flags are, supplementing the existing INPLOOKUP_WILDCARD flag: INPLOOKUP_RLOCKPCB - Acquire a read lock on the returned inpcb INPLOOKUP_WLOCKPCB - Acquire a write lock on the returned inpcb Callers must pass exactly one of these flags (for the time being). Some notes: - All protocols are updated to work within the new regime; especially, TCP, UDPv4, and UDPv6. pcbinfo ipi_lock acquisitions are largely eliminated, and global hash lock hold times are dramatically reduced compared to previous locking. - The TCP syncache still relies on the pcbinfo lock, something that we may want to revisit. - Support for reverting to the FreeBSD 7.x locking strategy in TCP input is no longer available -- hash lookup locks are now held only very briefly during inpcb lookup, rather than for potentially extended periods. However, the pcbinfo ipi_lock will still be acquired if a connection state might change such that a connection is added or removed. - Raw IP sockets continue to use the pcbinfo ipi_lock for protection, due to maintaining their own hash tables. - The interface in6_pcblookup_hash_locked() is maintained, which allows callers to acquire hash locks and perform one or more lookups atomically with 4-tuple allocation: this is required only for TCPv6, as there is no in6_pcbconnect_setup(), which there should be. - UDPv6 locking remains significantly more conservative than UDPv4 locking, which relates to source address selection. This needs attention, as it likely significantly reduces parallelism in this code for multithreaded socket use (such as in BIND). - In the UDPv4 and UDPv6 multicast cases, we need to revisit locking somewhat, as they relied on ipi_lock to stablise 4-tuple matches, which is no longer sufficient. A second check once the inpcb lock is held should do the trick, keeping the general case from requiring the inpcb lock for every inpcb visited. - This work reminds us that we need to revisit locking of the v4/v6 flags, which may be accessed lock-free both before and after this change. - Right now, a single lock name is used for the pcbhash lock -- this is undesirable, and probably another argument is required to take care of this (or a char array name field in the pcbinfo?). This is not an MFC candidate for 8.x due to its impact on lookup and locking semantics. It's possible some of these issues could be worked around with compatibility wrappers, if necessary. Reviewed by: bz Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-30T10:02:51.828833Z K 7 svn:log V 41 Update chipset support list for ath_hal. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-30T10:07:46.604120Z K 7 svn:log V 41 Add ath_ahb and ath_pci module manpages. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-30T10:12:17.267032Z K 7 svn:log V 48 Mention in ath(4) that ath_pci is required now. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T10:23:59.393772Z K 7 svn:log V 127 Add a short description about NO_CHECKSUM. PR: docs/155980 Submitted by KOIE Hidetaka (koie at suri co jp) MFC after: 7 days END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-30T10:28:55.734987Z K 7 svn:log V 124 Bump document date. I accidently committed the actual change (typo fix) in r222492, which is a completely unrelated change. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T11:09:38.840677Z K 7 svn:log V 29 Fix inconsistency of yp_dir. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-30T11:17:42.882997Z K 7 svn:log V 57 Document kern.geom.part.check_integrity sysctl variable. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-05-30T11:24:03.066986Z K 7 svn:log V 60 MFC r220592: Staticize malloc types. Approved by: lstewart END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-30T14:57:00.735707Z K 7 svn:log V 33 Set default A-MPDU density/size. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-30T15:06:57.354660Z K 7 svn:log V 542 Enable setting the short-GI bit when TX'ing HT rates but only if the hardware supports it. Since ni->ni_htcap in hostap mode is what the remote end has advertised, not what has been negotiated/decided, we need to check ourselves what the current channel width is and what the hardware supports before enabling short-GI. It's important that short-GI isn't enabled when it isn't negotiated and when the hardware doesn't support it (ie, short-gi for 20mhz channels on any chip < AR9287.) I've quickly verified this on the AR9285 in 11n mode. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T15:44:22.325663Z K 7 svn:log V 35 Fix a missing TAILQ_INSERT_TAIL(). END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T15:48:28.466384Z K 7 svn:log V 31 Fixes for WARN=6 and style(9). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-30T16:10:15.902194Z K 7 svn:log V 88 MFC r222317: Ignore MCR[6] during the probe to fix a false negative. PR: kern/129663 END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-30T17:27:48.050347Z K 7 svn:log V 157 Contrary to the rc.conf framework, when manualy enabling IPv6 we have to -ifdiabled ourselves. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-05-30T18:07:35.043825Z K 7 svn:log V 176 Unbreak NOINET kernels after r222488. Reviewed by: rwatson Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems! Pointy hat: to myself for missing this during review? END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T18:36:14.933290Z K 7 svn:log V 252 - Add initial support for expiration timer for RNDSS and DNSSL options. - Use queue(3) for the interface list. - Separate a list to one for RA options and another for resolvconf(8) string. - Remove SCOPE_DELIM hack. resolvconf(8) has to be corrected. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-05-30T18:57:01.285480Z K 7 svn:log V 28 Document -P pidfile option. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-30T18:57:31.034757Z K 7 svn:log V 189 The POWER7, unlike previous CPUs, has only 32 SLB slots instead of 64, so allow this parameter to be dynamically configured and set it to 32 for POWER7. This gets us to a mountroot prompt. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-30T19:16:58.402777Z K 7 svn:log V 103 Follow up r222356 by converting the PCPU list from an SLIST to an STAILQ, which is a cleaner solution. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-05-30T19:41:28.949172Z K 7 svn:log V 94 Clean up the unneeded cpp macro INLINE_REM_PIO2L. Reviewed by: das Approved by: das (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-30T21:07:26.436175Z K 7 svn:log V 782 L2 table code. This is enough to get the T4's switch + L2 rewrite filters working. (All other filters - switch without L2 info rewrite, steer, and drop - were already fully-functional). Some contrived examples of "switch" filters with L2 rewriting: # cxgbetool t4nex0 iport 0 dport 80 action switch vlan +9 eport 3 Intercept all packets received on physical port 0 with TCP port 80 as destination, insert a vlan tag with VID 9, and send them out of port 3. # cxgbetool t4nex0 sip 192.168.1.1/32 ivlan 5 action switch \ vlan =9 smac aa:bb:cc:dd:ee:ff eport 0 Intercept all packets (received on any port) with source IP address 192.168.1.1 and VLAN id 5, rewrite the VLAN id to 9, rewrite source mac to aa:bb:cc:dd:ee:ff, and send it out of port 0. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-30T21:34:44.213119Z K 7 svn:log V 376 - Specialized ingress queues that take interrupts for other ingress queues. Try to have a set of these per port when possible, fall back to sharing a common pool between all ports otherwise. - One control queue per port (used to be one per hardware channel). - t4_eth_rx now handles Ethernet rx only. - sysctls to display pidx/cidx for some queues. MFC after: 1 week END