Re: svn commit: r208702 - stable/8/sys/fs/coda

2010-06-01 Thread Robert Watson
On Tue, 1 Jun 2010, Robert Watson wrote: Log: Merge r206210 from head to stable/7: Should, of course, read stable/8... Robert Synchronize Coda kernel module definitions in our coda.h to Coda 6's coda.h: - CodaFid typdef - struct CodaFid throughout. - Use unsigned int

svn commit: r208766 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 08:55:45 2010 New Revision: 208766 URL: http://svn.freebsd.org/changeset/base/208766 Log: Merge r204810 from head to stable/8: Remove unnecessary locking of divcbinfo lock from div_output(): this has not been required since FreeBSD 7.0 when the so_pcb

svn commit: r208767 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:02:53 2010 New Revision: 208767 URL: http://svn.freebsd.org/changeset/base/208767 Log: Merge r204826 from head to stable/8: Make udp_set_kernel_tunneling() less forgiving when its invariants are violated: so_pcb can never be NULL for a valid UDP

svn commit: r208768 - stable/8/sys/netinet

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:06:50 2010 New Revision: 208768 URL: http://svn.freebsd.org/changeset/base/208768 Log: Merge r204830 from head to stable/8 Locking the tcbinfo structure should not be necessary in tcp_timer_delack(), so don't. Reviewed by:bz

svn commit: r208769 - stable/8/sys/fs/nfsserver

2010-06-03 Thread Robert Watson
Author: rwatson Date: Thu Jun 3 09:15:52 2010 New Revision: 208769 URL: http://svn.freebsd.org/changeset/base/208769 Log: Merge r205010 from head to stable/8: Update nfsrv_getsocksndseq() for changes in TCP internals since FreeBSD 6.x: - so_pcb is now guaranteed to be non-NULL

Re: svn commit: r208779 - head/sys/kern

2010-06-04 Thread Robert Watson
On Thu, 3 Jun 2010, Edward Tomasz Napierala wrote: Author: trasz Date: Thu Jun 3 13:41:55 2010 New Revision: 208779 URL: http://svn.freebsd.org/changeset/base/208779 Log: The acl_cnt field is unsigned; no point in checking if it's = 0. I'd originally left these checks in despite the

svn commit: r208859 - head/tools/tools/netrate/tcpp

2010-06-05 Thread Robert Watson
Author: rwatson Date: Sat Jun 5 22:59:37 2010 New Revision: 208859 URL: http://svn.freebsd.org/changeset/base/208859 Log: Although we currently don't compile in CPU-pinning support by default, add a -P to enable it if it were. MFC after:1 week Sponsored by: Juniper Networks

svn commit: r208873 - head/tools/tools/netrate/tcpp

2010-06-06 Thread Robert Watson
Author: rwatson Date: Sun Jun 6 15:27:08 2010 New Revision: 208873 URL: http://svn.freebsd.org/changeset/base/208873 Log: Rework tcpp output so that it generates a comma-delimited list of values, optionally with a header if -h is passed. Toast CPU time measurement in the server for now.

Re: svn commit: r208876 - head/sys/netinet

2010-06-08 Thread Robert Watson
On Mon, 7 Jun 2010, Pawel Jakub Dawidek wrote: 1) Further enhance the INVARIANT lock validation (no locks) are held by checking the create and inp locks as well. [...] + if (mtx_owned(inp-inp_create_mtx)) { + panic(Own create lock on inp); + } + if

Re: svn commit: r209119 - head/sys/sys

2010-06-18 Thread Robert Watson
On Fri, 18 Jun 2010, Lawrence Stewart wrote: True but I figured on large SMP systems where the potential to process more is likely, 32bit counters per cpu may be enough to avoid overflow but the aggregate number of events may exceed a 32bit variable. I suspect you're right though and that if

svn commit: r209428 - head/tools/tools/netrate/tcpp

2010-06-22 Thread Robert Watson
Author: rwatson Date: Tue Jun 22 10:45:35 2010 New Revision: 209428 URL: http://svn.freebsd.org/changeset/base/209428 Log: Revised tuning advice for tcpp benchmarking: do it in loader.conf, and tweak more TCP/stack parameters. Sponsored by: Juniper Networks MFC after:1 week

svn commit: r209429 - head/tools/tools/netrate/tcpp

2010-06-22 Thread Robert Watson
Author: rwatson Date: Tue Jun 22 10:46:57 2010 New Revision: 209429 URL: http://svn.freebsd.org/changeset/base/209429 Log: Add TCP scalability testing wrapper scripts for tcpp. Sponsored by: Juniper Networks MFC after:1 week Added: head/tools/tools/netrate/tcpp/parallelism.csh

Re: moving sctp to a separate directory ? (Re: svn commit: r201523 - head/sys/netinet)

2010-01-09 Thread Robert Watson
On Fri, 8 Jan 2010, John Baldwin wrote: Also, the 10-15 years thing is completely non-relevant. What is relevant is if you are working on a project in a branch and someone renames files before you have finished your branch and merged it up to HEAD. For example, assume that someone else

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-14 Thread Robert Watson
In the interests of bringing this to a close: # Store the plain version of the configuration file in the kernel itself. # For information on extraction, and storing the comments also, see config(8). Am I right in thinking that even with this change, you still end up with a single giant

svn commit: r203161 - head/lib/libc/sys

2010-01-29 Thread Robert Watson
Author: rwatson Date: Fri Jan 29 10:32:01 2010 New Revision: 203161 URL: http://svn.freebsd.org/changeset/base/203161 Log: You must include fcntl.h (in practice) to be able to do anything useful with shm_open(2), as otherwise the O_ flags are undefined. MFC after:3 days Modified:

svn commit: r203410 - head/sys/kern

2010-02-02 Thread Robert Watson
Author: rwatson Date: Tue Feb 2 23:10:27 2010 New Revision: 203410 URL: http://svn.freebsd.org/changeset/base/203410 Log: Only audit pathnames in namei(9) if copying the directory string completes successfully. Continue to do this before the empty path check so that the ENOENT returned in

Re: svn commit: r204076 - in head: etc/defaults etc/rc.d sbin sbin/ggate/ggatec sbin/ggate/ggatel sbin/hastctl sbin/hastd share/examples share/examples/hast share/man/man5 sys/geom/gate

2010-02-18 Thread Robert Watson
On Thu, 18 Feb 2010, Pawel Jakub Dawidek wrote: Please welcome HAST - Highly Avalable Storage. Excellent news! I know a number of shops will be very excited to see this in the tree. Could you say a little about the future of ggated in light of the new arrival? Robert HAST allows to

svn commit: r204173 - head/sys/net

2010-02-21 Thread Robert Watson
Author: rwatson Date: Sun Feb 21 15:25:47 2010 New Revision: 204173 URL: http://svn.freebsd.org/changeset/base/204173 Log: ifconfig(8) expects interface fooX to be supported by the module if_foo, and will try to load it if it's not present. To better meet these expectations, change the

svn commit: r183744 - head/sys/netinet

2008-10-10 Thread Robert Watson
Author: rwatson Date: Fri Oct 10 14:33:47 2008 New Revision: 183744 URL: http://svn.freebsd.org/changeset/base/183744 Log: Fix content and spelling of comment on _ipfw_insn.len -- a count of 32-bit words, not 32-byte words. MFC after:3 days Modified: head/sys/netinet/ip_fw.h

svn commit: r183808 - head/sys/kern

2008-10-12 Thread Robert Watson
Author: rwatson Date: Sun Oct 12 20:03:17 2008 New Revision: 183808 URL: http://svn.freebsd.org/changeset/base/183808 Log: Downgrade XXX to a Note for fgetsock() and fputsock(). MFC after:3 days Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c

svn commit: r183872 - in stable/7/sys: . netinet

2008-10-14 Thread Robert Watson
Author: rwatson Date: Tue Oct 14 08:03:58 2008 New Revision: 183872 URL: http://svn.freebsd.org/changeset/base/183872 Log: Merge r183744 from head to stable/7: Fix content and spelling of comment on _ipfw_insn.len -- a count of 32-bit words, not 32-byte words. Approved by: re

svn commit: r184116 - in stable/7/sys: . fs/portalfs

2008-10-21 Thread Robert Watson
Author: rwatson Date: Tue Oct 21 09:30:42 2008 New Revision: 184116 URL: http://svn.freebsd.org/changeset/base/184116 Log: Merge r183806 from head to stable/7: The locking in portalfs's socket connect code is no less correct than identical code in connect(2), so remove XXX that it

svn commit: r184119 - in stable/7/sys: . netinet6

2008-10-21 Thread Robert Watson
Author: rwatson Date: Tue Oct 21 09:56:23 2008 New Revision: 184119 URL: http://svn.freebsd.org/changeset/base/184119 Log: Merge r183807 from head to stable/7: When disconnecting a UDPv6 socket, acquire the socket lock around the changing of the so_state field, as is done in UDPv4.

svn commit: r184120 - in stable/7/sys: . kern

2008-10-21 Thread Robert Watson
Author: rwatson Date: Tue Oct 21 10:17:51 2008 New Revision: 184120 URL: http://svn.freebsd.org/changeset/base/184120 Log: Merge r183803 from head to stable/7: Downgrade XXX to a Note for fgetsock() and fputsock(). Approved by: re (kib) Modified: stable/7/sys/ (props changed)

svn commit: r184126 - in stable/7/sys: . nfsserver

2008-10-21 Thread Robert Watson
Author: rwatson Date: Tue Oct 21 14:11:00 2008 New Revision: 184126 URL: http://svn.freebsd.org/changeset/base/184126 Log: Merge r183809 from head to stable/7: Turn XXX's for unlocked writes of NFS server statistics to simple notes, as we consider it a feature to exchange performance

svn commit: r184298 - head/sys/netinet

2008-10-26 Thread Robert Watson
Author: rwatson Date: Sun Oct 26 19:33:22 2008 New Revision: 184298 URL: http://svn.freebsd.org/changeset/base/184298 Log: Remove endearing but syntactically unnecessary return; statements directly before the final closeing brackets of some TCP functions. MFC after:3 days Modified:

svn commit: r184304 - head/sys/netinet

2008-10-26 Thread Robert Watson
Author: rwatson Date: Sun Oct 26 22:03:52 2008 New Revision: 184304 URL: http://svn.freebsd.org/changeset/base/184304 Log: In both dropwithreset paths in tcp_input.c, drop the tcbinfo lock sooner to decomplicate locking and eliminate the need for a rather chatty comment about why we have to

svn commit: r184308 - in head/sys/security: mac_biba mac_lomac mac_mls mac_stub mac_test

2008-10-26 Thread Robert Watson
Author: rwatson Date: Sun Oct 26 22:46:37 2008 New Revision: 184308 URL: http://svn.freebsd.org/changeset/base/184308 Log: Implement MAC policy support for IPv6 fragment reassembly queues, modeled on IPv4 fragment reassembly queue support. Obtained from:TrustedBSD Project

svn commit: r184330 - head/sys/security/mac_bsdextended

2008-10-27 Thread Robert Watson
. + * Copyright (c) 2005 Tom Rhodes + * Copyright (c) 2006 SPARTA, Inc. + * All rights reserved. + * + * This software was developed by Robert Watson for the TrustedBSD Project. + * It was later enhanced by Tom Rhodes for the TrustedBSD Project. + * + * This software was developed for the FreeBSD

Re: svn commit: r184362 - head/sys/conf

2008-10-27 Thread Robert Watson
On Mon, 27 Oct 2008, Bjoern A. Zeeb wrote: Log: Add the files missed with r184331 to make mac_bsdextended compile again. Thanks -- apparently I missed the conf directory when committing! Robert N M Watson Computer Laboratory University of Cambridge Modified: head/sys/conf/files

svn commit: r184367 - head/sys/security/mac_bsdextended

2008-10-27 Thread Robert Watson
Author: rwatson Date: Mon Oct 27 18:08:12 2008 New Revision: 184367 URL: http://svn.freebsd.org/changeset/base/184367 Log: When the mac_bsdextended policy is unloaded, free rule memory. Obtained from:TrustedBSD Project MFC after:3 days Modified:

svn commit: r184412 - in head/sys/security: mac mac_lomac

2008-10-28 Thread Robert Watson
Author: rwatson Date: Tue Oct 28 12:49:07 2008 New Revision: 184412 URL: http://svn.freebsd.org/changeset/base/184412 Log: Rename mac_cred_mmapped_drop_perms(), which revokes access to virtual memory mappings when the MAC label on a process changes, to mac_proc_vm_revoke(), It now also

svn commit: r184467 - head/sys/security/mac_bsdextended

2008-10-30 Thread Robert Watson
Author: rwatson Date: Thu Oct 30 10:13:53 2008 New Revision: 184467 URL: http://svn.freebsd.org/changeset/base/184467 Log: The V* flags passed using an accmode_t to the access() and open() access control checks in mac_bsdextended are not in the same namespace as the MBI_ flags used in

svn commit: r184488 - head/sys/security/audit

2008-10-30 Thread Robert Watson
2008 (r184488) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2006 Robert N. M. Watson + * Copyright (c) 2008 Apple, Inc. * All rights reserved. * * This software was developed by Robert Watson for the TrustedBSD Project. @@ -41,6 +42,7 @@ __FBSDID($FreeBSD$); #include sys/poll.h #include

svn commit: r184508 - head/sys/security/audit

2008-10-31 Thread Robert Watson
Author: rwatson Date: Fri Oct 31 14:40:21 2008 New Revision: 184508 URL: http://svn.freebsd.org/changeset/base/184508 Log: Historically, /dev/auditpipe has allows only whole records to be read via read(2), which meant that records longer than the buffer passed to read(2) were dropped.

svn commit: r184510 - head/sys/security/audit

2008-10-31 Thread Robert Watson
Author: rwatson Date: Fri Oct 31 15:11:01 2008 New Revision: 184510 URL: http://svn.freebsd.org/changeset/base/184510 Log: Since there is no longer the opportunity for record truncation, just return 0 if the truncation counter is queried on an audit pipe. MFC after:2 months

svn commit: r184534 - head/sys/security/audit

2008-11-01 Thread Robert Watson
Author: rwatson Date: Sat Nov 1 21:16:09 2008 New Revision: 184534 URL: http://svn.freebsd.org/changeset/base/184534 Log: Allow a single read(2) system call on an audit pipe to retrieve data from more than one audit record at a time in order to improve efficiency. MFC after:2 months

svn commit: r184536 - head/sys/security/audit

2008-11-01 Thread Robert Watson
Author: rwatson Date: Sat Nov 1 21:56:45 2008 New Revision: 184536 URL: http://svn.freebsd.org/changeset/base/184536 Log: We only allow a partial read of the first record in an audit pipe record queue, so move the offset field from the per-record audit_pipe_entry structure to the

svn commit: r184545 - head/sys/security/audit

2008-11-01 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 00:25:48 2008 New Revision: 184545 URL: http://svn.freebsd.org/changeset/base/184545 Log: Update introductory comment for audit pipes. MFC after:2 months Sponsored by: Apple, Inc. Modified: head/sys/security/audit/audit_pipe.c Modified:

svn commit: r184567 - head/contrib/smbfs/lib/smb

2008-11-02 Thread Robert Watson
Author: rwatson Date: Sun Nov 2 19:48:15 2008 New Revision: 184567 URL: http://svn.freebsd.org/changeset/base/184567 Log: When encoding an smb name, truncate one byte earlier in order than we did previously in order to ensure it fit properly in the bufer when encoded. This prevents a

svn commit: r184592 - head/sys/netsmb

2008-11-03 Thread Robert Watson
Author: rwatson Date: Mon Nov 3 14:23:15 2008 New Revision: 184592 URL: http://svn.freebsd.org/changeset/base/184592 Log: Implement device cloning for /dev/nsmb, the netsmb control pseudo-device. The smb library in userspace already knows how to deal with this type of cloning. This

svn commit: r184825 - head/sys/security/audit

2008-11-10 Thread Robert Watson
Author: rwatson Date: Mon Nov 10 22:06:24 2008 New Revision: 184825 URL: http://svn.freebsd.org/changeset/base/184825 Log: Wrap sx locking of the audit worker sleep lock in macros, update comments. MFC after:2 months Sponsored by: Apple, Inc. Modified:

Re: svn commit: r184789 - in head: lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/ia64/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/sparc64/sys sys/amd64/linux32 sys/compat/free

2008-11-10 Thread Robert Watson
On Sun, 9 Nov 2008, Ed Schouten wrote: Modified: head/sys/sys/priv.h == --- head/sys/sys/priv.h Sun Nov 9 09:24:01 2008(r184788) +++ head/sys/sys/priv.h Sun Nov 9 10:45:13 2008(r184789) @@ -84,7 +84,6

svn commit: r184853 - in stable/7/sys: . modules/cxgb netinet

2008-11-11 Thread Robert Watson
Author: rwatson Date: Tue Nov 11 17:12:26 2008 New Revision: 184853 URL: http://svn.freebsd.org/changeset/base/184853 Log: Merge r184304 from head to stable/7: In both dropwithreset paths in tcp_input.c, drop the tcbinfo lock sooner to decomplicate locking and eliminate the need for a

svn commit: r184857 - head/sys/security/audit

2008-11-11 Thread Robert Watson
Author: rwatson Date: Tue Nov 11 22:59:40 2008 New Revision: 184857 URL: http://svn.freebsd.org/changeset/base/184857 Log: Minor style tweaks and change lock name string to use _'s and not spaces to improve parseability. Modified: head/sys/security/audit/audit.c Modified:

svn commit: r184900 - in vendor/openbsm/dist: . bin bin/audit bin/auditd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libbsm man modules modules/auditfilter_noop test test/bsm...

2008-11-12 Thread Robert Watson
Author: rwatson Date: Wed Nov 12 23:49:55 2008 New Revision: 184900 URL: http://svn.freebsd.org/changeset/base/184900 Log: Disable keyword exansion in OpenBSM vendor branch. Modified: vendor/openbsm/dist/CHANGELOG (props changed) vendor/openbsm/dist/HISTORY (props changed)

svn commit: r184901 - head/contrib/openbsm

2008-11-12 Thread Robert Watson
Author: rwatson Date: Wed Nov 12 23:53:56 2008 New Revision: 184901 URL: http://svn.freebsd.org/changeset/base/184901 Log: Bootstrap merge history for OpenBSM. Modified: head/contrib/openbsm/ (props changed) ___ svn-src-all@freebsd.org mailing

svn commit: r184902 - in vendor/openbsm/dist: . bin bin/audit bin/auditd bin/auditfilterd bin/auditreduce bin/praudit bsm compat config etc libbsm man modules modules/auditfilter_noop sys sys/bsm t...

2008-11-12 Thread Robert Watson
to +the development of OpenBSM: + +Apple Inc. +McAfee Research, McAfee, Inc. +SPARTA, Inc. +Robert Watson +Wayne Salamon +Suresh Krishnaswamy +Kevin Van Vechten +Tom Rhodes +Wojciech Koszek +Chunyang Yuan +Poul-Henning Kamp +Christian Brueffer +Olivier

svn commit: r184903 - vendor/openbsm/1.1-ALPHA-2

2008-11-12 Thread Robert Watson
Author: rwatson Date: Thu Nov 13 00:05:37 2008 New Revision: 184903 URL: http://svn.freebsd.org/changeset/base/184903 Log: Tag OpenBSM 1.1-alpha2 vendor import. Added: vendor/openbsm/1.1-ALPHA-2/ - copied from r184902, vendor/openbsm/dist/ ___

svn commit: r184904 - head/sys/security/audit

2008-11-12 Thread Robert Watson
Author: rwatson Date: Thu Nov 13 00:21:01 2008 New Revision: 184904 URL: http://svn.freebsd.org/changeset/base/184904 Log: The audit queue limit variables are size_t, so use size_t for the audit queue length variables as well, avoiding storing the limit in a larger type than the length.

svn commit: r185293 - head/sys/security/audit

2008-11-25 Thread Robert Watson
Author: rwatson Date: Tue Nov 25 11:25:45 2008 New Revision: 185293 URL: http://svn.freebsd.org/changeset/base/185293 Log: Regularize /* FALLTHROUGH */ comments in the BSM event type switch, and add one that was missing. MFC after:3 weeks Coverity ID: 3960 Modified:

svn commit: r185362 - head/share/man/man9

2008-11-27 Thread Robert Watson
Author: rwatson Date: Thu Nov 27 08:42:58 2008 New Revision: 185362 URL: http://svn.freebsd.org/changeset/base/185362 Log: Revert r184509: don't encourage the use of sysexits.h with err() and errx(),, as there seems to be a general preference against this practice. Suggested by: bde,

svn commit: r185437 - in stable/7/contrib/smbfs: . lib/smb

2008-11-29 Thread Robert Watson
Author: rwatson Date: Sat Nov 29 14:49:56 2008 New Revision: 185437 URL: http://svn.freebsd.org/changeset/base/185437 Log: Merge r184567 from head to stable/7: When encoding an smb name, truncate one byte earlier in order than we did previously in order to ensure it fit properly in

svn commit: r185440 - stable/7/sys/security/mac_bsdextended

2008-11-29 Thread Robert Watson
Author: rwatson Date: Sat Nov 29 14:58:58 2008 New Revision: 185440 URL: http://svn.freebsd.org/changeset/base/185440 Log: Merge r184367 from head to stable/7: When the mac_bsdextended policy is unloaded, free rule memory. Obtained from: TrustedBSD Project Approved by:

svn commit: r185455 - in releng/7.1/contrib/smbfs: . lib/smb

2008-11-29 Thread Robert Watson
Author: rwatson Date: Sat Nov 29 21:42:13 2008 New Revision: 185455 URL: http://svn.freebsd.org/changeset/base/185455 Log: Merge r185437 from stable/7 to releng/7.1: Merge r184567 from head to stable/7: When encoding an smb name, truncate one byte earlier in order than we did

svn commit: r185457 - in releng/7.1/sys: . security/mac_bsdextended

2008-11-29 Thread Robert Watson
Author: rwatson Date: Sat Nov 29 21:48:12 2008 New Revision: 185457 URL: http://svn.freebsd.org/changeset/base/185457 Log: Merge r185440 from stable/7 to releng/7.1: Merge r184367 from head to stable/7: When the mac_bsdextended policy is unloaded, free rule memory.

svn commit: r185573 - in head: contrib/openbsm contrib/openbsm/bin contrib/openbsm/bin/audit contrib/openbsm/bin/auditd contrib/openbsm/bin/auditfilterd contrib/openbsm/bin/auditreduce contrib/open...

2008-12-02 Thread Robert Watson
contributed substantially to +the development of OpenBSM: + +Apple Inc. +McAfee Research, McAfee, Inc. +SPARTA, Inc. +Robert Watson +Wayne Salamon +Suresh Krishnaswamy +Kevin Van Vechten +Tom Rhodes +Wojciech Koszek +Chunyang Yuan +Poul-Henning Kamp

svn commit: r185773 - head/sys/netinet

2008-12-08 Thread Robert Watson
Author: rwatson Date: Mon Dec 8 20:18:50 2008 New Revision: 185773 URL: http://svn.freebsd.org/changeset/base/185773 Log: Add a reference count to struct inpcb, which may be explicitly incremented using in_pcbref(), and decremented using in_pcbfree() or inpcbrele(). Protocols using only

svn commit: r185775 - head/sys/netinet

2008-12-08 Thread Robert Watson
Author: rwatson Date: Mon Dec 8 20:27:00 2008 New Revision: 185775 URL: http://svn.freebsd.org/changeset/base/185775 Log: Move from solely write-locking the global tcbinfo in tcp_input() to read-locking in the TCP input path, allowing greater TCP input parallelism where multiple ithreads

svn commit: r185791 - head/sys/netinet

2008-12-09 Thread Robert Watson
Author: rwatson Date: Tue Dec 9 10:21:38 2008 New Revision: 185791 URL: http://svn.freebsd.org/changeset/base/185791 Log: Move macros defining flags and shortcus to nested structure fields in inpcbinfo below the structure definition in order to make inpcbinfo fit on a single printed page;

svn commit: r185795 - head/sys/netinet

2008-12-09 Thread Robert Watson
Author: rwatson Date: Tue Dec 9 15:49:02 2008 New Revision: 185795 URL: http://svn.freebsd.org/changeset/base/185795 Log: Enhance one comment relating to recent TCP locking changes, and fix a typo in another. MFC after:6 weeks Modified: head/sys/netinet/tcp_input.c Modified:

svn commit: r185813 - head/sys/netinet

2008-12-09 Thread Robert Watson
Author: rwatson Date: Tue Dec 9 23:57:09 2008 New Revision: 185813 URL: http://svn.freebsd.org/changeset/base/185813 Log: Update comment on INP_TIMEWAIT to say what it's about, as we caution regarding the misplacement of flags in inp_vflag in an earlier comment. MFC after:pretty

svn commit: r185814 - in stable/7/sys: . contrib/pf netinet

2008-12-09 Thread Robert Watson
Author: rwatson Date: Wed Dec 10 00:08:25 2008 New Revision: 185814 URL: http://svn.freebsd.org/changeset/base/185814 Log: Merge r185791 from head to stable/7: Move macros defining flags and shortcuts to nested structure fields in inpcbinfo below the structure definition in order to

svn commit: r185855 - head/sys/netinet

2008-12-10 Thread Robert Watson
Author: rwatson Date: Wed Dec 10 11:03:16 2008 New Revision: 185855 URL: http://svn.freebsd.org/changeset/base/185855 Log: Move flag definitions for t_flags and t_oobflags below the definition of struct tcpcb so that the structure definition is a bit more vertically compact. Can't yet fit

svn commit: r185858 - head/sys/netinet

2008-12-10 Thread Robert Watson
Author: rwatson Date: Wed Dec 10 13:24:38 2008 New Revision: 185858 URL: http://svn.freebsd.org/changeset/base/185858 Log: Remove inconsistent white space from in_pcballoc(). MFC after:pretty soon Modified: head/sys/netinet/in_pcb.c Modified: head/sys/netinet/in_pcb.c

svn commit: r185857 - head/sys/netinet

2008-12-10 Thread Robert Watson
Author: rwatson Date: Wed Dec 10 11:11:43 2008 New Revision: 185857 URL: http://svn.freebsd.org/changeset/base/185857 Log: Move syncache flag definitions below data structure, compress some vertical whitespace. MFC after:pretty soon Modified: head/sys/netinet/tcp_syncache.h

svn commit: r185928 - head/sys/netipx

2008-12-11 Thread Robert Watson
Author: rwatson Date: Thu Dec 11 10:29:35 2008 New Revision: 185928 URL: http://svn.freebsd.org/changeset/base/185928 Log: Add missing goto set_head for SO_IPX_CHECKSUM; otherwise we fall through to the SO_HEADERS_ON_OUTPUT case and set that instead. MFC after:1 week Found with:

svn commit: r185930 - in stable/7/sys: . contrib/pf dev/cxgb netinet

2008-12-11 Thread Robert Watson
Author: rwatson Date: Thu Dec 11 13:30:29 2008 New Revision: 185930 URL: http://svn.freebsd.org/changeset/base/185930 Log: Merge r185855 from head to stable/7: Move flag definitions for t_flags and t_oobflags below the definition of struct tcpcb so that the structure definition is a

svn commit: r185944 - in stable/7/sys: . contrib/pf dev/cxgb netinet

2008-12-11 Thread Robert Watson
Author: rwatson Date: Thu Dec 11 22:28:29 2008 New Revision: 185944 URL: http://svn.freebsd.org/changeset/base/185944 Log: Merge r185857 from head to stable/7: Move syncache flag definitions below data structure, compress some vertical whitespace. Approved by: re (gnn)

svn commit: r185992 - in releng/7.1/sys: . contrib/pf dev/cxgb netinet

2008-12-12 Thread Robert Watson
Author: rwatson Date: Fri Dec 12 16:12:19 2008 New Revision: 185992 URL: http://svn.freebsd.org/changeset/base/185992 Log: Merge r185929 from stable/7 to releng/7.1: Merge r185813 from head to stable/7: Update comment on INP_TIMEWAIT to say what it's about, as we caution

Re: svn commit: r192098 - in stable/6: gnu/usr.bin/gdb/libgdb lib/libthr/thread lib/libthread_db lib/libthread_db/arch/alpha lib/libthread_db/arch/amd64 lib/libthread_db/arch/i386 lib/libthread_db/arc

2009-05-18 Thread Robert Watson
On Thu, 14 May 2009, Attilio Rao wrote: Author: attilio Date: Thu May 14 13:36:39 2009 New Revision: 192098 URL: http://svn.freebsd.org/changeset/base/192098 Log: MFC libthread_db modifies until r181651: - Introduce and use new functions pthread_{read, write}_* - Move psaddr_t from void *

svn commit: r192302 - head/sys/net

2009-05-18 Thread Robert Watson
Author: rwatson Date: Mon May 18 10:33:23 2009 New Revision: 192302 URL: http://svn.freebsd.org/changeset/base/192302 Log: Garbage collect unused NETISR_{ATM,NETGRAPH,PPP} netisr constants. Modified: head/sys/net/netisr.h Modified: head/sys/net/netisr.h

svn commit: r192305 - head/sys/kern

2009-05-18 Thread Robert Watson
Author: rwatson Date: Mon May 18 14:02:55 2009 New Revision: 192305 URL: http://svn.freebsd.org/changeset/base/192305 Log: Binding interrupts to a CPU consists of two parts: setting up CPU affinity for the interrupt thread, and requesting that underlying hardware direct interrupts to the

Re: svn commit: r192098 - in stable/6: gnu/usr.bin/gdb/libgdb lib/libthr/thread lib/libthread_db lib/libthread_db/arch/alpha lib/libthread_db/arch/amd64 lib/libthread_db/arch/i386 lib/libthread_db/a

2009-05-18 Thread Robert Watson
On Mon, 18 May 2009, Attilio Rao wrote:  MFC libthread_db modifies until r181651:  - Introduce and use new functions pthread_{read, write}_*  - Move psaddr_t from void * to uintptr_t  - Fix some ABI mismatches  - Introduce WARN 6 for compilation The 6-STABLE amd64 build has been broken for

svn commit: r192404 - head/sys/kern

2009-05-19 Thread Robert Watson
Author: rwatson Date: Tue May 19 19:21:25 2009 New Revision: 192404 URL: http://svn.freebsd.org/changeset/base/192404 Log: With SMPng, DEVICE_POLLING uses its own idle threads, rather than the system idle loop, to run ether_poll(), so make ether_poll() static. MFC after:1 week

svn commit: r192528 - head/sys/netinet

2009-05-21 Thread Robert Watson
Author: rwatson Date: Thu May 21 09:45:47 2009 New Revision: 192528 URL: http://svn.freebsd.org/changeset/base/192528 Log: Consolidate and clean up the first section of ip_output.c in light of the last year or two's work on routing: - Combine iproute initialization and flowtable lookup

Re: svn commit: r192535 - head/sys/kern

2009-05-21 Thread Robert Watson
On Thu, 21 May 2009, John Baldwin wrote: Move the M_WAITOK flag in notify() into an M_NOWAIT one in order to match the behaviour alredy present with the further malloc() call in devctl_notify(). This fixes a bug in the CAM layer where the camisr handler finished to call

Re: svn commit: r192535 - head/sys/kern

2009-05-21 Thread Robert Watson
On Thu, 21 May 2009, M. Warner Losh wrote: : devctl_notify() probably needs to grow a sleepable flag, or perhaps we need : two variations, one that can sleep. devctl_notify() has expanded well beyond its original needs. Having an extra case for sleeping is the wrong way to solve this

Re: svn commit: r192398 - in head/usr.bin: . perror

2009-05-22 Thread Robert Watson
On Fri, 22 May 2009, Bruce Evans wrote: : actually good one. There's also internationalization that actually happens too, right? That doesn't happen with grep.. What about with man errno. Man pages are slightly more likely to be present than application (not system) include files, and man

svn commit: r192578 - in head: etc/rc.d sbin sbin/idmapd sbin/mount_nfs sys sys/conf sys/fs/nfs sys/modules/nfs4client sys/modules/nfsclient sys/nfs4client sys/nfsclient sys/nlm sys/rpc

2009-05-22 Thread Robert Watson
Author: rwatson Date: Fri May 22 12:35:12 2009 New Revision: 192578 URL: http://svn.freebsd.org/changeset/base/192578 Log: Remove the unmaintained University of Michigan NFSv4 client from 8.x prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234 client and server are

Re: svn commit: r192535 - head/sys/kern

2009-05-22 Thread Robert Watson
On Fri, 22 May 2009, John Baldwin wrote: On Thursday 21 May 2009 6:11:02 pm Attilio Rao wrote: At this point I wonder what's the purpose of maintaining the sleeping version for such functions? Actually, I still very much do not like using M_NOWAIT needlessly. I would much rather the

svn commit: r192579 - in head/etc: defaults rc.d

2009-05-22 Thread Robert Watson
Author: rwatson Date: Fri May 22 13:56:16 2009 New Revision: 192579 URL: http://svn.freebsd.org/changeset/base/192579 Log: Further idmapd garbage collection -- remove rc.d Makefile reference and default settings. Submitted by: Pawel Worach pawel.worach at gmail.com Modified:

svn commit: r192580 - head

2009-05-22 Thread Robert Watson
Author: rwatson Date: Fri May 22 13:57:44 2009 New Revision: 192580 URL: http://svn.freebsd.org/changeset/base/192580 Log: Add University of Michigan removed files to ObsoleteFiles.inc. Submitted by: Pawel Worach pawel.worach at gmail.com Modified: head/ObsoleteFiles.inc Modified:

Re: svn commit: r192612 - head/sys/netinet

2009-05-23 Thread Robert Watson
On Fri, 22 May 2009, Bjoern A. Zeeb wrote: On Fri, 22 May 2009, Bjoern A. Zeeb wrote: Author: bz Date: Fri May 22 23:03:15 2009 New Revision: 192612 URL: http://svn.freebsd.org/changeset/base/192612 Log: If including vnet.h one has to include opt_route.h as well. This is because struct

Re: svn commit: r192639 - head/sys/cddl/boot/zfs

2009-05-23 Thread Robert Watson
On Sat, 23 May 2009, Dag-Erling Smorgrav wrote: Remove svn:keywords on a file that had fbsd:nokeywords (though I don't understand the reason for the latter) This seems backwards, as does the commit that followed it to remove the expanded $FreeBSD$ string. Is there any reason this file

svn commit: r192744 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 09:09:43 2009 New Revision: 192744 URL: http://svn.freebsd.org/changeset/base/192744 Log: Copy spx_usrreq.c to spx_reass.c in order to apply similar file layout changes to IPX/SPX that were applied to TCP/IP in the creation of tcp_reass.c. MFC after:

svn commit: r192746 - in head/sys: conf netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 09:28:54 2009 New Revision: 192746 URL: http://svn.freebsd.org/changeset/base/192746 Log: Complete move of SPX reassembly from spx_usrreq.c to spx_reass.c. MFC after:1 month Modified: head/sys/conf/files head/sys/netipx/spx_reass.c

svn commit: r192748 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 09:57:18 2009 New Revision: 192748 URL: http://svn.freebsd.org/changeset/base/192748 Log: Prefer m_nextpkt to m_act when iterating mbuf queues. MFC after:1 month Modified: head/sys/netipx/spx_usrreq.c Modified: head/sys/netipx/spx_usrreq.c

svn commit: r192753 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 10:25:41 2009 New Revision: 192753 URL: http://svn.freebsd.org/changeset/base/192753 Log: Pull SPX reassembly queue init and flush into spx_reass.c. MFC after:1 month Modified: head/sys/netipx/spx_reass.c head/sys/netipx/spx_usrreq.c

svn commit: r192754 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 11:50:58 2009 New Revision: 192754 URL: http://svn.freebsd.org/changeset/base/192754 Log: Rather than store a skeleton IPX header in an mbuf hung off the SPX PCB, simply embed it in the PCB, avoiding additional memory overhead, memory allocation overhead,

svn commit: r192755 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 11:52:33 2009 New Revision: 192755 URL: http://svn.freebsd.org/changeset/base/192755 Log: Prefer NULL to 0 for pointer assignments. MFC after:1 month Modified: head/sys/netipx/spx_usrreq.c Modified: head/sys/netipx/spx_usrreq.c

svn commit: r192757 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 13:34:03 2009 New Revision: 192757 URL: http://svn.freebsd.org/changeset/base/192757 Log: Add missing call to ipx_pcbdetach() during SPX socket tear-down: not harmful in practice if running without INVARIANTS, but will panic with KASSERT enabled when SPX

svn commit: r192758 - head/sys/netipx

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 13:52:51 2009 New Revision: 192758 URL: http://svn.freebsd.org/changeset/base/192758 Log: Staticize spx_remque() now that it's only used from spx_reass.c. Modified: head/sys/netipx/spx_reass.c head/sys/netipx/spx_var.h Modified: head/sys/netipx/spx_reass.c

svn commit: r192761 - head/sys/netinet

2009-05-25 Thread Robert Watson
Author: rwatson Date: Mon May 25 14:51:47 2009 New Revision: 192761 URL: http://svn.freebsd.org/changeset/base/192761 Log: Remove comment about moving tcp_reass() to its own file named tcp_reass.c, that happened a while ago. MFC after:3 days Modified: head/sys/netinet/tcp_reass.c

Re: svn commit: r192800 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/common/acl cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/

2009-05-26 Thread Robert Watson
On Tue, 26 May 2009, Edward Tomasz Napierala wrote: +/*- + * Copyright (c) 2008, 2009 Edward Tomasz Napierała tr...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

Re: svn commit: r192800 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/common/acl cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/

2009-05-26 Thread Robert Watson
On Tue, 26 May 2009, Brooks Davis wrote: Cute though this BSD license variation is, I'm pretty sure it's not on the approved license list. ??Sticking to the standard license templates potentially saves significant trouble later -- especially when people Hmm, I'm sure that there exists some

Re: svn commit: r192800 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/common/acl cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/

2009-05-27 Thread Robert Watson
On Tue, 26 May 2009, M. Warner Losh wrote: : Cute though this BSD license variation is, I'm pretty sure it's not on the : approved license list.  Sticking to the standard license templates : potentially saves significant trouble later -- especially when people : : Hmm, I'm sure that there

svn commit: r192881 - head/sys/security/mac

2009-05-27 Thread Robert Watson
Author: rwatson Date: Wed May 27 09:41:58 2009 New Revision: 192881 URL: http://svn.freebsd.org/changeset/base/192881 Log: Convert the MAC Framework from using rwlocks to rmlocks to stabilize framework registration for non-sleepable entry points. Obtained from:TrustedBSD Project

Re: svn commit: r193011 - in head: . share/man/man9 sys/cddl/compat/opensolaris/sys sys/conf sys/kern sys/sys

2009-05-29 Thread Robert Watson
On Fri, 29 May 2009, Attilio Rao wrote: Reverse the logic for ADAPTIVE_SX option and enable it by default. Introduce for this operation the reverse NO_ADAPTIVE_SX option. The flag SX_ADAPTIVESPIN to be passed to sx_init_flags(9) gets suppressed and the new flag, offering the reversed logic,

svn commit: r193026 - head/sys/sys

2009-05-29 Thread Robert Watson
Author: rwatson Date: Fri May 29 09:40:57 2009 New Revision: 193026 URL: http://svn.freebsd.org/changeset/base/193026 Log: Reduce vertical whitespace and other minor style tweaks. Remove unused rm_initialized() macro. Modified: head/sys/sys/rmlock.h Modified: head/sys/sys/rmlock.h

<    1   2   3   4   5   6   7   8   9   10   >