svn commit: r238266 - stable/9/sys/mips/mips

2012-07-08 Thread Robert Watson
Author: rwatson Date: Sun Jul 8 21:21:45 2012 New Revision: 238266 URL: http://svn.freebsd.org/changeset/base/238266 Log: 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

svn commit: r238264 - stable/9/contrib/openbsm/libauditd

2012-07-08 Thread Robert Watson
Author: rwatson Date: Sun Jul 8 20:41:54 2012 New Revision: 238264 URL: http://svn.freebsd.org/changeset/base/238264 Log: 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 direct

svn commit: r238263 - stable/9/sys/dev/ixgbe

2012-07-08 Thread Jack F Vogel
Author: jfv Date: Sun Jul 8 20:39:00 2012 New Revision: 238263 URL: http://svn.freebsd.org/changeset/base/238263 Log: MFC of 238149 Approved by:re Modified: stable/9/sys/dev/ixgbe/ixgbe.c stable/9/sys/dev/ixgbe/ixgbe_82598.c stable/9/sys/dev/ixgbe/ixgbe_82598.h stable/9/sys/dev/ix

svn commit: r238262 - in stable/9/sys: conf dev/e1000 modules/em modules/igb

2012-07-08 Thread Jack F Vogel
Author: jfv Date: Sun Jul 8 20:35:56 2012 New Revision: 238262 URL: http://svn.freebsd.org/changeset/base/238262 Log: MFC of the e1000 drivers: 236406,238148,238151,238181, and 238214 Approved by:re Added: stable/9/sys/dev/e1000/e1000_i210.c - copied unchanged from r238148, head/sy

Re: svn commit: r238259 - stable/9/sys/netinet

2012-07-08 Thread Mikolaj Golub
On Sun, 8 Jul 2012 19:29:08 + (UTC) Mikolaj Golub wrote: MG> Author: trociny MG> Date: Sun Jul 8 19:29:08 2012 MG> New Revision: 238259 MG> URL: http://svn.freebsd.org/changeset/base/238259 MG> Log: MG> Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. MG> MG> Reviewed

svn commit: r238259 - stable/9/sys/netinet

2012-07-08 Thread Mikolaj Golub
Author: trociny Date: Sun Jul 8 19:29:08 2012 New Revision: 238259 URL: http://svn.freebsd.org/changeset/base/238259 Log: Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre Approved by: re (kib) Modified: stable/9/sys/netinet/tcp_hostcache.c Directory Propert

svn commit: r238253 - in stable/9/sys: netinet netinet6

2012-07-08 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 8 16:14:42 2012 New Revision: 238253 URL: http://svn.freebsd.org/changeset/base/238253 Log: 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.

svn commit: r238251 - stable/9/sys/netinet

2012-07-08 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 8 16:11:16 2012 New Revision: 238251 URL: http://svn.freebsd.org/changeset/base/238251 Log: 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@ Modif

svn commit: r238250 - in stable/9/sys: net netinet netinet6 sys

2012-07-08 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 8 16:00:45 2012 New Revision: 238250 URL: http://svn.freebsd.org/changeset/base/238250 Log: MFC r236332: Seperate SCTP checksum offloading for IPv4 and IPv6. While there: remove some trainling whitespaces. Approved by: re@ Modified: stable/9/sys/net/if_l

svn commit: r238249 - in stable/9/sys: netinet netinet6

2012-07-08 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 8 15:37:58 2012 New Revision: 238249 URL: http://svn.freebsd.org/changeset/base/238249 Log: MFC r236087: Get rid of SCTP specific code to avoid CRC32C computations on loopback. Just use offloading. Approved by: re Modified: stable/9/sys/netinet/sctp_outp

svn commit: r238247 - in stable/9: sbin/ifconfig sys/net sys/netinet sys/netinet6 sys/sys

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 14:21:36 2012 New Revision: 238247 URL: http://svn.freebsd.org/changeset/base/238247 Log: 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 onl

svn commit: r238244 - stable/9/sys/netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:39:02 2012 New Revision: 238244 URL: http://svn.freebsd.org/changeset/base/238244 Log: MFC r236093: Trim the extra $FreeBSD$ from the comment below the license. We use the __FBSDID() macro on the file now instead. Approved by: re Modified: stable

svn commit: r238243 - stable/9/sys/netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:36:44 2012 New Revision: 238243 URL: http://svn.freebsd.org/changeset/base/238243 Log: MFC r235950: Factor out the tcp_hc_getmtu() call. As the comments say it applies to both v4 and v6, so only write it once making it easier to read the protocol

svn commit: r238242 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:34:12 2012 New Revision: 238242 URL: http://svn.freebsd.org/changeset/base/238242 Log: MFC r235953: No need to hold the (expensive) rt lock over (expensive) logging. Approved by: re Modified: stable/9/sys/netinet6/icmp6.c Directory Properties: st

svn commit: r238241 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:30:25 2012 New Revision: 238241 URL: http://svn.freebsd.org/changeset/base/238241 Log: MFC r235986: Use M_ZERO with malloc rather than calling bzero() ourselves. Change if () panic() checks to KASSERT()s as they are only catching invariants in

svn commit: r238240 - stable/9/sys/netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:26:32 2012 New Revision: 238240 URL: http://svn.freebsd.org/changeset/base/238240 Log: MFC r235985: Properly protect the inp read access when handling the control code. In the past this was expensive but given the rlock it's not so much anymore.

svn commit: r238239 - stable/9/sys/netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:23:27 2012 New Revision: 238239 URL: http://svn.freebsd.org/changeset/base/238239 Log: MFC r235981,236394 In case forwarding is turned on for a given address family, refuse to queue the packet for LRO and tell the driver to directly pass it on. This avo

svn commit: r238238 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:17:56 2012 New Revision: 238238 URL: http://svn.freebsd.org/changeset/base/238238 Log: MFC r235962: Factor out Hop-By-Hop option processing. It's still not heavily used, it reduces the footprint of ip6_input() and makes ip6_input() more readable.

svn commit: r238237 - stable/9/sys/netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:12:34 2012 New Revision: 238237 URL: http://svn.freebsd.org/changeset/base/238237 Log: MFC r235961: Add code to handle pre-checked TCP checksums as indicated by mbuf flags to save the entire computation for validation if not needed. In the IPv6

svn commit: r238236 - stable/9/sys/net

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 12:01:11 2012 New Revision: 238236 URL: http://svn.freebsd.org/changeset/base/238236 Log: MFC r235960: Simple yet effective change enabling checksum "offload" on loopback for IPv6 to avoid expensive computations. Approved by: re Modified: stable/

svn commit: r238235 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:57:11 2012 New Revision: 238235 URL: http://svn.freebsd.org/changeset/base/238235 Log: MFC r235959: Defer checksum calulations on UDP6 output and respect the mbuf flags set by NICs having done checksum validation for us already, thus saving the co

svn commit: r238234 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:53:13 2012 New Revision: 238234 URL: http://svn.freebsd.org/changeset/base/238234 Log: MFC r235958,236130: Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers

svn commit: r238233 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:42:21 2012 New Revision: 238233 URL: http://svn.freebsd.org/changeset/base/238233 Log: MFC r235956: Hide the ip6aux functions. The only one referenced outside ip6_input.c is not compiled in yet (__notyet__) in route6.c (r235954, r238231). We do h

svn commit: r238232 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:33:49 2012 New Revision: 238232 URL: http://svn.freebsd.org/changeset/base/238232 Log: MFC r235955: Simplify the code removing a return from an earlier else case, not differing from the default function return called now. Approved by: re Modifie

svn commit: r238231 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:28:33 2012 New Revision: 238231 URL: http://svn.freebsd.org/changeset/base/238231 Log: MFC r235954: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Approved by: re Mod

svn commit: r238230 - in stable/9/sys: dev/cxgb dev/cxgbe netinet

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 11:24:22 2012 New Revision: 238230 URL: http://svn.freebsd.org/changeset/base/238230 Log: MFC r235944: Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the incr

Re: svn commit: r238228 - in stable/9/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

2012-07-08 Thread Bjoern A. Zeeb
On 8. Jul 2012, at 10:46 , Bjoern A. Zeeb wrote: > Author: bz > Date: Sun Jul 8 10:46:55 2012 > New Revision: 238228 > URL: http://svn.freebsd.org/changeset/base/238228 > > Log: > MFC r235941: > > in_cksum.h required ip.h to be included for struct ip. To be > able to use some general

svn commit: r238228 - in stable/9/sys: amd64/include arm/include i386/include ia64/include mips/include powerpc/include sparc64/include

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 10:46:55 2012 New Revision: 238228 URL: http://svn.freebsd.org/changeset/base/238228 Log: MFC r235941: in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4 context,

svn commit: r238227 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 10:29:01 2012 New Revision: 238227 URL: http://svn.freebsd.org/changeset/base/238227 Log: MFC r235924: Introduce a (for now copied stripped down) in6_cksum_pseudo() function. We should be able to use this from in6_cksum() but we should also ponder p

svn commit: r238226 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 10:04:30 2012 New Revision: 238226 URL: http://svn.freebsd.org/changeset/base/238226 Log: MFC r235921: Optimize in6_cksum(), re-ordering work and limiting variable initialization, removing a bzero() for mostly re-initialized struct values, making use

svn commit: r238224 - stable/9/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 09:49:01 2012 New Revision: 238224 URL: http://svn.freebsd.org/changeset/base/238224 Log: MFC r235916: Introduce in6_getscope() to allow more effective checksum computations without the need to copy the address to clear the scope. Approved by:

svn commit: r238223 - stable/9/sbin/ifconfig

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 09:06:25 2012 New Revision: 238223 URL: http://svn.freebsd.org/changeset/base/238223 Log: MFC r235671: Allow tso4 and tso6 be set individually given we have the bits. This will help with drivers not working as expected during the transition time and