sort by:
Revision Author Date Message Commit Date
7bb9388 MFC r239228: Build modules along with the XENHVM kernels. Approved by: re (kib) 24 August 2012, 05:36:37 UTC
a137a65 MFC r239464: > As of r232844 we no longer need the maxpoll 9 workaround. > Approved by: re (kib) 23 August 2012, 04:57:56 UTC
c8ddf28 MFC r239346: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of ticks. The h_ertt(4) Khelp module relies on TCP timestamp information in order to calculate its enhanced RTT estimates, but was not updated as part of r231767. Consequently, h_ertt has not been calculating correct RTT estimates since r231767 was comitted, which in turn broke all delay-based congestion control algorithms because they rely on the h_ertt RTT estimates. Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all previous uses of the ticks variable. This ensures all timestamp related variables in h_ertt use the same units as the TCP stack and therefore results in meaningful comparisons and RTT estimate calculations. Reported & tested by: Naeem Khademi (naeemk at ifi uio no) Discussed with: bz Approved by: re (kib) 22 August 2012, 01:28:16 UTC
14cdc1c MFC r239470: Do not call process_nodelete with NULL object pointer. The place where the function is called can be reached if object loading and relocation fails too, in which case obj pointer will be NULL. Do not call process_nodelete then, or crash will follow. Pointy hat to: kan Approved by: re (kib) 21 August 2012, 22:42:46 UTC
42cd91c MFC r238673: Use 16bit PIO instead of 32bit in case of misaligned buffer. It fixes kernel panic during CD write with cdrecord on sparc64. Approved by: re (kib) 21 August 2012, 12:37:37 UTC
6ec47dd MFC r232844: Remove extraneous log message When ntp switched between PLL and FLL mode it produced a log message "kernel time sync status change %04x". This issue is reported in ntp bug 452[1] which claims that this behaviour is normal and the log message isn't necessary. I'm not sure exactly when it was removed, but it's gone in the latest ntp release (4.2.6p5). [1] http://bugs.ntp.org/show_bug.cgi?id=452 Approved by: re 21 August 2012, 11:35:54 UTC
7f6f7cb MFC r238718: Quirk MS keyboard so that function keys work The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is required to return them to their normal purpose. This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000 keyboard to get the keys working again. More extensive changes to the USB keyboard infrastructure would be needed to fully support the "F Lock" mode and the extended keys on this keyboard. PR: usb/116947 Approved by: re 21 August 2012, 11:34:40 UTC
dc2c00f MFC: r239079 Merge r236494 from x86: Isolate the global TTE list lock from data and other locks to prevent false sharing within the cache. Approved by: re (kib) 21 August 2012, 11:17:11 UTC
68c16a8 MFC r238631: Import an updated version of moduli(5) manual page from OpenBSD. Approved by: re (kib) 21 August 2012, 09:55:57 UTC
2598785 MFC: r239089 - Merge from NetBSD: When issuing a non-DMA command, make sure to set the "remaining length of command to be transferred via DMA" (sc_cmdlen) to zero up-front, otherwise we might get confused on command competition interrupt (no DMA active but still data left to transfer). - Implement handling of MSG_IGN_WIDE_RESIDUE which some targets produce, as just rejecting these leads to a resend and disconnect loop. Reported and tested by: mjacob Approved by: re (kib) 21 August 2012, 09:43:03 UTC
c3d6f1b MFC r239169: RFC 2289 requires all hashes be stored in little endian format before folding to 64 bits, while SHA1 code is big endian. Therefore, a bswap32 is required before using the value. Without this change, the implementation does not conform to test vector found in RFC 2289. PR: bin/170519 Submitted by: Arthur Mesh <arthurmesh gmail com> (with changes) Approved by: re (kib) 21 August 2012, 09:05:23 UTC
4b7315e MFC r239084: Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices. Obtained from: FreeNAS Approved by: re (implicit, follow-up for r239460) 21 August 2012, 08:31:30 UTC
ff93b48 MFC r239084 Add PCI IDs for various new High Point RocketRAID 43xx and 3xxx devices. Obtained from: FreeNAS Approved by: re (kib) 20 August 2012, 18:27:02 UTC
f8b54b9 MFC r238997: Correct a typo. Reported by: Sascha Wildner <swildner dragonflybsd org> Reviewed by: scottl Approved by: re (kib) 20 August 2012, 18:10:48 UTC
03db928 MFH r236106: avoid segfault with SSH 1 keys Approved by: re (kib) 20 August 2012, 17:50:20 UTC
0880262 MFC r239052: Fix a refcount issue. The caller only decrements if stcb is NULL. Approved by: re (kib) 20 August 2012, 17:36:10 UTC
bdb2517 MFC r239041: Fix a bug reported by Simon L. B. Nielsen: If an SCTP endpoint receives an ASCONF with a wildcard lookup address and incorrect verification tag, the system crashes. This bug was found by Shaun Colley. Approved by: re (kib) 20 August 2012, 17:06:50 UTC
6f7991c MFC r239253: Pospone the DF_1_NODELETE processing until object DAG is fully loaded. Trying to up the reference from the load loop risks missing dependencies that have not been loaded yet. Approved by: re (kib) 20 August 2012, 16:57:27 UTC
89e9779 MFC r239021: In virstor_ctl_stop(), check for a valid softc before trying to update metadata. Approved by: re (kib) 20 August 2012, 16:55:55 UTC
d0c2226 MFC r239233: Correct description of minfree to kilobytes rather than blocks. PR: 125921 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> Approved by: re (implicit) 20 August 2012, 16:37:41 UTC
38e39ba MFC r239095: Do not add handler to event handlers list until ithread is created. In rare event when fast and ithread interrupts share the same vector and the fast handler was registered first, we can end up trying to schedule the ithread that is not created yet. The kernel built with INVARIANTS then triggers an assertion. Change the order to create the ithread first and only then add the handler that needs it to the interrupt event handlers list. Approved by: re (kib) Reviewed by: jhb 20 August 2012, 15:19:34 UTC
34b21e4 MFC r239019: Parse notes only after object structure had been allocated. Approved by: re (kib) 20 August 2012, 15:05:29 UTC
75926b4 MFC r239216, r239217: r239216: - Remove a leading space that breaks rendering r239217: - Fix source dataset snapshot name in Example 15. - Bump date. Approved by: re (kib) 20 August 2012, 13:07:22 UTC
e171790 MFC r238969: Fix kernel panic on `camcontrol reset` for specific target, caused by uninitialized cm_targ in mpssas_action_resetdev(). Approved by: re (kib) 20 August 2012, 12:53:29 UTC
3a39a57 Prep for 9.1-RC1 builds. Approved by: re (implicit) 08 August 2012, 18:39:29 UTC
e03e410 Update __FreeBSD_version to reflect this being the 9.1-RELEASE release branch. Approved by: re (implicit) 06 August 2012, 00:15:49 UTC
2c36bc5 MFC r238622 Allow to specify no source-address-selection policy Approved by: re (kib) 02 August 2012, 20:49:11 UTC
c527d37 MFC r238599 Return zero from get_addrselectpolicy() when no source-address-selection policy is installed. Approved by: re (kib) 02 August 2012, 20:48:22 UTC
6c19383 MFC r238795 Try to avoid all files dependence on the modification time of the large and often modified directory created symbolic links points to - it cause unnecessary full rebuilds each time make runs when directory is changed. So do it only if symbolic link does not exists, which usually means that objdir is clean anyway. Approved by: re (kib) 02 August 2012, 15:13:12 UTC
2c32108 MFC 238164: Add another PS/2 keyboard PNP ID. This ID is listed as "Reserved by Microsoft" in the standard PNP ID table, but has been seen in the wild on at least one laptop. Approved by: re (kib) 30 July 2012, 20:40:14 UTC
32d7b1d MFC r238755: Add rmb() to tsc_read_##x to enforce serialization of rdtsc captures. Intel Architecture Manual specifies that rdtsc instruction is not serialized, so without this change, TSC synchronization test would periodically fail, resulting in use of HPET timecounter instead of TSC-low. This caused severe performance degradation (40-50%) when running high IO/s workloads due to HPET MMIO reads and GEOM stat collection. Tests on Xeon E5-2600 (Sandy Bridge) 8C systems were seeing TSC synchronization fail approximately 20% of the time. Sponsored by: Intel Approved by: re (kib) 30 July 2012, 15:30:42 UTC
880f81e MFC r237939: ctype_l(3): Note that not all these functions are specified by POSIX.1-2008. The function isascii_l() is not in POSIX even though isascii() is, probably because isascii() is marked as obsolete. The other functions, like digittoint_l() and ishexnumber_l(), are FreeBSD-specific just like their non-_l versions. Approved by: re (kib) 30 July 2012, 12:25:20 UTC
618e2c7 Pull the tier-2 card and change the sparc64 ZFS loader to no longer probe all diskN aliases for providers (which more or less corresponds to how the x86 version behaves) but instead probe only those listed in the boot-device OFW environment variable. This has the following advantages: - avoids otherwise unavoidable OFW warnings about failures to open disks for which aliases exist but no actual hardware is connected - avoids issues due to different diskN naming schemes - aligns us with Solaris Approved by: re (kib) 30 July 2012, 11:11:05 UTC
ed91c4f MFC r238707: Document the following in rc.conf.5: - rtsold_enable - rtsold_flags - rtsol_flags Approved by: re (kib) 29 July 2012, 18:52:01 UTC
d7e4c53 MFC r238871: Hardcode the loopback rx/tx checkum options for IPv6 to on without checking. This allows the FreeBSD 9.1 release process to move forward. Work around the problem that loopback connections to local addresses not on loopback interfaces and not on interfaces w/ IPv6 checksum offloading enabled would not work. A proper fix to allow us to disable the "checksum offload" on loopback for testing, measurements, ... as we allow for IPv4 needs to put in place later. PR: kern/170070 Approved by: re (kib) 28 July 2012, 23:11:09 UTC
875f343 MFC r238790: Fix the sctp_sockstore union such that userland programs don't depend on INET and/or INET6 to be defined and in-tune with how the kernel was compiled. Approved by: re (kib) 28 July 2012, 22:42:52 UTC
4083739 MFC r235285: Skip nd6 line with no warning message when the system does not support INET6. Spotted by: flo Approved by: re (kib) 28 July 2012, 21:43:29 UTC
3388d28 MFC r238721: When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers in OptionalObsoleteFiles.inc. PR: misc/169902 Submitted by: Thomas Eberhardt <sneakywumpus@googlemail.com> Approved by: re (kib) 28 July 2012, 11:28:00 UTC
3d0350c MFC r238753: Align the header with output. Approved by: re (kib) 27 July 2012, 19:56:36 UTC
ddd441d MFC: r238461 Make pkg bootstrap program ask for confirmation before proceeding. The previous behaviour was to silently download and install the pkg package, without ever telling user about what it was doing and why. Approved by: re, des (mentor) 27 July 2012, 09:35:06 UTC
cf8ac0e Synced mdoc(7) with head. Approved by: re (kib) 26 July 2012, 19:18:26 UTC
37d1246 MFC: r238393 Add and utilize defines for the ATA device register. Approved by: re (kib) 26 July 2012, 09:13:47 UTC
94bc18f MFC r238700: Fix a bug introduced in r221129 that leads to a panic when using bundled SAs. For now allow same address family bundles. PR: kern/164400 Approved by: re (kib) 25 July 2012, 19:18:28 UTC
c119c3f MFC r238705: Correct ugen.4 to show that it has been integrated into usb(4). Also fix some punctuation errors. Approved by: re (kib) 25 July 2012, 13:05:11 UTC
7d23bad MFC: r238574 Fix a small memory leak in mpssas_get_sata_identify(). The change has been submitted upstream as well. Approved by: re (kib) 25 July 2012, 10:55:14 UTC
8caf6cc MFV r238744: Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure in BIND9 High numbers of queries with DNSSEC validation enabled can cause an assertion failure in named, caused by using a "bad cache" data structure before it has been initialized. CVE: CVE-2012-3817 Posting date: 24 July, 2012 Approved by: re (kib) 24 July 2012, 22:32:03 UTC
79045e5 MFC r238666: Fix typo in bzero() length argument during sense fetching. For me it at least fixed CD burning in PIO mode. Approved by: re (kib) 23 July 2012, 15:19:21 UTC
2904730 Merge r238637,r238640,r238641,r238642: ------------------------------------------------------------------------ r238637 | davidxu | 2012-07-20 09:56:14 +0800 (Fri, 20 Jul 2012) | 6 lines Don't forget to release a thread reference count, replace _thr_ref_add() with _thr_find_thread(), so reference count is no longer needed. ------------------------------------------------------------------------ r238640 | davidxu | 2012-07-20 11:00:41 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238641 | davidxu | 2012-07-20 11:16:52 +0800 (Fri, 20 Jul 2012) | 2 lines Eliminate duplicated code. ------------------------------------------------------------------------ r238642 | davidxu | 2012-07-20 11:22:17 +0800 (Fri, 20 Jul 2012) | 2 lines Don't assign same value. Approved by: re (kib) 23 July 2012, 09:33:31 UTC
af7fde6 Merge from head r238572, r238573: ------------------------------------------------------------------------ r238572 | glebius | 2012-07-18 12:41:00 +0400 (ср, 18 июл 2012) | 3 lines When traversing global in_ifaddr list in the IFP_TO_IA() macro, we need to obtain IN_IFADDR_RLOCK(). ------------------------------------------------------------------------ r238573 | glebius | 2012-07-18 12:58:30 +0400 (ср, 18 июл 2012) | 5 lines Plug a reference leak: before doing 'goto again' we need to unref ia->ia_ifa if there is any. Submitted by: Andrey Zonov <andrey zonov.org> Approved by: re (kib) 23 July 2012, 09:19:14 UTC
2cece21 MFC: r238621 Revert the use of BUS_DMA_ALLOCNOW when creating the DMA tag for user data introduced in r236061 (MFC'ed to stable/9 in r237186). Using that flag doesn't make that much sense on this case as the DMA maps using it are also created during sym_pci_attach(). Moreover, due to the maxsegsz parameter used, doing so may exhaust the bounce pages pool on architectures requiring bounce pages. [1] While at it, use a slightly more appropriate maxsegsz parameter. PR: 169526 Submitted by: Mike Watters [1] Approved by: re (kib) 22 July 2012, 14:32:49 UTC
18f50d0 MFC r238063: - Make ipfw's sched rules case insensitive, for user-friendliness. - Add a note to the ipfw(8) man page about the rules no longer being case sensitive. - Fix some typos in the man page. PR: docs/164772 Reviewed by: bz Approved by: gavin Approved by: re (kib) 22 July 2012, 11:00:02 UTC
e39333e MFC r238617: Fix several reads beyond the mapped first page of the binary in the ELF parser. Specifically, do not allow note reader and interpreter path comparision in the brandelf code to read past end of the page. This may happen if specially crafter ELF image is activated. Approved by: re (hrs) 22 July 2012, 00:44:22 UTC
553d3b4 MFC r231257, r238606: r231257 (kevlo): Mention run(4) r238606: Xref mwl(4) and rum(4) in hostapd(8). Approved by: re (kib) 21 July 2012, 01:07:05 UTC
a7b260a MFC r238550: Fix a refcount bug when freeing an association. While there: Change code to be consistent. Discussed with: rrs Approved by: re (kib) 20 July 2012, 09:49:50 UTC
7212d7c MFC r238527: - Add support for displaying process stack memory regions. Approved by: re (kib), rwatson 20 July 2012, 06:50:57 UTC
fa14e35 MFC r238501, r 238514: Changes which improve compilation if neither INET nor INET6 is defined. Allow netstat to be build if INET is not defined in the kernel. Thanks to Garrett Cooper for reporting the issue. This also fixes a bug where netstat doesn't work correctly for SCTP on INET only (no INET6) kernels. Approved by: re@ 19 July 2012, 09:32:59 UTC
dbabe21 Merge r230119, r238498 from head: ------------------------------------------------------------------------ r230119 | csjp | 2012-01-15 02:51:34 +0400 (вс, 15 янв 2012) | 9 lines Revert to the old behavior of allocating table/table entries using M_NOWAIT. Currently, the code allows for sleeping in the ioctl path to guarantee allocation. However code also handles ENOMEM gracefully, so propagate this error back to user-space, rather than sleeping while holding the global pf mutex. Reviewed by: glebius Discussed with: bz ------------------------------------------------------------------------ r238498 | glebius | 2012-07-15 23:10:00 +0400 (вс, 15 июл 2012) | 2 lines Use M_NOWAIT while holding the pf giant lock. Approved by: re (kib) 18 July 2012, 16:13:03 UTC
702c4a5 MFC: r238363 - fix description of SECURITY_FREEZE_LOCK - add missing underscores to SECURITY_DISABLE_PASSWORD Approved by: re (hrs) 18 July 2012, 10:56:48 UTC
8e22200 MFC: r238486 Fix typo in a message. Approved by: re (hrs) 18 July 2012, 10:42:30 UTC
5e205e7 MFC r238475: #ifdef INET and INET6 consistently. This also fixes a bug, where it was done wrong. Approved by: re@ 18 July 2012, 09:16:59 UTC
e19f9d6 MFC r238220, r238272: Unbreak handling of descriptors opened with O_EXEC by fexecve(2). While here return EBADF for descriptors opened for writing (previously it was ETXTBSY). Add fgetvp_exec function which performs appropriate checks. == Follow-up commit to r238220: Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for !FWRITE anyway and may as well know about FREAD. Make _fget code a bit more readable by converting permission checking from if() to switch(). Assert that correct permission flags are passed. PR: kern/169651 In collaboration with: kib Approved by: re (hrs), trasz (mentor) 18 July 2012, 04:52:37 UTC
59b3442 MFC r237479, r238265 Finally fix lookup (account remaining '\0') and deletion (provide valid key length for radix lookup). Submitted by: Ihor Kaharlichenko<madkinder at gmail.com> (prev version) Approved by: re(hrs), kib(mentor) Sponsored by: Shtorm ISP 17 July 2012, 19:29:32 UTC
a5c3c08 MFC r237203,r237223 (by phk): Fix writes to the video memory of the VGA to always use half-word sized writes. Approved by: re (hrs), phk 17 July 2012, 19:00:46 UTC
85c2dd5 MFC r238429: Pull in r159895 from upstream clang trunk: When marking virtual functions as used for a class' vtable, mark all functions which will appear in the vtable as used, not just those ones which were declared within the class itself. Fixes an issue reported as comment#3 in PR12763 -- we sometimes assert in codegen if we try to emit a reference to a function declaration which we've not marked as referenced. This also matches gcc's observed behavior. This should fix clang assertions when building certain components of the LibreOffice port. Approved by: re (kib) 17 July 2012, 18:04:34 UTC
81729ca MFC r238458: Provide the correct notification type (SCTP_SEND_FAILED_EVENT) for unsent messages. Approved by: re@ 17 July 2012, 11:33:24 UTC
d7f1b4f MFC r238454: Bugfix: Send up a COMM UP notification for active 1-to-1 style sockets also in the case where the assoc comes up due to a remotely started handshake (collision case). Approved by: re@ 17 July 2012, 11:18:39 UTC
5cbdb67 MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov Approved by: re (kib) 16 July 2012, 08:16:41 UTC
3d9e0c1 MFC r238328: Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 Approved by: re (kib) 16 July 2012, 02:10:26 UTC
742a885 MFC r238168,238169: further dtrace disassembler fixes for long nop decoding - segment-override prefixes are not invalid in long mode - fix nopw (0f 1f) behavior with respect to modifiers Reported by: emaste Tested by: emaste Obtained from: Illumos commit 13442:4adbe6de60c8 Approved by: re (kib) 15 July 2012, 20:38:02 UTC
3f71778 Merge r237929, r237930 from head: ------------------------------------------------------------------------ r237929 | glebius | 2012-07-01 19:30:43 +0400 (вс, 01 июл 2012) | 6 lines In g_mirror_regular_request() upon successful delivery treat BIO_DELETE requests same way as BIO_WRITE removing them from queue. This fixes panic with BIO_DELETE operations on geom_mirror. Reviewed by: pjd ------------------------------------------------------------------------ r237930 | glebius | 2012-07-01 19:43:52 +0400 (вс, 01 июл 2012) | 20 lines Make geom_mirror more friendly to SSDs. To properly support TRIM, we need to pass BIO_DELETE requests down to providers that support it. Also, we need to announce our support for BIO_DELETE to upper consumer. This requires: - In g_mirror_start() return true for "GEOM::candelete" request. - In g_mirror_init_disk() probe below provider for "GEOM::candelete" attribute, and mark disk with a flag if it does support BIO_DELETE. - In g_mirror_register_request() distribute BIO_DELETE requests only to those disks, that do support it. Note that we announce "GEOM::candelete" as true unconditionally of whether we have TRIM-capable media down below or not. This is made intentionally, because upper consumer (usually UFS) requests the attribite only once at mount time. And if user ever migrates his mirror from HDDs to SSDs, then he/she would get TRIM working without remounting filesystem. Reviewed by: pjd Approved by: re (kib) 15 July 2012, 19:52:23 UTC
9539623 MFH r237270: no need to specify passive mode, it is the default. Approved by: re 15 July 2012, 12:13:15 UTC
d1462cb MFH r237269: switch default password hash to sha512. Approved by: re 15 July 2012, 12:00:47 UTC
2fa4336 MFC r237573: Add more locale-specific functions to the relevant man pages and Makefiles: - libc/stdtime/strftime.3 - libc/stdtime/strptime.3 - libc/stdlib/strfmon.3 Approved by: gabor (mentor) Approved by: re (kib) 15 July 2012, 11:39:56 UTC
d07669c MFH r236751: document sha256 / sha512 support MFH r236892: remove mention of auth.conf from programs that don't use it MFH r236963: remove dead code relating to auth.conf MFH r236965 r236966 r236967 r237005 r237006 r237011: retire auth.conf Approved by: re 15 July 2012, 11:39:35 UTC
20e6541 MFC r238248: Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. Approved by: re (kib) 15 July 2012, 11:27:15 UTC
087d978 MFC: r234577 Remove duplicate -l description. Approved by: re (kib) 15 July 2012, 11:26:24 UTC
0a17640 MFC r238222: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. Approved by: re (kib) 15 July 2012, 11:13:09 UTC
2450d9c MFC: r237921 Similar to all.log, mention that /var/log/console.log has to be created and chmod'ed to make logging work. Approved by: re (kib) 15 July 2012, 10:55:43 UTC
171f846 MFC r238313: Fix a bug in code that calculates the number of the first interrupt vector for a port. This affected the gigabit ports of T422 cards (the ones with 2x10G ports and 2x1G ports). Approved by: re (kib) 15 July 2012, 05:24:19 UTC
9e40c87 9.1-BETA1 builds done, shift back to PRERELEASE for the rest of the 9.1 release cycle. Approved by: re (implicit) 15 July 2012, 03:43:56 UTC
4453249 Ready for 9.1-BETA1 builds. Approved by: re (implicit) 10 July 2012, 19:10:39 UTC
89054a8 Adjustments for 9.0 -> 9.1. Approved by: re (implicit) 10 July 2012, 19:08:56 UTC
7eaca5c Shift to "FreeBSD 9.1" for what gets printed in manual pages. Approved by: re (implicit) 10 July 2012, 19:05:27 UTC
4647484 Re-enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The kernel changes needed for all this to work have now been MFC'd to 9 by bz@. This is a direct commit to stable/9 that removes earlier changes made to drivers in this branch only. Approved by: re (kib) 09 July 2012, 17:25:56 UTC
f72cfb7 MFC r238121: Use CSUM_SCTP_IPV6 for IPv6. Approved by: re@ 09 July 2012, 13:21:49 UTC
e8d543d Merge r237162, r237163, r237164, r237226. Fix improper L4 header handling for IPv6 packets passed via DLT_RAW. Set netflow v9 observation domain value to fib number instead of node id. This fixes multi-fib netflow v9 export. Use time_uptime instead of getnanotime for accouting integer number of seconds. Simplify IP pointer recovery in case of mbuf reallocation. Approved by: ae(mentor) Approved by: re 09 July 2012, 11:53:06 UTC
e29d834 MFC r237988: Issue proper diagnostic on the short writes, also consider the case of write reporting 0 bytes as short write. Approved by: re (hrs) 09 July 2012, 10:33:53 UTC
b808b49 MFC r238173: Fix issue resizing bin/sh This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are: Mar 10 20:46:15 2009 - editline.3 read.c make el_gets set the count to -1 on error to distinguish between EOF and error. Feb 19 15:20:22 2009 - read.c sig.c sig.h reset and redraw on sigcont. From Anon Ymous. Feb 15 21:24:13 2009 don't restart on EINTR, instead return NULL immediately. From Anon Ymous PR: 169603 Reported by: Peter Jeremy, David Shao MFC after: 3 days Approved by: re 09 July 2012, 09:11:07 UTC
f9def65 Merge r234032 from head to stable/9: When allocation of labels on files is implicitly disabled due to MAC policy configuration, avoid leaking resources following failed calls to get and set MAC labels by file descriptor. Reported by: Mateusz Guzik <mjguzik at gmail.com> + clang scan-build Approved by: re (kib) 09 July 2012, 08:42:54 UTC
82806d8 Merge r229521 from head to stable/9: Add missing -w to kgdb(1)'s usage(). Sponsored by: Adara Networks, Inc. Approved by: re (kib) 09 July 2012, 08:27:04 UTC
aa167d9 Merge r231712 from head to stable/9: When initialising the CP0 status register during boot on 64-bit MIPS, set all three of the kernel, supervisor, and user-mode 64-bit mode flags. While FreeBSD does not currently use the supervisor ring (and hence this is effectively a NOP on most systems), doing this avoids triggering an exception on 64-bit MIPS CPUs that don't support 32-bit compatibility mode, and therefore don't allow clearing the SX bit. Reviewed by: gonzo Sponsored by: DARPA, SRI International Approved by: re (kib) 08 July 2012, 21:21:45 UTC
ff36e2a Merge r234034 from head to stable/9: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project Approved by: re (kib) 08 July 2012, 20:41:54 UTC
d0c6415 MFC of 238149 Approved by:re 08 July 2012, 20:39:00 UTC
1a7c0fe MFC of the e1000 drivers: 236406,238148,238151,238181, and 238214 Approved by:re 08 July 2012, 20:35:56 UTC
6e5f02d Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre Approved by: re (kib) 08 July 2012, 19:29:08 UTC
05d7858 MFC r237049: Pass flowid explicitly through the stack instead of taking it from the mbuf chain at different places. While there: Fix several bugs related to VRFs. Approved by: re@ 08 July 2012, 16:14:42 UTC
6481434 MFC r236956: Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks. While there: Fix also some minor bugs and prepare for SCTP/DTLS. Approved by: re@ 08 July 2012, 16:11:16 UTC
fd3ea57 MFC r236332: Seperate SCTP checksum offloading for IPv4 and IPv6. While there: remove some trainling whitespaces. Approved by: re@ 08 July 2012, 16:00:45 UTC
b4c6f13 MFC r236087: Get rid of SCTP specific code to avoid CRC32C computations on loopback. Just use offloading. Approved by: re 08 July 2012, 15:37:58 UTC
6796175 MFC r236170,236176: It turns out that too many drivers are not only parsing the L2/3/4 headers for TSO but also for generic checksum offloading. Ideally we would only have one common function shared amongst all drivers, and perhaps when updating them for IPv6 we should introduce that. Eventually we should provide the meta information along with mbufs to avoid (re-)parsing entirely. To not break IPv6 (checksums and offload) and to be able to MFC the changes without risking to hurt 3rd party drivers, duplicate the v4 framework, as other OSes have done as well. Introduce interface capability flags for TX/RX checksum offload with IPv6, to allow independent toggling (where possible). Add CSUM_*_IPV6 flags for UDP/TCP over IPv6, and reserve further for SCTP, and IPv6 fragmentation. Define CSUM_DELAY_DATA_IPV6 as we do for legacy IP and add an alias for CSUM_DATA_VALID_IPV6. This pretty much brings IPv6 handling in line with IPv4. TSO is still handled in a different way and not via if_hwassist. Update ifconfig to allow (un)setting of the new capability flags. Update loopback to announce the new capabilities and if_hwassist flags. Individual driver updates will have to follow, as will SCTP. Removed the IFCAP_ prefix when printing the IPv6 checksum capabilities. Approved by: re 08 July 2012, 14:21:36 UTC
back to top