From yongari at FreeBSD.org Wed Oct 1 00:18:09 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Wed Oct 1 00:18:16 2008 Subject: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h Message-ID: <200810010018.m910I8gi029308@repoman.freebsd.org> yongari 2008-10-01 00:17:54 UTC FreeBSD src repository Modified files: sys/dev/nfe if_nfe.c if_nfereg.h Log: SVN rev 183509 on 2008-10-01 00:17:54Z by yongari Add device ids for MCP77/79 and set appropriate support flags. Obtained from: OpenBSD PR: kern/127529 Revision Changes Path 1.29 +32 -0 src/sys/dev/nfe/if_nfe.c 1.13 +8 -0 src/sys/dev/nfe/if_nfereg.h From imp at FreeBSD.org Wed Oct 1 05:47:28 2008 From: imp at FreeBSD.org (Warner Losh) Date: Wed Oct 1 05:47:39 2008 Subject: cvs commit: src/sys/mips/mips pmap.c Message-ID: <200810010547.m915lR6i066575@repoman.freebsd.org> imp 2008-10-01 05:47:17 UTC FreeBSD src repository Modified files: sys/mips/mips pmap.c Log: SVN rev 183510 on 2008-10-01 05:47:17Z by imp Remove critical_enter() and critical_exit(): pmap_growkernel is called with kernel_map->system_mtx held so these aren't needed. Add an assertion to make sure this is the case. Also, fix a minor style(9) nit. Reviewed by: alc@ Revision Changes Path 1.8 +2 -4 src/sys/mips/mips/pmap.c From ru at FreeBSD.org Wed Oct 1 06:17:29 2008 From: ru at FreeBSD.org (Ruslan Ermilov) Date: Wed Oct 1 06:17:41 2008 Subject: cvs commit: src/sys/modules/nfslockd Makefile Message-ID: <200810010617.m916HSqM043689@repoman.freebsd.org> ru 2008-10-01 06:17:15 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/modules/nfslockd Makefile Log: SVN rev 183511 on 2008-10-01 06:17:15Z by ru MFC: fix the build when MODULES_WITH_WORLD is defined. Approved by: re (kib) Revision Changes Path 1.1.2.3 +1 -1 src/sys/modules/nfslockd/Makefile From rwatson at FreeBSD.org Wed Oct 1 08:43:19 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Oct 1 08:43:26 2008 Subject: cvs commit: src/sys/netinet ip_fw2.c In-Reply-To: <20080930162606.GA46594@freebsd.org> References: <200809271014.m8RAENka041457@repoman.freebsd.org> <48DE5C4F.8040807@micom.mng.net> <48DF2010.6030309@micom.mng.net> <20080930162606.GA46594@freebsd.org> Message-ID: On Tue, 30 Sep 2008, Roman Divacky wrote: >> Good news. We'll want to keep an eye on this one as the 7.0 release cycle >> progresses, and there may be other unexpected edge case problems from the >> rwlock change. On the whole it seems to have been very successful, but the >> view that -CURRENT doesn't receive a whole lot of stress testing is >> reinforced... > > I think this is a little different case... I guess people are willing to > test -CURRENT on their desktops etc. but not on "servers". ie. when you have > immediate access to the machine you easily use -CURRENT but not on the > remote server. > > Also, people don't tend to run firewalls on their desktops (as opposed to > servers where they dont). This is why I think this bug slipped. Not that > -CURRENT is so badly tested... Common code paths are reasonably tested by -CURRENT, but coverage of not-so-common paths is basically ignored. Experience with TCP regressions last year suggests that little or no interoperability occurs in HEAD, and that it's easy for quite serious regressions in stability and performance to go unnoticed for extended periods. This isn't indicative of a "problem", in that it is expected that normal user populations don't track the -CURRENT branch, it isn't put into heavy production use, etc, but is something we need to recognize: three months in HEAD is not enough to declare a feature ready for production. Robert N M Watson Computer Laboratory University of Cambridge From rwatson at FreeBSD.org Wed Oct 1 13:27:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Oct 1 13:27:11 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810011327.m91DR5kY007331@repoman.freebsd.org> rwatson 2008-10-01 13:26:52 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 183512 on 2008-10-01 13:26:52Z by rwatson Various cleanups for soreceive_dgram(): - Update or remove comments that were left over from the original soreceive_generic() implementation. Quite a few were misleading in the context of the new code. - Since soreceive_dgram() has a simpler structure, replace several gotos with a while loop making the invariants more clear. - In the blocking while loop, don't try to handle cases incompatible with the loop invariant (since m is always NULL, don't check for and handle non-NULL). - Don't drop and re-acquire the socket buffer lock unnecessarily after sbwait() returns, which may help reduce lock contention (etc). - Assume PR_ATOMIC since we assert it at the top of the function. MFC after: 3 days Revision Changes Path 1.316 +19 -58 src/sys/kern/uipc_socket.c From des at FreeBSD.org Wed Oct 1 14:08:22 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Wed Oct 1 14:08:28 2008 Subject: cvs commit: src/crypto/openssh FREEBSD-Xlist RFC.nroff Message-ID: <200810011408.m91E8MRo061100@repoman.freebsd.org> des 2008-10-01 14:08:08 UTC FreeBSD src repository Removed files: (Branch: RELENG_7) crypto/openssh FREEBSD-Xlist RFC.nroff Log: SVN rev 183513 on 2008-10-01 14:08:08Z by des Left-over files - should have been removed with 5.1p1 import. Approved by: re (kib) Revision Changes Path 1.3.18.2 +0 -9 src/crypto/openssh/FREEBSD-Xlist (dead) 1.1.1.3.18.1 +0 -1780 src/crypto/openssh/RFC.nroff (dead) From lulf at FreeBSD.org Wed Oct 1 14:50:54 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Wed Oct 1 14:51:00 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum.h geom_vinum_drive.c geom_vinum_var.h Message-ID: <200810011450.m91Eos6o016831@repoman.freebsd.org> lulf 2008-10-01 14:50:36 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum.h geom_vinum_drive.c geom_vinum_var.h Log: SVN rev 183514 on 2008-10-01 14:50:36Z by lulf - Make gvinum header on-disk structure consistent on all platforms by storing the gvinum header in fields of fixed size and in a big endian byte order rather than the size and byte order of the actual platform. Note that the change is backwards compatible with the old gvinum configuration format, but will save the configuration in the new format when the 'saveconfig' command is executed. Submitted by: Rick C. Petty Revision Changes Path 1.14 +2 -0 src/sys/geom/vinum/geom_vinum.h 1.30 +225 -5 src/sys/geom/vinum/geom_vinum_drive.c 1.12 +5 -3 src/sys/geom/vinum/geom_vinum_var.h From gallatin at FreeBSD.org Wed Oct 1 16:23:44 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Wed Oct 1 16:23:50 2008 Subject: cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Message-ID: <200810011623.m91GNhOJ092611@repoman.freebsd.org> gallatin 2008-10-01 16:23:35 UTC FreeBSD src repository Modified files: sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Log: SVN rev 183515 on 2008-10-01 16:23:35Z by gallatin Update to Myri10GE firmware version 1.4.33 from 1.4.29. Relevant changes include: - Support for Myricom 10G-PCIE-8B NICs - multi-slice firmware: fix a bug when the presence of 32-bit or 64-bit DMA addresses for interrupt queues and data is not uniform across slices. - Improves automatic selection between ethp_z8e/eth_z8e Sponsored by: Myricom Inc. Revision Changes Path 1.5 +7042 -13148 src/sys/dev/mxge/eth_z8e.h 1.5 +7080 -13233 src/sys/dev/mxge/ethp_z8e.h 1.10 +57 -9 src/sys/dev/mxge/mxge_mcp.h 1.3 +9212 -15096 src/sys/dev/mxge/rss_eth_z8e.h 1.3 +9264 -15177 src/sys/dev/mxge/rss_ethp_z8e.h From ed at FreeBSD.org Wed Oct 1 17:42:01 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Wed Oct 1 17:42:07 2008 Subject: cvs commit: src/sys/sys conf.h Message-ID: <200810011742.m91Hg005077823@repoman.freebsd.org> ed 2008-10-01 17:41:41 UTC FreeBSD src repository Modified files: sys/sys conf.h Log: SVN rev 183516 on 2008-10-01 17:41:41Z by ed Remove function prototypes of nonexistent TTY functions. It turns out I overlooked some function prototypes that were actually TTY related, but were stored in to implement the D_TTY flag. Remove these prototypes now that they don't exist anymore. Revision Changes Path 1.245 +0 -9 src/sys/sys/conf.h From brooks at FreeBSD.org Wed Oct 1 18:47:03 2008 From: brooks at FreeBSD.org (Brooks Davis) Date: Wed Oct 1 18:47:14 2008 Subject: cvs commit: src/etc network.subr Message-ID: <200810011847.m91Il2Pe010545@repoman.freebsd.org> brooks 2008-10-01 18:46:46 UTC FreeBSD src repository Modified files: etc network.subr Log: SVN rev 183517 on 2008-10-01 18:46:46Z by brooks Remove compat support for vaps_ and vap_create_ variables as promised in r178527. These variables were never in a release version. Reminded by: sam Revision Changes Path 1.191 +1 -7 src/etc/network.subr From jhb at FreeBSD.org Wed Oct 1 19:14:19 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Oct 1 19:14:30 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810011914.m91JEIkk076738@repoman.freebsd.org> jhb 2008-10-01 19:14:05 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 183518 on 2008-10-01 19:14:05Z by jhb Wait until after dropping the receive socket buffer lock to allocate space to store the socket address stored in the first mbuf in a packet chain. This reduces contention on the lock and CPU system time in certain UDP workloads. Tested by: ps Reviewed by: rwatson MFC after: 1 week Revision Changes Path 1.317 +13 -23 src/sys/kern/uipc_socket.c From jhb at FreeBSD.org Wed Oct 1 19:27:32 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Oct 1 19:27:38 2008 Subject: cvs commit: src/sys/conf options src/sys/kern vfs_lookup.c Message-ID: <200810011927.m91JRWp4060719@repoman.freebsd.org> jhb 2008-10-01 19:24:16 UTC FreeBSD src repository Modified files: sys/conf options sys/kern vfs_lookup.c Log: SVN rev 183519 on 2008-10-01 19:24:16Z by jhb Remove the LOOKUP_SHARED kernel option. Instead, make vfs.lookup_shared a loader tunable (it was already a sysctl). Revision Changes Path 1.642 +0 -3 src/sys/conf/options 1.112 +1 -5 src/sys/kern/vfs_lookup.c From jhb at FreeBSD.org Wed Oct 1 19:27:59 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Oct 1 19:28:10 2008 Subject: cvs commit: src/sys/kern vfs_lookup.c Message-ID: <200810011927.m91JRxdQ064232@repoman.freebsd.org> jhb 2008-10-01 19:25:37 UTC FreeBSD src repository Modified files: sys/kern vfs_lookup.c Log: SVN rev 183520 on 2008-10-01 19:25:37Z by jhb Enable shared locks for path name lookups on supported filesystems (NFS client, UFS, and ZFS) by default. Revision Changes Path 1.113 +1 -1 src/sys/kern/vfs_lookup.c From kmacy at FreeBSD.org Wed Oct 1 21:37:47 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Oct 1 21:37:53 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Message-ID: <200810012137.m91Lbl3O068173@repoman.freebsd.org> kmacy 2008-10-01 21:37:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb/ulp/tom cxgb_cpl_io.c Log: SVN rev 183521 on 2008-10-01 21:37:39Z by kmacy MFC 183163 fix two panics: 1. panic: rtalloc1_fib: bad fibnum 2. panic: Lock tcpinp not exclusively locked @ /usr/src/sys/netinet/in_pcb.c:1284 Submitted by: Chelsio Inc. Approved by: re Revision Changes Path 1.15.2.4 +4 -3 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c From kmacy at FreeBSD.org Wed Oct 1 21:44:51 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Oct 1 21:45:02 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_main.c Message-ID: <200810012144.m91LioLY008976@repoman.freebsd.org> kmacy 2008-10-01 21:44:39 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_main.c Log: SVN rev 183522 on 2008-10-01 21:44:39Z by kmacy fix optical PHY handling Submitted by: Chelsio Inc. Approved by: re Revision Changes Path 1.36.2.9 +6 -0 src/sys/dev/cxgb/cxgb_main.c From kmacy at FreeBSD.org Wed Oct 1 21:47:06 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Oct 1 21:47:18 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_multiq.c Message-ID: <200810012147.m91Ll6gH026303@repoman.freebsd.org> kmacy 2008-10-01 21:46:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_multiq.c Log: SVN rev 183523 on 2008-10-01 21:46:52Z by kmacy MFC 183285 - Track number of times that the transmit queue overflowed - Trivial whitespace cleanup Approved by: re Revision Changes Path 1.7.2.2 +3 -4 src/sys/dev/cxgb/cxgb_multiq.c From kmacy at FreeBSD.org Wed Oct 1 21:48:52 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Wed Oct 1 21:48:58 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_multiq.c Message-ID: <200810012148.m91Lmqpq033638@repoman.freebsd.org> kmacy 2008-10-01 21:48:42 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_multiq.c Log: SVN rev 183524 on 2008-10-01 21:48:42Z by kmacy MFC 183286 - Fix flag check - Fix adaptive thread sleep - set oactive when queue is full Approved by: re Revision Changes Path 1.7.2.3 +7 -3 src/sys/dev/cxgb/cxgb_multiq.c From jhb at FreeBSD.org Wed Oct 1 22:00:00 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Oct 1 22:00:11 2008 Subject: cvs commit: src/sys/amd64/include param.h src/sys/i386/include param.h Message-ID: <200810012159.m91Lxw0k094725@repoman.freebsd.org> jhb 2008-10-01 21:59:04 UTC FreeBSD src repository Modified files: sys/amd64/include param.h sys/i386/include param.h Log: SVN rev 183525 on 2008-10-01 21:59:04Z by jhb Bump MAXCPU to 32 now that 32 CPU x86 systems exist. Tested by: rwatson, mdtansca Approved by: peter Revision Changes Path 1.24 +1 -1 src/sys/amd64/include/param.h 1.84 +1 -1 src/sys/i386/include/param.h From jhb at FreeBSD.org Wed Oct 1 22:01:18 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Wed Oct 1 22:01:24 2008 Subject: cvs commit: src/usr.bin/top machine.c Message-ID: <200810012201.m91M1HVJ003551@repoman.freebsd.org> jhb 2008-10-01 22:01:07 UTC FreeBSD src repository Modified files: usr.bin/top machine.c Log: SVN rev 183526 on 2008-10-01 22:01:07Z by jhb Make the CPU column in top always be 2 characters and print in decimal rather than hex. Requested by: rwatson Revision Changes Path 1.91 +3 -3 src/usr.bin/top/machine.c From peter at FreeBSD.org Wed Oct 1 22:09:23 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Wed Oct 1 22:09:29 2008 Subject: cvs commit: src/sys/amd64/amd64 dump_machdep.c minidump_machdep.c src/sys/arm/arm dump_machdep.c src/sys/ddb db_textdump.c src/sys/i386/i386 dump_machdep.c minidump_machdep.c src/sys/ia64/ia64 dump_machdep.c src/sys/kern kern_shutdown.c ... Message-ID: <200810012209.m91M9NMF057117@repoman.freebsd.org> peter 2008-10-01 22:08:53 UTC FreeBSD src repository Modified files: sys/amd64/amd64 dump_machdep.c minidump_machdep.c sys/arm/arm dump_machdep.c sys/ddb db_textdump.c sys/i386/i386 dump_machdep.c minidump_machdep.c sys/ia64/ia64 dump_machdep.c sys/kern kern_shutdown.c sys/sparc64/sparc64 dump_machdep.c sys/sun4v/sun4v dump_machdep.c sys/sys kerneldump.h Log: SVN rev 183527 on 2008-10-01 22:08:53Z by peter Collect N identical (or near identical) mkdumpheader() implementations into one, as threatened in the comment. Textdump magic can be passed in. Revision Changes Path 1.16 +1 -22 src/sys/amd64/amd64/dump_machdep.c 1.8 +1 -22 src/sys/amd64/amd64/minidump_machdep.c 1.5 +1 -22 src/sys/arm/arm/dump_machdep.c 1.5 +2 -26 src/sys/ddb/db_textdump.c 1.16 +1 -22 src/sys/i386/i386/dump_machdep.c 1.7 +1 -22 src/sys/i386/i386/minidump_machdep.c 1.16 +1 -22 src/sys/ia64/ia64/dump_machdep.c 1.193 +22 -0 src/sys/kern/kern_shutdown.c 1.11 +1 -22 src/sys/sparc64/sparc64/dump_machdep.c 1.4 +1 -22 src/sys/sun4v/sun4v/dump_machdep.c 1.11 +5 -0 src/sys/sys/kerneldump.h From peter at FreeBSD.org Wed Oct 1 22:52:31 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Wed Oct 1 22:52:47 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200810012252.m91MqVXi021771@repoman.freebsd.org> peter 2008-10-01 22:52:20 UTC FreeBSD src repository Modified files: sys/conf newvers.sh Log: SVN rev 183528 on 2008-10-01 22:52:20Z by peter Reduce the impact of svnversion. Just scan the src/sys tree, not all of src. Revision Changes Path 1.77 +1 -1 src/sys/conf/newvers.sh From cperciva at FreeBSD.org Thu Oct 2 00:33:21 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Oct 2 00:33:33 2008 Subject: cvs commit: src/sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Message-ID: <200810020033.m920XLWe039854@repoman.freebsd.org> cperciva 2008-10-02 00:32:59 UTC FreeBSD src repository Modified files: sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Log: SVN rev 183529 on 2008-10-02 00:32:59Z by cperciva Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz Revision Changes Path 1.53 +3 -1 src/sys/netinet6/in6.h 1.51 +4 -0 src/sys/netinet6/in6_proto.c 1.24 +1 -0 src/sys/netinet6/nd6.h 1.53 +18 -0 src/sys/netinet6/nd6_nbr.c From cperciva at FreeBSD.org Thu Oct 2 00:42:19 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Oct 2 00:42:26 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Message-ID: <200810020042.m920gJOd090447@repoman.freebsd.org> cperciva 2008-10-02 00:32:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7_0) . UPDATING sys/conf newvers.sh sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Log: SVN rev 183529 on 2008-10-02 00:32:59Z by cperciva Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz Revision Changes Path 1.507.2.3.2.9 +4 -0 src/UPDATING 1.72.2.5.2.9 +1 -1 src/sys/conf/newvers.sh 1.51.4.1 +3 -1 src/sys/netinet6/in6.h 1.46.4.1 +4 -0 src/sys/netinet6/in6_proto.c 1.21.4.1 +1 -0 src/sys/netinet6/nd6.h 1.47.4.1 +18 -0 src/sys/netinet6/nd6_nbr.c From cperciva at FreeBSD.org Thu Oct 2 00:44:34 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Oct 2 00:44:46 2008 Subject: cvs commit: src/sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Message-ID: <200810020044.m920iY98006287@repoman.freebsd.org> cperciva 2008-10-02 00:32:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Log: SVN rev 183529 on 2008-10-02 00:32:59Z by cperciva Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz Revision Changes Path 1.36.2.10 +2 -1 src/sys/netinet6/in6.h 1.32.2.10 +4 -0 src/sys/netinet6/in6_proto.c 1.19.2.4 +1 -0 src/sys/netinet6/nd6.h 1.29.2.11 +18 -0 src/sys/netinet6/nd6_nbr.c From cperciva at FreeBSD.org Thu Oct 2 00:44:35 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Oct 2 00:44:57 2008 Subject: cvs commit: src/sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Message-ID: <200810020044.m920iZfk006430@repoman.freebsd.org> cperciva 2008-10-02 00:32:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Log: SVN rev 183529 on 2008-10-02 00:32:59Z by cperciva Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz Revision Changes Path 1.51.2.2 +3 -1 src/sys/netinet6/in6.h 1.46.2.3 +4 -0 src/sys/netinet6/in6_proto.c 1.21.2.2 +1 -0 src/sys/netinet6/nd6.h 1.47.2.3 +18 -0 src/sys/netinet6/nd6_nbr.c From cperciva at FreeBSD.org Thu Oct 2 00:52:04 2008 From: cperciva at FreeBSD.org (Colin Percival) Date: Thu Oct 2 00:52:10 2008 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Message-ID: <200810020052.m920q3nj061486@repoman.freebsd.org> cperciva 2008-10-02 00:32:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_3) . UPDATING sys/conf newvers.sh sys/netinet6 in6.h in6_proto.c nd6.h nd6_nbr.c Log: SVN rev 183529 on 2008-10-02 00:32:59Z by cperciva Default to ignoring potentially evil IPv6 Neighbor Solicitation messages. Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-08:10.nd6 Thanks to: jinmei, bz Revision Changes Path 1.416.2.37.2.10 +4 -0 src/UPDATING 1.69.2.15.2.9 +1 -1 src/sys/conf/newvers.sh 1.36.2.8.2.1 +2 -1 src/sys/netinet6/in6.h 1.32.2.8.2.1 +4 -0 src/sys/netinet6/in6_proto.c 1.19.2.2.6.1 +1 -0 src/sys/netinet6/nd6.h 1.29.2.9.2.1 +18 -0 src/sys/netinet6/nd6_nbr.c From yongari at FreeBSD.org Thu Oct 2 02:24:02 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Thu Oct 2 02:24:14 2008 Subject: cvs commit: src/share/man/man4 nfe.4 Message-ID: <200810020224.m922O220028827@repoman.freebsd.org> yongari 2008-10-02 02:23:59 UTC FreeBSD src repository Modified files: share/man/man4 nfe.4 Log: SVN rev 183530 on 2008-10-02 02:23:59Z by yongari Mention support for nForce MCP77 and MCP79. Touch Dd. Revision Changes Path 1.11 +7 -2 src/share/man/man4/nfe.4 From svn2cvs at FreeBSD.org Thu Oct 2 03:10:35 2008 From: svn2cvs at FreeBSD.org (Subversion Exporter) Date: Thu Oct 2 03:10:47 2008 Subject: cvs commit: src/usr.bin/make/PSD.doc stubs tutorial.ms Message-ID: <200810020310.m923AYgU036293@repoman.freebsd.org> svn2cvs 2008-10-02 03:10:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) usr.bin/make/PSD.doc stubs tutorial.ms Log: Testing svn2cvs exporter. Revision Changes Path 1.1.32.1 +0 -0 src/usr.bin/make/PSD.doc/stubs 1.13.30.1 +0 -0 src/usr.bin/make/PSD.doc/tutorial.ms From jkoshy at FreeBSD.org Thu Oct 2 05:36:56 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 05:38:17 2008 Subject: cvs commit: src/lib/libpmc pmc.p5.3 Message-ID: <200810020536.m925atpx030801@repoman.freebsd.org> jkoshy 2008-10-02 04:46:00 UTC FreeBSD src repository Modified files: lib/libpmc pmc.p5.3 Log: SVN rev 183533 on 2008-10-02 04:46:00Z by jkoshy Document event numbers alongside event names. Requested by: Arun Sharma Revision Changes Path 1.3 +78 -39 src/lib/libpmc/pmc.p5.3 From jkoshy at FreeBSD.org Thu Oct 2 06:15:49 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 06:16:02 2008 Subject: cvs commit: src/lib/libpmc pmc.p6.3 Message-ID: <200810020615.m926Flu3035017@repoman.freebsd.org> jkoshy 2008-10-02 06:15:40 UTC FreeBSD src repository Modified files: lib/libpmc pmc.p6.3 Log: SVN rev 183534 on 2008-10-02 06:15:40Z by jkoshy - Document event numbers. - Correct misspellings of two event names. Revision Changes Path 1.3 +108 -39 src/lib/libpmc/pmc.p6.3 From jkoshy at FreeBSD.org Thu Oct 2 06:18:18 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 06:18:29 2008 Subject: cvs commit: src/sys/dev/hwpmc pmc_events.h Message-ID: <200810020618.m926II0o035203@repoman.freebsd.org> jkoshy 2008-10-02 06:18:09 UTC FreeBSD src repository Modified files: sys/dev/hwpmc pmc_events.h Log: SVN rev 183535 on 2008-10-02 06:18:09Z by jkoshy Correct misspellings. Revision Changes Path 1.3 +2 -2 src/sys/dev/hwpmc/pmc_events.h From edwin at FreeBSD.org Thu Oct 2 06:18:49 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Thu Oct 2 06:18:56 2008 Subject: cvs commit: src/share/zoneinfo southamerica Message-ID: <200810020618.m926Inw5035261@repoman.freebsd.org> edwin 2008-10-02 06:18:36 UTC FreeBSD src repository Modified files: share/zoneinfo southamerica Log: SVN rev 183536 on 2008-10-02 06:18:36Z by edwin Apply upcoming fix for 2008g release. Revision Changes Path 1.38 +27 -6 src/share/zoneinfo/southamerica From jkoshy at FreeBSD.org Thu Oct 2 06:21:20 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 06:21:32 2008 Subject: cvs commit: src/lib/libpmc pmc.p5.3 Message-ID: <200810020621.m926LKad035541@repoman.freebsd.org> jkoshy 2008-10-02 06:21:07 UTC FreeBSD src repository Modified files: lib/libpmc pmc.p5.3 Log: SVN rev 183537 on 2008-10-02 06:21:07Z by jkoshy -mdoc tweaks. Revision Changes Path 1.4 +35 -35 src/lib/libpmc/pmc.p5.3 From kensmith at FreeBSD.org Thu Oct 2 06:26:06 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Thu Oct 2 06:26:18 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200810020626.m926Q6qr035919@repoman.freebsd.org> kensmith 2008-10-02 06:25:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) sys/conf newvers.sh Log: SVN rev 183538 on 2008-10-02 06:25:54Z by kensmith Get ready for the 6.4-RC1 builds. Approved by: re (implicit) Revision Changes Path 1.69.2.18.2.2 +1 -1 src/sys/conf/newvers.sh From imp at FreeBSD.org Thu Oct 2 06:29:53 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Oct 2 06:30:05 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb_pci.c Message-ID: <200810020629.m926TqZq036159@repoman.freebsd.org> imp 2008-10-02 06:29:45 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb_pci.c Log: SVN rev 183539 on 2008-10-02 06:29:45Z by imp Don't forget to match on a CLASS of PCIC_BRIDGE as well as subclass PCIS_BRIDGE_CARDBUS. Otherwise, we may hit a few false positives.... Revision Changes Path 1.28 +4 -1 src/sys/dev/pccbb/pccbb_pci.c From jkoshy at FreeBSD.org Thu Oct 2 06:37:38 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 06:37:57 2008 Subject: cvs commit: src/lib/libpmc pmc.k7.3 Message-ID: <200810020637.m926bcwp036848@repoman.freebsd.org> jkoshy 2008-10-02 06:37:33 UTC FreeBSD src repository Modified files: lib/libpmc pmc.k7.3 Log: SVN rev 183540 on 2008-10-02 06:37:33Z by jkoshy - Document event numbers. - Sort event names. Revision Changes Path 1.2 +49 -26 src/lib/libpmc/pmc.k7.3 From imp at FreeBSD.org Thu Oct 2 07:00:41 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Oct 2 07:00:47 2008 Subject: cvs commit: src/sys/dev/mmc mmcsd.c Message-ID: <200810020700.m9270dt5038564@repoman.freebsd.org> imp 2008-10-02 07:00:31 UTC FreeBSD src repository Modified files: sys/dev/mmc mmcsd.c Log: SVN rev 183541 on 2008-10-02 07:00:31Z by imp MAXPHYS seems more stable on the AT91RM9200 boards that I have. We may need to ask the host controller for the right number to use here... Revision Changes Path 1.8 +1 -1 src/sys/dev/mmc/mmcsd.c From imp at FreeBSD.org Thu Oct 2 07:07:10 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Oct 2 07:07:26 2008 Subject: cvs commit: src/sys/dev/mmc mmc.c mmcreg.h mmcsd.c mmcvar.h Message-ID: <200810020707.m9277Aiw040292@repoman.freebsd.org> imp 2008-10-02 07:06:59 UTC FreeBSD src repository Modified files: sys/dev/mmc mmc.c mmcreg.h mmcsd.c mmcvar.h Log: SVN rev 183542 on 2008-10-02 07:06:59Z by imp Define and use MMC_SECTOR_SIZE. Make mmc_get_media_size now return an off_t and remove now useless cast. Revision Changes Path 1.16 +2 -2 src/sys/dev/mmc/mmc.c 1.5 +8 -0 src/sys/dev/mmc/mmcreg.h 1.9 +1 -1 src/sys/dev/mmc/mmcsd.c 1.5 +1 -1 src/sys/dev/mmc/mmcvar.h From jkoshy at FreeBSD.org Thu Oct 2 08:53:12 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Thu Oct 2 08:53:19 2008 Subject: cvs commit: src/lib/libpmc pmc.k8.3 Message-ID: <200810020853.m928rCkD060022@repoman.freebsd.org> jkoshy 2008-10-02 08:53:06 UTC FreeBSD src repository Modified files: lib/libpmc pmc.k8.3 Log: SVN rev 183543 on 2008-10-02 08:53:06Z by jkoshy - Document event numbers associated with event names. - Document an event that was missed out earlier. - Sort event names alphabetically. Revision Changes Path 1.3 +148 -55 src/lib/libpmc/pmc.k8.3 From rwatson at FreeBSD.org Thu Oct 2 09:12:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Oct 2 09:13:05 2008 Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h Message-ID: <200810020912.m929CwtV062859@repoman.freebsd.org> rwatson 2008-10-02 09:12:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/netinet in_pcb.c in_pcb.h Log: SVN rev 183544 on 2008-10-02 09:12:52Z by rwatson Merge r183460 and r183461 from head to stable/7: Fix typo in comment. Expand comments relating various detach/free/drop inpcb routines. Approved by: re (kib) Revision Changes Path 1.196.2.14 +31 -9 src/sys/netinet/in_pcb.c 1.100.2.9 +2 -2 src/sys/netinet/in_pcb.h From lulf at FreeBSD.org Thu Oct 2 09:36:00 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Oct 2 09:36:07 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_drive.c Message-ID: <200810020935.m929ZxtK064672@repoman.freebsd.org> lulf 2008-10-02 09:35:47 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum_drive.c Log: SVN rev 183545 on 2008-10-02 09:35:47Z by lulf - Remove unneeded macro since the config_length field in the header was changed to 64 bit in the new format. Revision Changes Path 1.31 +0 -5 src/sys/geom/vinum/geom_vinum_drive.c From lulf at FreeBSD.org Thu Oct 2 10:01:15 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Thu Oct 2 10:01:22 2008 Subject: cvs commit: src/sys/geom/vinum geom_vinum_rm.c Message-ID: <200810021001.m92A1FOp067942@repoman.freebsd.org> lulf 2008-10-02 10:01:05 UTC FreeBSD src repository Modified files: sys/geom/vinum geom_vinum_rm.c Log: SVN rev 183546 on 2008-10-02 10:01:05Z by lulf - Use the new gv_write_header function to write out the header when removing a drive to make sure that the header is in the correct format. Revision Changes Path 1.14 +1 -1 src/sys/geom/vinum/geom_vinum_rm.c From ed at 80386.nl Thu Oct 2 12:25:12 2008 From: ed at 80386.nl (Ed Schouten) Date: Thu Oct 2 12:25:23 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <200809291627.m8TGRaat081340@repoman.freebsd.org> References: <200809291627.m8TGRaat081340@repoman.freebsd.org> Message-ID: <20081002122511.GW16837@hoeg.nl> Hello Sam, * Sam Leffler wrote: > sam 2008-09-29 16:27:32 UTC > > FreeBSD src repository > > Modified files: > sbin/ifconfig ifconfig.c > Log: > SVN rev 183466 on 2008-09-29 16:27:32Z by sam > > Distinguish between cmd/parameters used for clone operations and > all others. Use this to disambiguate cmd line arguments that can > be either clone params or regular parameters so, in particular, > "bssid" again works as a regular parameter. > > While here leverage the above to improve the logic for flushing > clone operations on the first !clone cmd line parameter. > > Reviewed by: jhay Is it possible that this commit broke `ifconfig foo vlan bar vlandev baz'? I just had to revert to an ifconfig, probably from September 22, to make my system work properly again. -- Ed Schouten WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081002/bd704463/attachment.pgp From gnn at FreeBSD.org Thu Oct 2 13:50:19 2008 From: gnn at FreeBSD.org (George V. Neville-Neil) Date: Thu Oct 2 13:50:30 2008 Subject: cvs commit: CVSROOT access Message-ID: <200810021350.m92DoJhF099806@repoman.freebsd.org> gnn 2008-10-02 13:50:03 UTC FreeBSD src repository Modified files: . access Log: SVN rev 183547 on 2008-10-02 13:50:03Z by gnn Add Lawrence Stewart as a new committer with Kip Macy and gnn as co-mentors. Approved by: core Revision Changes Path 1.897 +1 -0 CVSROOT/access From bms at FreeBSD.org Thu Oct 2 14:27:07 2008 From: bms at FreeBSD.org (Bruce M Simpson) Date: Thu Oct 2 14:27:12 2008 Subject: cvs commit: src/usr.sbin/bsnmpd/modules Makefile Message-ID: <200810021427.m92ER6Qv013772@repoman.freebsd.org> bms 2008-10-02 14:26:56 UTC FreeBSD src repository Modified files: usr.sbin/bsnmpd/modules Makefile Log: SVN rev 183548 on 2008-10-02 14:26:56Z by bms Only build the bsnmpd netgraph module if MK_NETGRAPH_SUPPORT is set. Revision Changes Path 1.16 +4 -1 src/usr.sbin/bsnmpd/modules/Makefile From bms at FreeBSD.org Thu Oct 2 14:45:38 2008 From: bms at FreeBSD.org (Bruce M Simpson) Date: Thu Oct 2 14:45:49 2008 Subject: cvs commit: src/sys/conf kmod.mk Message-ID: <200810021445.m92EjbaB025049@repoman.freebsd.org> bms 2008-10-02 14:45:29 UTC FreeBSD src repository Modified files: sys/conf kmod.mk Log: SVN rev 183549 on 2008-10-02 14:45:29Z by bms Allow clock_if.m to be referenced by kernel modules, this is useful for testing that RTC drivers compile, though they generally aren't set up for unload. Revision Changes Path 1.223 +2 -1 src/sys/conf/kmod.mk From zec at FreeBSD.org Thu Oct 2 15:39:32 2008 From: zec at FreeBSD.org (Marko Zec) Date: Thu Oct 2 15:39:44 2008 Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_ioctl.c linux_misc.c linux_socket.c src/sys/compat/svr4 svr4_sockio.c src/sys/contrib/ipfilter/netinet ip_auth.c src/sys/contrib/pf/net pf.c pf_if.c pf_ioctl.c pf_subr.c pfvar.h ... Message-ID: <200810021539.m92FdWdD053089@repoman.freebsd.org> zec 2008-10-02 15:37:58 UTC FreeBSD src repository Modified files: sys/compat/linprocfs linprocfs.c sys/compat/linux linux_ioctl.c linux_misc.c linux_socket.c sys/compat/svr4 svr4_sockio.c sys/contrib/ipfilter/netinet ip_auth.c sys/contrib/pf/net pf.c pf_if.c pf_ioctl.c pf_subr.c pfvar.h sys/contrib/rdma rdma_cma.c sys/dev/cxgb/ulp/iw_cxgb iw_cxgb.c sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/dev/firewire firewire.c sys/fs/cd9660 cd9660_rrip.c sys/kern kern_jail.c kern_mib.c kern_uuid.c kern_xxx.c sys/net bridgestp.c if.c if_bridge.c if_ef.c if_ethersubr.c if_faith.c if_gif.c if_gif.h if_gre.c if_loop.c if_mib.c if_spppsubr.c if_stf.c if_tun.c if_var.h if_vlan.c raw_cb.c raw_usrreq.c route.c rtsock.c sys/net80211 ieee80211_ddb.c sys/netgraph netgraph.h ng_base.c ng_eiface.c ng_gif.c ng_iface.c sys/netgraph/atm ng_atm.c sys/netinet if_ether.c igmp.c in.c in.h in_gif.c in_mcast.c in_pcb.c in_rmx.c ip6.h ip_carp.c ip_divert.c ip_fastfwd.c ip_fw.h ip_fw2.c ip_fw_nat.c ip_icmp.c ip_input.c ip_ipsec.c ip_mroute.c ip_options.c ip_output.c raw_ip.c tcp_hostcache.c tcp_input.c tcp_offload.c tcp_output.c tcp_reass.c tcp_sack.c tcp_subr.c tcp_syncache.c tcp_timer.c tcp_timewait.c tcp_usrreq.c udp_usrreq.c sys/netinet6 dest6.c frag6.c icmp6.c in6.c in6_gif.c in6_ifattach.c in6_pcb.c in6_proto.c in6_rmx.c in6_src.c ip6_forward.c ip6_input.c ip6_ipsec.c ip6_mroute.c ip6_output.c mld6.c nd6.c nd6_nbr.c nd6_rtr.c raw_ip6.c route6.c scope6.c udp6_usrreq.c sys/netipsec ipsec.c ipsec.h ipsec_input.c ipsec_mbuf.c ipsec_output.c key.c keysock.c xform_ah.c xform_esp.c xform_ipcomp.c xform_ipip.c sys/nfsclient nfs_diskless.c nfs_vfsops.c nfs_vnops.c sys/rpc authunix_prot.c sys/sys sysctl.h vimage.h Added files: sys/net vnet.h sys/netinet vinet.h sys/netinet6 vinet6.h sys/netipsec vipsec.h Log: SVN rev 183550 on 2008-10-02 15:37:58Z by zec Step 1.5 of importing the network stack virtualization infrastructure from the vimage project, as per plan established at devsummit 08/08: http://wiki.freebsd.org/Image/Notes200808DevSummit Introduce INIT_VNET_*() initializer macros, VNET_FOREACH() iterator macros, and CURVNET_SET() context setting macros, all currently resolving to NOPs. Prepare for virtualization of selected SYSCTL objects by introducing a family of SYSCTL_V_*() macros, currently resolving to their global counterparts, i.e. SYSCTL_V_INT() == SYSCTL_INT(). Move selected #defines from sys/sys/vimage.h to newly introduced header files specific to virtualized subsystems (sys/net/vnet.h, sys/netinet/vinet.h etc.). All the changes are verified to have zero functional impact at this point in time by doing MD5 comparision between pre- and post-change object files(*). (*) netipsec/keysock.c did not validate depending on compile time options. Implemented by: julian, bz, brooks, zec Reviewed by: julian, bz, brooks, kris, rwatson, ... Approved by: julian (mentor) Obtained from: //depot/projects/vimage-commit2/... X-MFC after: never Sponsored by: NLnet Foundation, The FreeBSD Foundation Revision Changes Path 1.124 +1 -0 src/sys/compat/linprocfs/linprocfs.c 1.144 +3 -0 src/sys/compat/linux/linux_ioctl.c 1.228 +1 -0 src/sys/compat/linux/linux_misc.c 1.77 +3 -0 src/sys/compat/linux/linux_socket.c 1.21 +1 -0 src/sys/compat/svr4/svr4_sockio.c 1.48 +5 -0 src/sys/contrib/ipfilter/netinet/ip_auth.c 1.57 +18 -0 src/sys/contrib/pf/net/pf.c 1.17 +2 -0 src/sys/contrib/pf/net/pf_if.c 1.37 +2 -0 src/sys/contrib/pf/net/pf_ioctl.c 1.6 +1 -0 src/sys/contrib/pf/net/pf_subr.c 1.18 +7 -0 src/sys/contrib/pf/net/pfvar.h 1.3 +4 -0 src/sys/contrib/rdma/rdma_cma.c 1.5 +9 -2 src/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb.c 1.25 +4 -0 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.104 +1 -1 src/sys/dev/firewire/firewire.c 1.33 +2 -0 src/sys/fs/cd9660/cd9660_rrip.c 1.82 +1 -0 src/sys/kern/kern_jail.c 1.92 +7 -2 src/sys/kern/kern_mib.c 1.15 +1 -0 src/sys/kern/kern_uuid.c 1.53 +3 -1 src/sys/kern/kern_xxx.c 1.42 +1 -0 src/sys/net/bridgestp.c 1.288 +41 -5 src/sys/net/if.c 1.118 +5 -0 src/sys/net/if_bridge.c 1.42 +30 -22 src/sys/net/if_ef.c 1.249 +5 -2 src/sys/net/if_ethersubr.c 1.44 +1 -0 src/sys/net/if_faith.c 1.71 +15 -4 src/sys/net/if_gif.c 1.21 +24 -0 src/sys/net/if_gif.h 1.52 +3 -0 src/sys/net/if_gre.c 1.120 +2 -0 src/sys/net/if_loop.c 1.21 +5 -2 src/sys/net/if_mib.c 1.130 +1 -0 src/sys/net/if_spppsubr.c 1.65 +2 -0 src/sys/net/if_stf.c 1.168 +9 -0 src/sys/net/if_tun.c 1.122 +2 -0 src/sys/net/if_var.h 1.129 +4 -0 src/sys/net/if_vlan.c 1.41 +2 -0 src/sys/net/raw_cb.c 1.48 +3 -0 src/sys/net/raw_usrreq.c 1.140 +7 -0 src/sys/net/route.c 1.150 +5 -0 src/sys/net/rtsock.c 1.1 +93 -0 src/sys/net/vnet.h (new) 1.14 +20 -15 src/sys/net80211/ieee80211_ddb.c 1.17 +21 -6 src/sys/netgraph/atm/ng_atm.c 1.76 +19 -0 src/sys/netgraph/netgraph.h 1.165 +5 -1 src/sys/netgraph/ng_base.c 1.41 +8 -0 src/sys/netgraph/ng_eiface.c 1.21 +11 -3 src/sys/netgraph/ng_gif.c 1.52 +8 -0 src/sys/netgraph/ng_iface.c 1.179 +14 -7 src/sys/netinet/if_ether.c 1.58 +38 -17 src/sys/netinet/igmp.c 1.106 +13 -4 src/sys/netinet/in.c 1.103 +4 -0 src/sys/netinet/in.h 1.41 +5 -3 src/sys/netinet/in_gif.c 1.7 +11 -0 src/sys/netinet/in_mcast.c 1.219 +52 -30 src/sys/netinet/in_pcb.c 1.62 +30 -16 src/sys/netinet/in_rmx.c 1.17 +3 -0 src/sys/netinet/ip6.h 1.57 +3 -0 src/sys/netinet/ip_carp.c 1.136 +10 -0 src/sys/netinet/ip_divert.c 1.44 +4 -2 src/sys/netinet/ip_fastfwd.c 1.118 +81 -0 src/sys/netinet/ip_fw.h 1.196 +57 -35 src/sys/netinet/ip_fw2.c 1.5 +8 -0 src/sys/netinet/ip_fw_nat.c 1.126 +45 -37 src/sys/netinet/ip_icmp.c 1.344 +87 -49 src/sys/netinet/ip_input.c 1.12 +3 -0 src/sys/netinet/ip_ipsec.c 1.142 +15 -0 src/sys/netinet/ip_mroute.c 1.13 +1 -0 src/sys/netinet/ip_options.c 1.287 +3 -0 src/sys/netinet/ip_output.c 1.194 +15 -0 src/sys/netinet/raw_ip.c 1.23 +35 -20 src/sys/netinet/tcp_hostcache.c 1.384 +40 -24 src/sys/netinet/tcp_input.c 1.7 +3 -0 src/sys/netinet/tcp_offload.c 1.156 +23 -16 src/sys/netinet/tcp_output.c 1.356 +11 -8 src/sys/netinet/tcp_reass.c 1.43 +10 -8 src/sys/netinet/tcp_sack.c 1.317 +70 -25 src/sys/netinet/tcp_subr.c 1.157 +41 -16 src/sys/netinet/tcp_syncache.c 1.104 +38 -4 src/sys/netinet/tcp_timer.c 1.291 +14 -0 src/sys/netinet/tcp_timewait.c 1.173 +26 -0 src/sys/netinet/tcp_usrreq.c 1.238 +18 -2 src/sys/netinet/udp_usrreq.c 1.1 +331 -0 src/sys/netinet/vinet.h (new) 1.14 +1 -0 src/sys/netinet6/dest6.c 1.38 +43 -23 src/sys/netinet6/frag6.c 1.92 +19 -0 src/sys/netinet6/icmp6.c 1.84 +10 -0 src/sys/netinet6/in6.c 1.33 +2 -0 src/sys/netinet6/in6_gif.c 1.47 +12 -0 src/sys/netinet6/in6_ifattach.c 1.96 +3 -0 src/sys/netinet6/in6_pcb.c 1.52 +81 -78 src/sys/netinet6/in6_proto.c 1.26 +12 -0 src/sys/netinet6/in6_rmx.c 1.56 +12 -0 src/sys/netinet6/in6_src.c 1.44 +2 -0 src/sys/netinet6/ip6_forward.c 1.104 +7 -0 src/sys/netinet6/ip6_input.c 1.13 +3 -0 src/sys/netinet6/ip6_ipsec.c 1.50 +10 -0 src/sys/netinet6/ip6_mroute.c 1.121 +7 -0 src/sys/netinet6/ip6_output.c 1.37 +3 -0 src/sys/netinet6/mld6.c 1.92 +30 -4 src/sys/netinet6/nd6.c 1.54 +12 -0 src/sys/netinet6/nd6_nbr.c 1.43 +19 -1 src/sys/netinet6/nd6_rtr.c 1.86 +16 -0 src/sys/netinet6/raw_ip6.c 1.17 +2 -0 src/sys/netinet6/route6.c 1.20 +9 -0 src/sys/netinet6/scope6.c 1.95 +17 -0 src/sys/netinet6/udp6_usrreq.c 1.1 +259 -0 src/sys/netinet6/vinet6.h (new) 1.32 +86 -52 src/sys/netipsec/ipsec.c 1.19 +4 -1 src/sys/netipsec/ipsec.h 1.24 +5 -0 src/sys/netipsec/ipsec_input.c 1.15 +3 -0 src/sys/netipsec/ipsec_mbuf.c 1.22 +7 -0 src/sys/netipsec/ipsec_output.c 1.36 +101 -28 src/sys/netipsec/key.c 1.23 +12 -0 src/sys/netipsec/keysock.c 1.1 +188 -0 src/sys/netipsec/vipsec.h (new) 1.18 +13 -6 src/sys/netipsec/xform_ah.c 1.23 +10 -4 src/sys/netipsec/xform_esp.c 1.14 +9 -4 src/sys/netipsec/xform_ipcomp.c 1.19 +10 -4 src/sys/netipsec/xform_ipip.c 1.22 +2 -1 src/sys/nfsclient/nfs_diskless.c 1.215 +1 -0 src/sys/nfsclient/nfs_vfsops.c 1.291 +3 -0 src/sys/nfsclient/nfs_vnops.c 1.6 +1 -0 src/sys/rpc/authunix_prot.c 1.162 +69 -0 src/sys/sys/sysctl.h 1.5 +29 -312 src/sys/sys/vimage.h From jhay at meraka.org.za Thu Oct 2 16:10:53 2008 From: jhay at meraka.org.za (John Hay) Date: Thu Oct 2 16:11:05 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <20081002122511.GW16837@hoeg.nl> References: <200809291627.m8TGRaat081340@repoman.freebsd.org> <20081002122511.GW16837@hoeg.nl> Message-ID: <20081002161046.GA5678@zibbi.meraka.csir.co.za> On Thu, Oct 02, 2008 at 02:25:11PM +0200, Ed Schouten wrote: > Hello Sam, > > * Sam Leffler wrote: > > sam 2008-09-29 16:27:32 UTC > > > > FreeBSD src repository > > > > Modified files: > > sbin/ifconfig ifconfig.c > > Log: > > SVN rev 183466 on 2008-09-29 16:27:32Z by sam > > > > Distinguish between cmd/parameters used for clone operations and > > all others. Use this to disambiguate cmd line arguments that can > > be either clone params or regular parameters so, in particular, > > "bssid" again works as a regular parameter. > > > > While here leverage the above to improve the logic for flushing > > clone operations on the first !clone cmd line parameter. > > > > Reviewed by: jhay > > Is it possible that this commit broke `ifconfig foo vlan bar vlandev baz'? > I just had to revert to an ifconfig, probably from September 22, to make > my system work properly again. And if you try with "ifconfig foo create vlan bar vlandev baz"? I have only tried it with the create keyword added and the clone stuff in /etc/network.subr also use it like that, if I read the code correctly. I think if it previously worked, it was by accident. :-/ If we need it to work, maybe one can test for vlan in main() whith the test for create or plumb? John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org From sam at freebsd.org Thu Oct 2 16:15:16 2008 From: sam at freebsd.org (Sam Leffler) Date: Thu Oct 2 16:15:23 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <20081002161046.GA5678@zibbi.meraka.csir.co.za> References: <200809291627.m8TGRaat081340@repoman.freebsd.org> <20081002122511.GW16837@hoeg.nl> <20081002161046.GA5678@zibbi.meraka.csir.co.za> Message-ID: <48E4F380.20408@freebsd.org> John Hay wrote: > On Thu, Oct 02, 2008 at 02:25:11PM +0200, Ed Schouten wrote: > >> Hello Sam, >> >> * Sam Leffler wrote: >> >>> sam 2008-09-29 16:27:32 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sbin/ifconfig ifconfig.c >>> Log: >>> SVN rev 183466 on 2008-09-29 16:27:32Z by sam >>> >>> Distinguish between cmd/parameters used for clone operations and >>> all others. Use this to disambiguate cmd line arguments that can >>> be either clone params or regular parameters so, in particular, >>> "bssid" again works as a regular parameter. >>> >>> While here leverage the above to improve the logic for flushing >>> clone operations on the first !clone cmd line parameter. >>> >>> Reviewed by: jhay >>> >> Is it possible that this commit broke `ifconfig foo vlan bar vlandev baz'? >> I just had to revert to an ifconfig, probably from September 22, to make >> my system work properly again. >> > > And if you try with "ifconfig foo create vlan bar vlandev baz"? I have > only tried it with the create keyword added and the clone stuff in > /etc/network.subr also use it like that, if I read the code correctly. > I think if it previously worked, it was by accident. :-/ If we need > it to work, maybe one can test for vlan in main() whith the test for > create or plumb? > > > Ah, I see now, the cmd that didn't work was using the parameters w/o a clone operation. It should work but is likely broke; will look at it. Sam From sam at freebsd.org Thu Oct 2 16:24:32 2008 From: sam at freebsd.org (Sam Leffler) Date: Thu Oct 2 16:24:38 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <20081002122511.GW16837@hoeg.nl> References: <200809291627.m8TGRaat081340@repoman.freebsd.org> <20081002122511.GW16837@hoeg.nl> Message-ID: <48E4F5AE.9050202@freebsd.org> Ed Schouten wrote: > Hello Sam, > > * Sam Leffler wrote: > >> sam 2008-09-29 16:27:32 UTC >> >> FreeBSD src repository >> >> Modified files: >> sbin/ifconfig ifconfig.c >> Log: >> SVN rev 183466 on 2008-09-29 16:27:32Z by sam >> >> Distinguish between cmd/parameters used for clone operations and >> all others. Use this to disambiguate cmd line arguments that can >> be either clone params or regular parameters so, in particular, >> "bssid" again works as a regular parameter. >> >> While here leverage the above to improve the logic for flushing >> clone operations on the first !clone cmd line parameter. >> >> Reviewed by: jhay >> > > Is it possible that this commit broke `ifconfig foo vlan bar vlandev baz'? > I just had to revert to an ifconfig, probably from September 22, to make > my system work properly again. > > Try the attached patch. It's probably better to split the callback routines into clone+!clone variants but for now this should fix your usage. I'd actually like to see vlan state be fixed for the life of the ifnet and do away with this usage but that wasn't the intent here. Sam -------------- next part -------------- Index: ifvlan.c =================================================================== --- ifvlan.c (revision 183550) +++ ifvlan.c (working copy) @@ -174,6 +174,9 @@ static struct cmd vlan_cmds[] = { DEF_CLONE_CMD_ARG("vlan", setvlantag), DEF_CLONE_CMD_ARG("vlandev", setvlandev), + /* NB: non-clone cmds */ + DEF_CMD_ARG("vlan", setvlantag), + DEF_CMD_ARG("vlandev", setvlandev), /* XXX For compatibility. Should become DEF_CMD() some day. */ DEF_CMD_OPTARG("-vlandev", unsetvlandev), DEF_CMD("vlanmtu", IFCAP_VLAN_MTU, setifcap), From rwatson at FreeBSD.org Thu Oct 2 18:12:51 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Thu Oct 2 18:12:57 2008 Subject: cvs commit: src/sys/sys protosw.h Message-ID: <200810021812.m92ICpLt078466@repoman.freebsd.org> rwatson 2008-10-02 18:12:42 UTC FreeBSD src repository Modified files: sys/sys protosw.h Log: SVN rev 183551 on 2008-10-02 18:12:42Z by rwatson Remove __Break_the_struct_layout_for_now field from struct pr_usrreqs, added in FreeBSD 6.x to break the binary layout of the data structure during a conversion to C99 sparse structure initialization. Probably should have been removed before 7.0, but 8.0 will do. Revision Changes Path 1.59 +0 -1 src/sys/sys/protosw.h From ed at 80386.nl Thu Oct 2 18:24:47 2008 From: ed at 80386.nl (Ed Schouten) Date: Thu Oct 2 18:24:58 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.c In-Reply-To: <48E4F5AE.9050202@freebsd.org> References: <200809291627.m8TGRaat081340@repoman.freebsd.org> <20081002122511.GW16837@hoeg.nl> <48E4F5AE.9050202@freebsd.org> Message-ID: <20081002182446.GX16837@hoeg.nl> * Sam Leffler wrote: > Try the attached patch. It's probably better to split the callback > routines into clone+!clone variants but for now this should fix your > usage. I'd actually like to see vlan state be fixed for the life of the > ifnet and do away with this usage but that wasn't the intent here. This patch works for me. Maybe it's better to already commit this to keep it working for now? -- Ed Schouten WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081002/9397c90f/attachment.pgp From jhb at freebsd.org Thu Oct 2 18:30:34 2008 From: jhb at freebsd.org (John Baldwin) Date: Thu Oct 2 18:30:46 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb_pci.c In-Reply-To: <200810020629.m926TqZq036159@repoman.freebsd.org> References: <200810020629.m926TqZq036159@repoman.freebsd.org> Message-ID: <200810021305.47479.jhb@freebsd.org> On Thursday 02 October 2008 02:29:45 am Warner Losh wrote: > imp 2008-10-02 06:29:45 UTC > > FreeBSD src repository > > Modified files: > sys/dev/pccbb pccbb_pci.c > Log: > SVN rev 183539 on 2008-10-02 06:29:45Z by imp > > Don't forget to match on a CLASS of PCIC_BRIDGE as well as subclass > PCIS_BRIDGE_CARDBUS. Otherwise, we may hit a few false positives.... Shouldn't it use BUS_GENERIC_PROBE instead of BUS_DEFAULT_PROBE when matching purely on the class codes? -- John Baldwin From sos at FreeBSD.org Thu Oct 2 19:18:38 2008 From: sos at FreeBSD.org (Søren Schmidt) Date: Thu Oct 2 19:18:50 2008 Subject: cvs commit: src/sys/dev/ata ata-chipset.c ata-pci.h Message-ID: <200810021918.m92JIcUA089747@repoman.freebsd.org> sos 2008-10-02 19:18:28 UTC FreeBSD src repository Modified files: sys/dev/ata ata-chipset.c ata-pci.h Log: SVN rev 183552 on 2008-10-02 19:18:28Z by sos Add ICH10 PCI id's. Submitted by: Xin Li Fix the number of PATA ports on newer ICHX chips, they have just 1 port not 2. Revision Changes Path 1.229 +61 -53 src/sys/dev/ata/ata-chipset.c 1.93 +8 -0 src/sys/dev/ata/ata-pci.h From jhb at FreeBSD.org Thu Oct 2 19:41:31 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Oct 2 19:41:37 2008 Subject: cvs commit: src/lib/libc/sys cpuset.2 cpuset_getaffinity.2 src/usr.bin/cpuset cpuset.1 Message-ID: <200810021941.m92JfUDb005554@repoman.freebsd.org> jhb 2008-10-02 19:32:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/sys cpuset.2 cpuset_getaffinity.2 usr.bin/cpuset cpuset.1 Log: SVN rev 183553 on 2008-10-02 19:32:20Z by jhb MFC: Note that support for CPU sets will first appear in 7.1. Approved by: re (kib) Revision Changes Path 1.2.2.2 +1 -1 src/lib/libc/sys/cpuset.2 1.2.2.2 +1 -1 src/lib/libc/sys/cpuset_getaffinity.2 1.3.2.2 +1 -1 src/usr.bin/cpuset/cpuset.1 From sam at FreeBSD.org Thu Oct 2 20:03:54 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Thu Oct 2 20:04:00 2008 Subject: cvs commit: src/sbin/ifconfig ifvlan.c Message-ID: <200810022003.m92K3rna023990@repoman.freebsd.org> sam 2008-10-02 20:03:41 UTC FreeBSD src repository Modified files: sbin/ifconfig ifvlan.c Log: SVN rev 183554 on 2008-10-02 20:03:41Z by sam add duplicate cmd entries for vlan and vlandev that are marked !clone so they can be used when not doing a create operation Reviewed by: ed Revision Changes Path 1.15 +3 -0 src/sbin/ifconfig/ifvlan.c From rnoland at FreeBSD.org Thu Oct 2 20:30:05 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Thu Oct 2 20:34:04 2008 Subject: cvs commit: src/sys/dev/agp agp_i810.c agpreg.h Message-ID: <200810022029.m92KTsm9048031@repoman.freebsd.org> rnoland 2008-10-02 20:29:45 UTC FreeBSD src repository Modified files: sys/dev/agp agp_i810.c agpreg.h Log: SVN rev 183555 on 2008-10-02 20:29:45Z by rnoland Correctly handle Intel g33 chips and add support for g45 chips g33 based chips use a different method of identifying the gtt size. g45 based chips gtt is located in a different area of stolen memory. Approved by: jhb (mentor) MFC after: 2 weeks Revision Changes Path 1.48 +120 -18 src/sys/dev/agp/agp_i810.c 1.20 +15 -1 src/sys/dev/agp/agpreg.h From jhb at FreeBSD.org Thu Oct 2 20:42:26 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Thu Oct 2 20:42:37 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c Message-ID: <200810022042.m92KgPWt049122@repoman.freebsd.org> jhb 2008-10-02 20:42:10 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb kld.c Log: SVN rev 183556 on 2008-10-02 20:42:10Z by jhb Oops, initialize sections and sections_end to NULL. Submitted by: Navdeep Parhar MFC after: 1 week Revision Changes Path 1.11 +1 -1 src/gnu/usr.bin/gdb/kgdb/kld.c From bms at FreeBSD.org Thu Oct 2 22:31:43 2008 From: bms at FreeBSD.org (Bruce M Simpson) Date: Thu Oct 2 22:31:48 2008 Subject: cvs commit: src/sys/arm/xscale/ixp425 avila_machdep.c Message-ID: <200810022231.m92MVgpP079104@repoman.freebsd.org> bms 2008-10-02 22:31:30 UTC FreeBSD src repository Modified files: sys/arm/xscale/ixp425 avila_machdep.c Log: SVN rev 183557 on 2008-10-02 22:31:30Z by bms Allow static hints to override kenv. Revision Changes Path 1.12 +5 -0 src/sys/arm/xscale/ixp425/avila_machdep.c From imp at bsdimp.com Thu Oct 2 22:42:57 2008 From: imp at bsdimp.com (M. Warner Losh) Date: Thu Oct 2 22:43:09 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb_pci.c In-Reply-To: <200810021305.47479.jhb@freebsd.org> References: <200810020629.m926TqZq036159@repoman.freebsd.org> <200810021305.47479.jhb@freebsd.org> Message-ID: <20081002.164041.-345492472.imp@bsdimp.com> In message: <200810021305.47479.jhb@freebsd.org> John Baldwin writes: : On Thursday 02 October 2008 02:29:45 am Warner Losh wrote: : > imp 2008-10-02 06:29:45 UTC : > : > FreeBSD src repository : > : > Modified files: : > sys/dev/pccbb pccbb_pci.c : > Log: : > SVN rev 183539 on 2008-10-02 06:29:45Z by imp : > : > Don't forget to match on a CLASS of PCIC_BRIDGE as well as subclass : > PCIS_BRIDGE_CARDBUS. Otherwise, we may hit a few false positives.... : : Shouldn't it use BUS_GENERIC_PROBE instead of BUS_DEFAULT_PROBE when matching : purely on the class codes? Yes. I'll fix it. Warner From imp at FreeBSD.org Thu Oct 2 22:50:29 2008 From: imp at FreeBSD.org (Warner Losh) Date: Thu Oct 2 22:50:34 2008 Subject: cvs commit: src/sys/dev/pccbb pccbb_pci.c Message-ID: <200810022250.m92MoS3t080850@repoman.freebsd.org> imp 2008-10-02 22:50:11 UTC FreeBSD src repository Modified files: sys/dev/pccbb pccbb_pci.c Log: SVN rev 183558 on 2008-10-02 22:50:11Z by imp Return BUS_PROBE_GENERIC rather BUS_PROBE_DEFAULT for generic CBB we match. Reviewed by: jhb@ Revision Changes Path 1.29 +1 -1 src/sys/dev/pccbb/pccbb_pci.c From kmacy at FreeBSD.org Fri Oct 3 00:50:46 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Oct 3 00:50:57 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <200810030050.m930ojYG007312@repoman.freebsd.org> kmacy 2008-10-03 00:50:26 UTC FreeBSD src repository Modified files: sys/dev/cxgb cxgb_sge.c Log: SVN rev 183559 on 2008-10-03 00:50:26Z by kmacy Fix bug in LRO on T304 whereby a packet could be sent to the wrong interface's ifp. Submitted by: Chelsio Inc. MFC after: 1 day Revision Changes Path 1.63 +13 -1 src/sys/dev/cxgb/cxgb_sge.c From kmacy at FreeBSD.org Fri Oct 3 01:02:17 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Fri Oct 3 01:02:28 2008 Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_vm.c Message-ID: <200810030102.m9312Gel008250@repoman.freebsd.org> kmacy 2008-10-03 01:02:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb/ulp/tom cxgb_vm.c Log: SVN rev 183560 on 2008-10-03 01:02:00Z by kmacy Fix a potential infinite loop in the TOE zero copy receive path. Approved by: re Revision Changes Path 1.1.2.2 +8 -14 src/sys/dev/cxgb/ulp/tom/cxgb_vm.c From yongari at FreeBSD.org Fri Oct 3 03:58:36 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Fri Oct 3 03:58:48 2008 Subject: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h if_nfevar.h Message-ID: <200810030358.m933wauL025086@repoman.freebsd.org> yongari 2008-10-03 03:58:16 UTC FreeBSD src repository Modified files: sys/dev/nfe if_nfe.c if_nfereg.h if_nfevar.h Log: SVN rev 183561 on 2008-10-03 03:58:16Z by yongari Add hardware MAC statistics support. Register information was obtained from Linux forcedeth driver. While I'm here move creating a sysctl node for process_limit to function nfe_sysctl_node(). Tested by: "Arno J. Klaassen" < arno heho dot snv dot jussieu dot fr > Revision Changes Path 1.30 +216 -25 src/sys/dev/nfe/if_nfe.c 1.14 +34 -0 src/sys/dev/nfe/if_nfereg.h 1.7 +37 -0 src/sys/dev/nfe/if_nfevar.h From thompsa at FreeBSD.org Fri Oct 3 05:19:16 2008 From: thompsa at FreeBSD.org (Andrew Thompson) Date: Fri Oct 3 05:19:22 2008 Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h Message-ID: <200810030519.m935JGwx043022@repoman.freebsd.org> thompsa 2008-10-03 05:14:54 UTC FreeBSD src repository Modified files: share/man/man4 ng_tty.4 sys/netgraph ng_tty.c ng_tty.h Log: SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa Update ng_tty for MPSAFE TTY. This changes from a line discipline to the tty_hooks mechanism. Data will come in directly via rint_bypass and sent to the peer node in a single mbuf. As line disciplines are no longer used a new netgraph command called NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open file descriptor of the tty and registers the tty hooks. When the tty disappears the node will shutdown. Thanks to: ed Sponsored by: Hobnob, Inc Revision Changes Path 1.18 +16 -16 src/share/man/man4/ng_tty.4 1.38 +281 -454 src/sys/netgraph/ng_tty.c 1.5 +1 -0 src/sys/netgraph/ng_tty.h From ed at 80386.nl Fri Oct 3 07:47:46 2008 From: ed at 80386.nl (Ed Schouten) Date: Fri Oct 3 07:47:58 2008 Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h In-Reply-To: <200810030519.m935JGwx043022@repoman.freebsd.org> References: <200810030519.m935JGwx043022@repoman.freebsd.org> Message-ID: <20081003074744.GY16837@hoeg.nl> Hello Andrew, * Andrew Thompson wrote: > thompsa 2008-10-03 05:14:54 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 ng_tty.4 > sys/netgraph ng_tty.c ng_tty.h > Log: > SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa > > Update ng_tty for MPSAFE TTY. > > This changes from a line discipline to the tty_hooks mechanism. Data will come > in directly via rint_bypass and sent to the peer node in a single mbuf. > > As line disciplines are no longer used a new netgraph command called > NGM_TTY_SET_TTY is used to attach the tty. This takes a pointer to to the open > file descriptor of the tty and registers the tty hooks. When the tty disappears > the node will shutdown. > > Thanks to: ed > Sponsored by: Hobnob, Inc Thanks to you as well! :-) Maybe we should connect it to the build again? I removed the entry from /sys/conf/NOTES and /sys/modules/netgraph/... when I imported the MPSAFE TTY bits. I guess we should also remove ng_tty from the entry in /usr/src/UPDATING. -- Ed Schouten WWW: http://80386.nl/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081003/97001224/attachment.pgp From rwatson at FreeBSD.org Fri Oct 3 09:02:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Oct 3 09:02:17 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c Message-ID: <200810030902.m93924GJ078954@repoman.freebsd.org> rwatson 2008-10-03 09:01:55 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c Log: SVN rev 183563 on 2008-10-03 09:01:55Z by rwatson Remove or update several stale comments. A bit of whitespace/style cleanup. Update copyright. MFC after: 3 days (applicable changes) Revision Changes Path 1.217 +16 -16 src/sys/kern/uipc_usrreq.c From mav at FreeBSD.org Fri Oct 3 09:19:21 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Fri Oct 3 09:19:32 2008 Subject: cvs commit: src/share/man/man4 snd_hda.4 Message-ID: <200810030919.m939JKRQ081387@repoman.freebsd.org> mav 2008-10-03 09:19:07 UTC FreeBSD src repository Modified files: share/man/man4 snd_hda.4 Log: SVN rev 183564 on 2008-10-03 09:19:07Z by mav Add hint about hw.snd.default_unit sysctl. Revision Changes Path 1.21 +5 -0 src/share/man/man4/snd_hda.4 From ed at FreeBSD.org Fri Oct 3 09:43:06 2008 From: ed at FreeBSD.org (Ed Schouten) Date: Fri Oct 3 09:43:12 2008 Subject: cvs commit: src/lib/libutil pty.c Message-ID: <200810030943.m939h6UT083385@repoman.freebsd.org> ed 2008-10-03 09:42:50 UTC FreeBSD src repository Modified files: lib/libutil pty.c Log: SVN rev 183565 on 2008-10-03 09:42:50Z by ed Small cleanups to openpty(). - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default. - Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called. - Replace some redundant code by a label. In theory we could remove a lot of code from openpty() on FreeBSD -CURRENT, because grantpt(), unlockpt() and revoke() are not needed in our implementation. We'd better keep them there. This makes the code still work with older FreeBSD releases and even makes it work on other non-BSD operating systems. I've compiled openpty() on Linux. You only need to remove the revoke() call, because revoke() on Linux always returns -1. Apart from that, it seems to work like it should. Reviewed by: jhb Revision Changes Path 1.23 +15 -23 src/lib/libutil/pty.c From bz at FreeBSD.org Fri Oct 3 10:08:53 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Fri Oct 3 10:09:08 2008 Subject: cvs commit: src/sys/conf newvers.sh Message-ID: <200810031008.m93A8qo1086504@repoman.freebsd.org> bz 2008-10-03 10:08:36 UTC FreeBSD src repository Modified files: sys/conf newvers.sh Log: SVN rev 183566 on 2008-10-03 10:08:36Z by bz Backout svn r183528. SRCDIR is seeded from `pwd` which not only means src/sys/ but also src/include/ (and possibly src/usr.sbin/amd/include/ ?). Trying to build world resulted in ===> include (includes) cd /usr/src/include; make buildincludes; make installincludes creating osreldate.h from newvers.sh cd: can't cd to /usr/src/include/sys *** Error code 2 as there is apparently no src/include/sys. There are multiple possible solutions ranging from seeding SRCDIR from the environment to adding more substitution patterns. Reported by: sam, bz Proper solution to be implemented and tested by: peter Revision Changes Path 1.78 +1 -1 src/sys/conf/newvers.sh From stas at FreeBSD.org Fri Oct 3 10:32:36 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Fri Oct 3 10:32:42 2008 Subject: cvs commit: src/sys/amd64/conf GENERIC src/sys/conf NOTES files src/sys/dev/ae if_ae.c if_aereg.h if_aevar.h src/sys/dev/mii atphy.c miidevs src/sys/i386/conf GENERIC src/sys/modules Makefile src/sys/modules/ae Makefile Message-ID: <200810031032.m93AWZ4G088451@repoman.freebsd.org> stas 2008-10-03 10:31:31 UTC FreeBSD src repository Modified files: sys/amd64/conf GENERIC sys/conf NOTES files sys/dev/mii atphy.c miidevs sys/i386/conf GENERIC sys/modules Makefile Added files: sys/dev/ae if_ae.c if_aereg.h if_aevar.h sys/modules/ae Makefile Log: SVN rev 183567 on 2008-10-03 10:31:31Z by stas - Add driver for Attansic L2 FastEthernet controller found on Asus EeePC and some Asus mainboards. Reviewed by: yongari, rpaulo, jhb Tested by: many Approved by: kib (mentor) MFC after: 1 week Revision Changes Path 1.508 +1 -0 src/sys/amd64/conf/GENERIC 1.1507 +3 -0 src/sys/conf/NOTES 1.1335 +1 -0 src/sys/conf/files 1.1 +2261 -0 src/sys/dev/ae/if_ae.c (new) 1.1 +385 -0 src/sys/dev/ae/if_aereg.h (new) 1.1 +171 -0 src/sys/dev/ae/if_aevar.h (new) 1.2 +1 -0 src/sys/dev/mii/atphy.c 1.61 +1 -0 src/sys/dev/mii/miidevs 1.499 +1 -0 src/sys/i386/conf/GENERIC 1.590 +1 -0 src/sys/modules/Makefile 1.1 +8 -0 src/sys/modules/ae/Makefile (new) From des at FreeBSD.org Fri Oct 3 10:40:31 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Oct 3 10:40:40 2008 Subject: cvs commit: src/crypto/openssh sshconnect2.c Message-ID: <200810031040.m93AeVav089267@repoman.freebsd.org> des 2008-10-03 10:40:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) crypto/openssh sshconnect2.c Log: SVN rev 183568 on 2008-10-03 10:40:26Z by des MFH (r183336): "xmalloc: zero size" fix. Approved by: re (kib) Revision Changes Path 1.18.2.2 +2 -1 src/crypto/openssh/sshconnect2.c From des at FreeBSD.org Fri Oct 3 10:43:33 2008 From: des at FreeBSD.org (Dag-Erling Smorgrav) Date: Fri Oct 3 10:43:38 2008 Subject: cvs commit: src/crypto/openssh moduli.5 scp.1 sftp-server.8 sftp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh.1 ssh_config.5 sshd.8 sshd_config.5 Message-ID: <200810031043.m93AhWmk089512@repoman.freebsd.org> des 2008-10-03 10:43:17 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) crypto/openssh moduli.5 scp.1 sftp-server.8 sftp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh-keysign.8 ssh.1 ssh_config.5 sshd.8 sshd_config.5 Log: SVN rev 183569 on 2008-10-03 10:43:17Z by des MFH (r183458): replace $Mdocdate$ with bare dates. Approved by: re (kib) Revision Changes Path 1.1.2.2 +1 -1 src/crypto/openssh/moduli.5 1.1.1.17.2.2 +1 -1 src/crypto/openssh/scp.1 1.1.1.8.2.2 +1 -1 src/crypto/openssh/sftp-server.8 1.1.1.11.2.2 +1 -1 src/crypto/openssh/sftp.1 1.1.1.12.2.2 +1 -1 src/crypto/openssh/ssh-add.1 1.1.1.14.2.2 +1 -1 src/crypto/openssh/ssh-agent.1 1.1.1.16.2.2 +1 -1 src/crypto/openssh/ssh-keygen.1 1.1.1.8.2.2 +1 -1 src/crypto/openssh/ssh-keyscan.1 1.1.1.5.2.2 +1 -1 src/crypto/openssh/ssh-keysign.8 1.35.2.2 +1 -1 src/crypto/openssh/ssh.1 1.23.2.3 +1 -1 src/crypto/openssh/ssh_config.5 1.34.2.2 +1 -1 src/crypto/openssh/sshd.8 1.29.2.2 +1 -1 src/crypto/openssh/sshd_config.5 From brueffer at FreeBSD.org Fri Oct 3 11:37:49 2008 From: brueffer at FreeBSD.org (Christian Brueffer) Date: Fri Oct 3 11:38:01 2008 Subject: cvs commit: src/share/man/man4 ata.4 Message-ID: <200810031137.m93Bbn2G094812@repoman.freebsd.org> brueffer 2008-10-03 11:37:33 UTC FreeBSD src repository Modified files: share/man/man4 ata.4 Log: SVN rev 183570 on 2008-10-03 11:37:33Z by brueffer ITE IT8213F support. Revision Changes Path 1.77 +2 -2 src/share/man/man4/ata.4 From bz at FreeBSD.org Fri Oct 3 12:21:36 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Fri Oct 3 12:21:47 2008 Subject: cvs commit: src/sys/netinet in_pcb.c Message-ID: <200810031221.m93CLZfw099285@repoman.freebsd.org> bz 2008-10-03 12:21:21 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c Log: SVN rev 183571 on 2008-10-03 12:21:21Z by bz Implement IPv4 source address selection for unbound sockets. For the jail case we are already looping over the interface addresses before falling back to the only IP address of a jail in case of no match. This is in preparation for the upcoming multi-IPv4/v6/no-IP jail patch this change was developed with initially. This also changes the semantics of selecting the IP for processes within a jail as it now uses the same logic as outside the jail (with additional checks) but no longer is on a mutually exclusive code path. Benchmarks had shown no difference at 95.0% confidence for neither the plain nor the jail case (even with the additional overhead). See: http://lists.freebsd.org/pipermail/freebsd-net/2008-September/019531.html Inpsired by a patch from: Yahoo! (partially) Tested by: latest multi-IP jail patch users (implictly) Discussed with: rwatson (general things around this) Reviewed by: mostly silence (feedback from bms) Help with benchmarking from: kris MFC after: 2 months Revision Changes Path 1.220 +205 -43 src/sys/netinet/in_pcb.c From rwatson at FreeBSD.org Fri Oct 3 13:02:59 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Fri Oct 3 13:03:05 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c src/sys/sys un.h Message-ID: <200810031302.m93D2w7S012041@repoman.freebsd.org> rwatson 2008-10-03 13:01:56 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c sys/sys un.h Log: SVN rev 183572 on 2008-10-03 13:01:56Z by rwatson Further minor cleanups to UNIX domain sockets: - Staticize and locally prototype functions uipc_ctloutput(), unp_dispose(), unp_init(), and unp_externalize(), none of which have been required outside of uipc_usrreq.c since uipc_proto.c was removed. - Remove stale prototype for uipc_usrreq(), which has not existed in the code since 1997 - Forward declare and staticize uipc_usrreqs structure in uipc_usrreq.c and not un.h. - Comment on why uipc_connect2() is still non-static -- it is used directly by fifofs. - Remove stale comments, tidy up whitespace. MFC after: 3 days (where applicable) Revision Changes Path 1.218 +16 -24 src/sys/kern/uipc_usrreq.c 1.30 +1 -10 src/sys/sys/un.h From rnoland at FreeBSD.org Fri Oct 3 16:59:28 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Fri Oct 3 16:59:35 2008 Subject: cvs commit: src/sys/dev/drm drm.h drmP.h drm_agpsupport.c drm_atomic.h drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drawable.c drm_drv.c drm_fops.c drm_ioctl.c drm_irq.c drm_lock.c drm_memory.c drm_pci.c drm_scatter.c drm_sysctl.c ... Message-ID: <200810031659.m93GxSl9050938@repoman.freebsd.org> rnoland 2008-10-03 16:59:11 UTC FreeBSD src repository Modified files: sys/dev/drm drm.h drmP.h drm_agpsupport.c drm_atomic.h drm_auth.c drm_bufs.c drm_context.c drm_dma.c drm_drawable.c drm_drv.c drm_fops.c drm_ioctl.c drm_irq.c drm_lock.c drm_memory.c drm_pci.c drm_scatter.c drm_sysctl.c drm_vm.c i915_dma.c i915_drm.h i915_drv.c i915_drv.h i915_irq.c i915_suspend.c mach64_drv.c mga_drv.c r128_drv.c radeon_cp.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Log: SVN rev 183573 on 2008-10-03 16:59:11Z by rnoland resync to git master This reverts a private patch which is causing issues with many Intel chipsets. I will review that patch and see what we need to do to fix it up later, but for the time being, we will just get these chips working again. This update contains a lot of code cleanup and is post gem merge (no, we don't have gem support). It should prove much easier to read the code now. A lot of thanks goes to vehemens for that work. I have adapted the code to use cdevpriv for tracking per open file data. That alleviates the old ugly hack that we used to try and accomplish the task and helped to clean up the open / close behavior a good bit. This also replaces the hack that was put in place a year or so ago to prevent radeons from locking up with AIGLX enabled. I have had a couple of radeon testers report that it still works as expected, though I no longer have radeon hardware to test with myself. Other various fixes from the linux crew and Intel, many of which are muddled in with the gem merge. Approved by: jhb (mentor) Obtained from: mesa/drm git master MFC after: 2 weeks Revision Changes Path 1.14 +31 -2 src/sys/dev/drm/drm.h 1.21 +64 -193 src/sys/dev/drm/drmP.h 1.9 +21 -28 src/sys/dev/drm/drm_agpsupport.c 1.3 +0 -53 src/sys/dev/drm/drm_atomic.h 1.4 +8 -7 src/sys/dev/drm/drm_auth.c 1.6 +115 -137 src/sys/dev/drm/drm_bufs.c 1.4 +53 -53 src/sys/dev/drm/drm_context.c 1.4 +10 -9 src/sys/dev/drm/drm_dma.c 1.4 +2 -2 src/sys/dev/drm/drm_drawable.c 1.12 +86 -317 src/sys/dev/drm/drm_drv.c 1.5 +33 -58 src/sys/dev/drm/drm_fops.c 1.4 +20 -22 src/sys/dev/drm/drm_ioctl.c 1.5 +35 -55 src/sys/dev/drm/drm_irq.c 1.5 +82 -88 src/sys/dev/drm/drm_lock.c 1.4 +6 -44 src/sys/dev/drm/drm_memory.c 1.5 +2 -25 src/sys/dev/drm/drm_pci.c 1.5 +11 -11 src/sys/dev/drm/drm_scatter.c 1.4 +3 -3 src/sys/dev/drm/drm_sysctl.c 1.4 +11 -26 src/sys/dev/drm/drm_vm.c 1.10 +216 -149 src/sys/dev/drm/i915_dma.c 1.6 +321 -0 src/sys/dev/drm/i915_drm.h 1.7 +45 -37 src/sys/dev/drm/i915_drv.c 1.6 +299 -28 src/sys/dev/drm/i915_drv.h 1.6 +89 -26 src/sys/dev/drm/i915_irq.c 1.2 +3 -1 src/sys/dev/drm/i915_suspend.c 1.5 +41 -33 src/sys/dev/drm/mach64_drv.c 1.14 +45 -44 src/sys/dev/drm/mga_drv.c 1.13 +42 -40 src/sys/dev/drm/r128_drv.c 1.21 +3 -3 src/sys/dev/drm/radeon_cp.c 1.16 +47 -46 src/sys/dev/drm/radeon_drv.c 1.5 +38 -28 src/sys/dev/drm/savage_drv.c 1.9 +32 -26 src/sys/dev/drm/sis_drv.c 1.12 +27 -20 src/sys/dev/drm/tdfx_drv.c From jhb at FreeBSD.org Fri Oct 3 18:13:22 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Oct 3 18:13:28 2008 Subject: cvs commit: src/sys/kern subr_witness.c Message-ID: <200810031813.m93IDKak062097@repoman.freebsd.org> jhb 2008-10-03 18:13:05 UTC FreeBSD src repository Modified files: sys/kern subr_witness.c Log: SVN rev 183574 on 2008-10-03 18:13:05Z by jhb Oops, missed updating a place with with 's/lock1/plock/' when adding interlock support to WITNESS. Specifically, the printf listing the first location when duplicate locks of the same type are acquired. Reported by: pho Revision Changes Path 1.258 +4 -3 src/sys/kern/subr_witness.c From mav at FreeBSD.org Fri Oct 3 20:36:30 2008 From: mav at FreeBSD.org (Alexander Motin) Date: Fri Oct 3 20:37:03 2008 Subject: cvs commit: src/share/man/man4 ng_tty.4 src/sys/netgraph ng_tty.c ng_tty.h In-Reply-To: <20081003074744.GY16837@hoeg.nl> References: <200810030519.m935JGwx043022@repoman.freebsd.org> <20081003074744.GY16837@hoeg.nl> Message-ID: <48E6742E.3030900@FreeBSD.org> Ed Schouten wrote: >> SVN rev 183562 on 2008-10-03 05:14:54Z by thompsa >> >> Update ng_tty for MPSAFE TTY. > > Maybe we should connect it to the build again? I removed the entry from > /sys/conf/NOTES and /sys/modules/netgraph/... when I imported the MPSAFE > TTY bits. I guess we should also remove ng_tty from the entry in > /usr/src/UPDATING. I think it is not a final commit, so we should wait a bit. I have sent Andrew some my comments about this patch. Also some comments should be written to UPDATING that node API was changed and it will require specially updated mpd versions to be used. I will try to release them as soon as node will be ready. -- Alexander Motin From jhb at FreeBSD.org Fri Oct 3 21:34:12 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Fri Oct 3 21:34:23 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810032134.m93LYB7X091229@repoman.freebsd.org> jhb 2008-10-03 21:33:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_socket.c Log: SVN rev 183575 on 2008-10-03 21:33:58Z by jhb MFC: Update the function name in several assertions in soreceive_dgram(). Approved by: re (kib) Revision Changes Path 1.302.2.7 +4 -4 src/sys/kern/uipc_socket.c From emax at FreeBSD.org Fri Oct 3 22:40:58 2008 From: emax at FreeBSD.org (Maksim Yevmenkin) Date: Fri Oct 3 22:41:04 2008 Subject: cvs commit: src/sys/netgraph/bluetooth/drivers/ubt ng_ubt.c Message-ID: <200810032240.m93MewMJ097537@repoman.freebsd.org> emax 2008-10-03 22:40:42 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/drivers/ubt ng_ubt.c Log: SVN rev 183576 on 2008-10-03 22:40:42Z by emax Abort transfers on all pipes before closing them. This fixes the crash when Bluetooth USB device is pulled out without stopping the stack first. Submitted by: Vladimir Grebenschikov vova at fbsd dot ru MFC after: 1 week Revision Changes Path 1.36 +5 -0 src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c From trasz at FreeBSD.org Fri Oct 3 23:17:31 2008 From: trasz at FreeBSD.org (Edward Tomasz Napierala) Date: Fri Oct 3 23:17:43 2008 Subject: cvs commit: src/sys/fs/cd9660 cd9660_node.c Message-ID: <200810032317.m93NHTfP001630@repoman.freebsd.org> trasz 2008-10-03 23:17:22 UTC FreeBSD src repository Modified files: sys/fs/cd9660 cd9660_node.c Log: SVN rev 183577 on 2008-10-03 23:17:22Z by trasz Fix Vflags abuse in cd9660. There should be no functional changes. Approved by: rwatson (mentor) Revision Changes Path 1.57 +7 -7 src/sys/fs/cd9660/cd9660_node.c From svn at FreeBSD.org Fri Oct 3 23:21:15 2008 From: svn at FreeBSD.org (Subversion owner) Date: Fri Oct 3 23:21:21 2008 Subject: cvs commit: src/sys/fs/fdescfs fdesc_vnops.c Message-ID: <200810032321.m93NLF2N001975@repoman.freebsd.org> svn 2008-10-03 23:21:15 UTC FreeBSD src repository Modified files: sys/fs/fdescfs fdesc_vnops.c Log: SVN rev 183578 on 2008-10-03 23:21:15Z by svn Fix Vflags abuse in fdescfs. There should be no functional changes. Approved by: rwatson (mentor) Revision Changes Path 1.113 +1 -3 src/sys/fs/fdescfs/fdesc_vnops.c From kensmith at cse.Buffalo.EDU Sat Oct 4 01:11:58 2008 From: kensmith at cse.Buffalo.EDU (Ken Smith) Date: Sat Oct 4 01:12:09 2008 Subject: cvs commit: Branching for RELENG_6_4... Message-ID: <1223081584.65610.7.camel@neo.cse.buffalo.edu> I'm sending this after-the-fact, and more or less "for posterity's sake". Thursday Oct 2nd 2008 at around 3:00 UTC we created the RELENG_6_4 branch in preparation for the 6.4-RC1 builds. This was the first time we've branched using SVN. The email message that would have gone to the cvs-src@ and cvs-all@ mailing lists as a result of that commit was, umm, big. We decided to kill that at the moderator stage and send this instead. :-) -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081004/f5360e16/attachment.pgp From kensmith at FreeBSD.org Sat Oct 4 02:41:19 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:41:31 2008 Subject: cvs commit: src Makefile.inc1 Message-ID: <200810040241.m942fJJq033130@repoman.freebsd.org> kensmith 2008-10-04 02:35:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) . Makefile.inc1 Log: SVN rev 183579 on 2008-10-04 02:35:57Z by kensmith Shift branch used for "make update" from RELENG_6 to RELENG_6_4. Approved by: re (implicit) Revision Changes Path 1.499.2.23.2.2 +1 -1 src/Makefile.inc1 From kensmith at FreeBSD.org Sat Oct 4 02:42:07 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:42:24 2008 Subject: cvs commit: src/release Makefile Message-ID: <200810040242.m942g70h033203@repoman.freebsd.org> kensmith 2008-10-04 02:39:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) release Makefile Log: SVN rev 183580 on 2008-10-04 02:39:58Z by kensmith Update 6.3 -> 6.4 Approved by: re (implicit) Revision Changes Path 1.887.2.22.2.2 +2 -2 src/release/Makefile From kensmith at FreeBSD.org Sat Oct 4 02:42:16 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:42:24 2008 Subject: cvs commit: src/release Makefile Message-ID: <200810040242.m942gFJi033237@repoman.freebsd.org> kensmith 2008-10-04 02:41:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) release Makefile Log: SVN rev 183581 on 2008-10-04 02:41:44Z by kensmith Update 6.3 -> 6.4 where needed. Approved by: re (implicit) Revision Changes Path 1.887.2.23 +2 -2 src/release/Makefile From kensmith at FreeBSD.org Sat Oct 4 02:45:16 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:45:27 2008 Subject: cvs commit: src/share/examples/cvsup standard-supfile Message-ID: <200810040245.m942jGoO033529@repoman.freebsd.org> kensmith 2008-10-04 02:45:13 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) share/examples/cvsup standard-supfile Log: SVN rev 183582 on 2008-10-04 02:45:13Z by kensmith Adjust branch tag in example. Approved by: re (implicit) Revision Changes Path 1.23.4.4.4.2 +1 -1 src/share/examples/cvsup/standard-supfile From kensmith at FreeBSD.org Sat Oct 4 02:48:47 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:48:54 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200810040248.m942mlSo033767@repoman.freebsd.org> kensmith 2008-10-04 02:48:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) sys/sys param.h Log: SVN rev 183583 on 2008-10-04 02:48:28Z by kensmith Adjust __FreeBSD_version to reflect a new release branch. Approved by: re (implicit) Revision Changes Path 1.244.2.38.2.2 +1 -1 src/sys/sys/param.h From kensmith at FreeBSD.org Sat Oct 4 02:50:33 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:50:39 2008 Subject: cvs commit: src/sys/sys param.h Message-ID: <200810040250.m942oXRL033963@repoman.freebsd.org> kensmith 2008-10-04 02:50:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/sys param.h Log: SVN rev 183584 on 2008-10-04 02:50:29Z by kensmith Bump __FreeBSD_version to reflect 6.4 now that the branching has been done for 6.4. Approved by: re (implicit) Revision Changes Path 1.244.2.39 +1 -1 src/sys/sys/param.h From kensmith at FreeBSD.org Sat Oct 4 02:56:20 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:56:26 2008 Subject: cvs commit: src/usr.sbin/pkg_install/add main.c Message-ID: <200810040256.m942uJJX034391@repoman.freebsd.org> kensmith 2008-10-04 02:56:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/pkg_install/add main.c Log: SVN rev 183585 on 2008-10-04 02:56:02Z by kensmith Add info for the two upcoming releases - 6.4 and 7.1. Approved by: re (implicit) Revision Changes Path 1.61.2.14 +2 -0 src/usr.sbin/pkg_install/add/main.c From kensmith at FreeBSD.org Sat Oct 4 02:59:05 2008 From: kensmith at FreeBSD.org (Ken Smith) Date: Sat Oct 4 02:59:16 2008 Subject: cvs commit: src/usr.sbin/pkg_install/add main.c Message-ID: <200810040259.m942x5su034582@repoman.freebsd.org> kensmith 2008-10-04 02:58:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) usr.sbin/pkg_install/add main.c Log: SVN rev 183586 on 2008-10-04 02:58:54Z by kensmith MFS r183585: > Add info for the two upcoming releases - 6.4 and 7.1. Approved by: re (implicit) Revision Changes Path 1.61.2.13.2.2 +2 -0 src/usr.sbin/pkg_install/add/main.c From weongyo at FreeBSD.org Sat Oct 4 04:15:53 2008 From: weongyo at FreeBSD.org (Weongyo Jeong) Date: Sat Oct 4 04:16:10 2008 Subject: cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndisvar.h Message-ID: <200810040415.m944FrRT043076@repoman.freebsd.org> weongyo 2008-10-04 04:15:39 UTC FreeBSD src repository Modified files: sys/dev/if_ndis if_ndis.c if_ndisvar.h Log: SVN rev 183587 on 2008-10-04 04:15:39Z by weongyo sc->ndis_txidx should be cycle between 0 and sc->ndis_maxpkts, not NDIS_TXPKTS and don't allocate unused extra spaces for sc->ndis_txarray and sc->ndis_txpool. PR: kern/127644 Submitted by: Antoine Pelisse MFC after: 1 week Revision Changes Path 1.144 +2 -2 src/sys/dev/if_ndis/if_ndis.c 1.34 +1 -1 src/sys/dev/if_ndis/if_ndisvar.h From jkoshy at FreeBSD.org Sat Oct 4 07:19:41 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 07:19:48 2008 Subject: cvs commit: src/sys/dev/hwpmc pmc_events.h Message-ID: <200810040719.m947Jfa4069754@repoman.freebsd.org> jkoshy 2008-10-04 07:19:26 UTC FreeBSD src repository Modified files: sys/dev/hwpmc pmc_events.h Log: SVN rev 183588 on 2008-10-04 07:19:26Z by jkoshy Fix a typo. Revision Changes Path 1.4 +1 -1 src/sys/dev/hwpmc/pmc_events.h From bf2006a at yahoo.com Sat Oct 4 08:50:47 2008 From: bf2006a at yahoo.com (bf) Date: Sat Oct 4 08:51:17 2008 Subject: cvs commit: src/crypto/openssh sshconnect2.c Message-ID: <983704.51422.qm@web39104.mail.mud.yahoo.com> Re: SVN rev 183568 on 2008-10-03 10:40:26Z by des For what it's worth, from OpenBSD CVS (I don't know whether the "as is fairly typical" below is griping about lack of feedback from downstream in general, or whether des@ in particular is acquiring a reputation as the "John Bolton of software maintainers" in certain quarters ;) ): "deraadt@src / 2008-10-03 23:56:28 UTC openbsd/OpenBSD: src/usr.bin/ssh sshconnect2.c Repair strnvis() buffersize of 4*n+1, with termination gauranteed[sic] by the function. spotted by des at freebsd, who commited an incorrect fix to the freebsd tree and (as is fairly typical) did not report the problem to us. But this fix is correct. ok djm Files rc/usr.bin/ssh/sshconnect2.c" with the diff ( http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/sshconnect2.c.diff?r1=1.167&r2=1.168 ): =================================================================== RCS file: /usr/OpenBSD/cvs/src/usr.bin/ssh/sshconnect2.c,v retrieving revision 1.167 retrieving revision 1.168 diff -u -r1.167 -r1.168 --- src/usr.bin/ssh/sshconnect2.c 2008/07/31 14:48:28 1.167 +++ src/usr.bin/ssh/sshconnect2.c 2008/10/03 23:56:28 1.168 @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect2.c,v 1.167 2008/07/31 14:48:28 markus Exp $ */ +/* $OpenBSD: sshconnect2.c,v 1.168 2008/10/03 23:56:28 deraadt Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -380,8 +380,8 @@ if (len > 0 && options.log_level >= SYSLOG_LEVEL_INFO) { if (len > 65536) len = 65536; - msg = xmalloc(len * 4); /* max expansion from strnvis() */ - strnvis(msg, raw, len * 4, VIS_SAFE|VIS_OCTAL); + msg = xmalloc(len * 4 + 1); /* max expansion from strnvis() */ + strnvis(msg, raw, len * 4 + 1, VIS_SAFE|VIS_OCTAL); fprintf(stderr, "%s", msg); xfree(msg); } From marius at FreeBSD.org Sat Oct 4 08:55:43 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sat Oct 4 08:55:49 2008 Subject: cvs commit: src/sys/dev/fatm if_fatm.c Message-ID: <200810040855.m948thW7087621@repoman.freebsd.org> marius 2008-10-04 08:55:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/fatm if_fatm.c Log: SVN rev 183589 on 2008-10-04 08:55:30Z by marius MFC: r183504 Use bus_get_dma_tag() so fatm(4) works on platforms requiring it. Reported and tested by: Sean Thomas Caron Approved by: re (gnn) Revision Changes Path 1.23.2.1 +1 -1 src/sys/dev/fatm/if_fatm.c From antoine at FreeBSD.org Sat Oct 4 10:41:17 2008 From: antoine at FreeBSD.org (Antoine Brodin) Date: Sat Oct 4 10:41:29 2008 Subject: cvs commit: src/sys/conf files src/sys/dev/hptiop hptiop.h Message-ID: <200810041041.m94AfHV3098002@repoman.freebsd.org> antoine 2008-10-04 10:39:31 UTC FreeBSD src repository Modified files: sys/conf files sys/dev/hptiop hptiop.h Log: SVN rev 183590 on 2008-10-04 10:39:31Z by antoine - Spell cam correctly (scbus), this makes it possible to compile hptiop in GENERIC and LINT. [1] - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition of hpt_dbg_level (hptmv also has hpt_dbg_level). PR: 127551 [1] Reviewed by: scottl@ MFC after: 1 month Revision Changes Path 1.1336 +1 -1 src/sys/conf/files 1.3 +2 -2 src/sys/dev/hptiop/hptiop.h From stas at FreeBSD.org Sat Oct 4 11:49:29 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Sat Oct 4 11:49:35 2008 Subject: cvs commit: src/usr.sbin/sysinstall devices.c Message-ID: <200810041149.m94BnSD6004353@repoman.freebsd.org> stas 2008-10-04 11:49:26 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall devices.c Log: SVN rev 183591 on 2008-10-04 11:49:26Z by stas - Add ae(4) to sysinstall devices list. Approved by: kib (mentor) MFC after: 1 week Revision Changes Path 1.178 +1 -0 src/usr.sbin/sysinstall/devices.c From stas at FreeBSD.org Sat Oct 4 11:50:00 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Sat Oct 4 11:50:12 2008 Subject: cvs commit: src/sys/boot/forth loader.conf Message-ID: <200810041149.m94BnxYE004408@repoman.freebsd.org> stas 2008-10-04 11:49:53 UTC FreeBSD src repository Modified files: sys/boot/forth loader.conf Log: SVN rev 183592 on 2008-10-04 11:49:53Z by stas - Add ae(4) to loader.conf. Approved by: kib (mentor) MFC after: 1 week Revision Changes Path 1.134 +1 -0 src/sys/boot/forth/loader.conf From jkoshy at FreeBSD.org Sat Oct 4 12:28:01 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 12:28:13 2008 Subject: cvs commit: src/lib/libpmc Makefile pmc.atom.3 pmc.core.3 pmc.core2.3 pmc.iaf.3 Message-ID: <200810041228.m94CS1Q4008460@repoman.freebsd.org> jkoshy 2008-10-04 12:27:49 UTC FreeBSD src repository Modified files: lib/libpmc Makefile Added files: lib/libpmc pmc.atom.3 pmc.core.3 pmc.core2.3 pmc.iaf.3 Log: SVN rev 183593 on 2008-10-04 12:27:49Z by jkoshy Add manual pages for performance measurement counters present in Intel Atom(tm), Core(tm) and Core2(tm) CPUs. Revision Changes Path 1.12 +4 -0 src/lib/libpmc/Makefile 1.1 +1192 -0 src/lib/libpmc/pmc.atom.3 (new) 1.1 +735 -0 src/lib/libpmc/pmc.core.3 (new) 1.1 +1112 -0 src/lib/libpmc/pmc.core2.3 (new) 1.1 +128 -0 src/lib/libpmc/pmc.iaf.3 (new) From jkoshy at FreeBSD.org Sat Oct 4 12:35:18 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 12:35:24 2008 Subject: cvs commit: src/lib/libpmc pmc.3 Message-ID: <200810041235.m94CZHPe009139@repoman.freebsd.org> jkoshy 2008-10-04 12:35:02 UTC FreeBSD src repository Modified files: lib/libpmc pmc.3 Log: SVN rev 183594 on 2008-10-04 12:35:02Z by jkoshy - Cross-reference new manual pages. - Spell new PMC class names correctly. Revision Changes Path 1.23 +14 -8 src/lib/libpmc/pmc.3 From jkoshy at FreeBSD.org Sat Oct 4 12:44:18 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 12:44:30 2008 Subject: cvs commit: src/lib/libpmc pmc.k7.3 pmc.p4.3 pmc.p5.3 pmc.tsc.3 Message-ID: <200810041244.m94CiIep009844@repoman.freebsd.org> jkoshy 2008-10-04 12:44:05 UTC FreeBSD src repository Modified files: lib/libpmc pmc.k7.3 pmc.p4.3 pmc.p5.3 pmc.tsc.3 Log: SVN rev 183595 on 2008-10-04 12:44:05Z by jkoshy Cross-reference new manual pages. Revision Changes Path 1.3 +5 -1 src/lib/libpmc/pmc.k7.3 1.2 +5 -1 src/lib/libpmc/pmc.p4.3 1.5 +5 -1 src/lib/libpmc/pmc.p5.3 1.2 +5 -1 src/lib/libpmc/pmc.tsc.3 From jkoshy at FreeBSD.org Sat Oct 4 12:53:20 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 12:53:55 2008 Subject: cvs commit: src/lib/libpmc pmc.k8.3 Message-ID: <200810041253.m94CrJOW019980@repoman.freebsd.org> jkoshy 2008-10-04 12:53:08 UTC FreeBSD src repository Modified files: lib/libpmc pmc.k8.3 Log: SVN rev 183596 on 2008-10-04 12:53:08Z by jkoshy Add cross-references. Revision Changes Path 1.4 +5 -1 src/lib/libpmc/pmc.k8.3 From jkoshy at FreeBSD.org Sat Oct 4 12:54:35 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Sat Oct 4 12:54:41 2008 Subject: cvs commit: src/lib/libpmc pmc.p6.3 Message-ID: <200810041254.m94CsZS5020082@repoman.freebsd.org> jkoshy 2008-10-04 12:54:25 UTC FreeBSD src repository Modified files: lib/libpmc pmc.p6.3 Log: SVN rev 183597 on 2008-10-04 12:54:25Z by jkoshy - Add cross-references. - Tweak -mdoc use. Revision Changes Path 1.4 +6 -3 src/lib/libpmc/pmc.p6.3 From raj at FreeBSD.org Sat Oct 4 13:10:51 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Sat Oct 4 13:10:57 2008 Subject: cvs commit: src/sys/boot/uboot/lib api_public.h glue.c glue.h net.c Message-ID: <200810041310.m94DAp6f022482@repoman.freebsd.org> raj 2008-10-04 13:10:38 UTC FreeBSD src repository Modified files: sys/boot/uboot/lib api_public.h glue.c glue.h net.c Log: SVN rev 183598 on 2008-10-04 13:10:38Z by raj U-Boot API glue improvements: - extend ub_dev_read() and ub_dev_recv() so that the actual len and all error codes can be passed and processed properly; unify behaviour of these routines - introduce syscall general error code (API_ESYSC) Revision Changes Path 1.4 +1 -0 src/sys/boot/uboot/lib/api_public.h 1.6 +22 -28 src/sys/boot/uboot/lib/glue.c 1.5 +6 -3 src/sys/boot/uboot/lib/glue.h 1.5 +16 -11 src/sys/boot/uboot/lib/net.c From raj at FreeBSD.org Sat Oct 4 13:19:26 2008 From: raj at FreeBSD.org (Rafal Jaworowski) Date: Sat Oct 4 13:19:37 2008 Subject: cvs commit: src/sys/boot/uboot/lib api_public.h glue.c glue.h net.c Message-ID: <200810041319.m94DJMi0023112@repoman.freebsd.org> raj 2008-10-04 13:19:15 UTC FreeBSD src repository Modified files: sys/boot/uboot/lib api_public.h glue.c glue.h net.c Log: SVN rev 183599 on 2008-10-04 13:19:15Z by raj Minor style(9) fixes for U-Boot API glue. Revision Changes Path 1.5 +1 -1 src/sys/boot/uboot/lib/api_public.h 1.7 +1 -1 src/sys/boot/uboot/lib/glue.c 1.6 +11 -12 src/sys/boot/uboot/lib/glue.h 1.6 +10 -11 src/sys/boot/uboot/lib/net.c From kib at FreeBSD.org Sat Oct 4 14:08:26 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sat Oct 4 14:08:37 2008 Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c Message-ID: <200810041408.m94E8QSb028282@repoman.freebsd.org> kib 2008-10-04 14:08:16 UTC FreeBSD src repository Modified files: sys/compat/linprocfs linprocfs.c sys/fs/procfs procfs_map.c Log: SVN rev 183600 on 2008-10-04 14:08:16Z by kib Change the linprocfs /maps and procfs /map handlers to use sbuf instead of doing uiomove. This allows for reads from non-zero offsets to work. Patch is forward-ported des@' one, and was adopted to current code by dchagin@ and me. Reviewed by: des (linprocfs part) PR: kern/101453 MFC after: 1 week Revision Changes Path 1.125 +5 -29 src/sys/compat/linprocfs/linprocfs.c 1.42 +7 -29 src/sys/fs/procfs/procfs_map.c From simon at FreeBSD.org Sat Oct 4 14:12:23 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Oct 4 14:12:33 2008 Subject: cvs commit: src/share/man/man4 ddb.4 Message-ID: <200810041412.m94ECKgE028670@repoman.freebsd.org> simon 2008-10-04 14:12:09 UTC FreeBSD src repository Modified files: share/man/man4 ddb.4 Log: SVN rev 183601 on 2008-10-04 14:12:09Z by simon - Document that 'show alllocks' and 'show locks' are only available with witness. - Remove references to non-existing witness(9) and replace with witness(4) where appropriate. - Bump document date. MFC after: 3 days Revision Changes Path 1.59 +10 -5 src/share/man/man4/ddb.4 From stas at FreeBSD.org Sat Oct 4 14:22:09 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Sat Oct 4 14:22:16 2008 Subject: cvs commit: src/share/man/man4 Makefile ae.4 Message-ID: <200810041422.m94EM6G6029446@repoman.freebsd.org> stas 2008-10-04 14:21:54 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Added files: share/man/man4 ae.4 Log: SVN rev 183602 on 2008-10-04 14:21:54Z by stas - Add manual page for ae(4) driver. Approved by: kib (mentor) MFC after: 1 week Revision Changes Path 1.432 +1 -0 src/share/man/man4/Makefile 1.1 +152 -0 src/share/man/man4/ae.4 (new) From rnoland at FreeBSD.org Sat Oct 4 14:45:37 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Sat Oct 4 14:45:49 2008 Subject: cvs commit: src/sys/dev/drm drm_bufs.c Message-ID: <200810041445.m94Ejb3x031297@repoman.freebsd.org> rnoland 2008-10-04 14:45:34 UTC FreeBSD src repository Modified files: sys/dev/drm drm_bufs.c Log: SVN rev 183603 on 2008-10-04 14:45:34Z by rnoland Change drm_order() to use ffsl() pointed out by jhb@ Approved by: jhb (mentor) Revision Changes Path 1.7 +4 -3 src/sys/dev/drm/drm_bufs.c From rnoland at FreeBSD.org Sat Oct 4 14:48:53 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Sat Oct 4 14:48:59 2008 Subject: cvs commit: src/sys/dev/drm i915_drv.c mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Message-ID: <200810041448.m94EmrMv031530@repoman.freebsd.org> rnoland 2008-10-04 14:48:40 UTC FreeBSD src repository Modified files: sys/dev/drm i915_drv.c mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Log: SVN rev 183604 on 2008-10-04 14:48:40Z by rnoland Use M_WAITOK when allocating driver memory We don't explicity check for error here and M_WAITOK will just put the process to sleep waiting on resources to become available. Suggested by jhb@ Approved by: jhb (mentor) Revision Changes Path 1.8 +3 -1 src/sys/dev/drm/i915_drv.c 1.6 +3 -1 src/sys/dev/drm/mach64_drv.c 1.15 +3 -1 src/sys/dev/drm/mga_drv.c 1.14 +3 -1 src/sys/dev/drm/r128_drv.c 1.17 +3 -1 src/sys/dev/drm/radeon_drv.c 1.6 +3 -1 src/sys/dev/drm/savage_drv.c 1.10 +3 -1 src/sys/dev/drm/sis_drv.c 1.13 +3 -1 src/sys/dev/drm/tdfx_drv.c From rnoland at FreeBSD.org Sat Oct 4 14:51:24 2008 From: rnoland at FreeBSD.org (Robert Noland) Date: Sat Oct 4 14:51:36 2008 Subject: cvs commit: src/sys/dev/drm i915_drv.c mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Message-ID: <200810041451.m94EpOpv031808@repoman.freebsd.org> rnoland 2008-10-04 14:51:14 UTC FreeBSD src repository Modified files: sys/dev/drm i915_drv.c mach64_drv.c mga_drv.c r128_drv.c radeon_drv.c savage_drv.c sis_drv.c tdfx_drv.c Log: SVN rev 183605 on 2008-10-04 14:51:14Z by rnoland Don't explicitly bzer driver softc new-bus already handles this for us. Suggested by jhb@ Approved by: jhb (mentor) Revision Changes Path 1.9 +0 -2 src/sys/dev/drm/i915_drv.c 1.7 +0 -2 src/sys/dev/drm/mach64_drv.c 1.16 +0 -2 src/sys/dev/drm/mga_drv.c 1.15 +0 -2 src/sys/dev/drm/r128_drv.c 1.18 +0 -2 src/sys/dev/drm/radeon_drv.c 1.7 +0 -2 src/sys/dev/drm/savage_drv.c 1.11 +0 -2 src/sys/dev/drm/sis_drv.c 1.14 +0 -2 src/sys/dev/drm/tdfx_drv.c From bz at FreeBSD.org Sat Oct 4 15:06:45 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Oct 4 15:06:51 2008 Subject: cvs commit: src/sys/contrib/pf/net pf.c src/sys/netinet in_pcb.c in_pcb.h ip_fw2.c raw_ip.c tcp_subr.c udp_usrreq.c src/sys/netinet6 in6_pcb.c udp6_usrreq.c Message-ID: <200810041506.m94F6jw2034248@repoman.freebsd.org> bz 2008-10-04 15:06:34 UTC FreeBSD src repository Modified files: sys/contrib/pf/net pf.c sys/netinet in_pcb.c in_pcb.h ip_fw2.c raw_ip.c tcp_subr.c udp_usrreq.c sys/netinet6 in6_pcb.c udp6_usrreq.c Log: SVN rev 183606 on 2008-10-04 15:06:34Z by bz Cache so_cred as inp_cred in the inpcb. This means that inp_cred is always there, even after the socket has gone away. It also means that it is constant for the lifetime of the inp. Both facts lead to simpler code and possibly less locking. Suggested by: rwatson Reviewed by: rwatson MFC after: 6 weeks X-MFC Note: use a inp_pspare for inp_cred Revision Changes Path 1.58 +5 -15 src/sys/contrib/pf/net/pf.c 1.221 +8 -4 src/sys/netinet/in_pcb.c 1.116 +1 -0 src/sys/netinet/in_pcb.h 1.197 +7 -15 src/sys/netinet/ip_fw2.c 1.195 +12 -11 src/sys/netinet/raw_ip.c 1.318 +2 -2 src/sys/netinet/tcp_subr.c 1.239 +1 -1 src/sys/netinet/udp_usrreq.c 1.97 +6 -6 src/sys/netinet6/in6_pcb.c 1.96 +1 -1 src/sys/netinet6/udp6_usrreq.c From rdivacky at FreeBSD.org Sat Oct 4 15:39:36 2008 From: rdivacky at FreeBSD.org (Roman Divacky) Date: Sat Oct 4 15:39:47 2008 Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c In-Reply-To: <200810041408.m94E8QSb028282@repoman.freebsd.org> References: <200810041408.m94E8QSb028282@repoman.freebsd.org> Message-ID: <20081004153900.GA97609@freebsd.org> On Sat, Oct 04, 2008 at 02:08:16PM +0000, Konstantin Belousov wrote: > kib 2008-10-04 14:08:16 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linprocfs linprocfs.c > sys/fs/procfs procfs_map.c > Log: > SVN rev 183600 on 2008-10-04 14:08:16Z by kib > > Change the linprocfs /maps and procfs /map handlers to use > sbuf instead of doing uiomove. This allows for reads from non-zero > offsets to work. > > Patch is forward-ported des@' one, and was adopted to current code > by dchagin@ and me. > > Reviewed by: des (linprocfs part) > PR: kern/101453 > MFC after: 1 week > > Revision Changes Path > 1.125 +5 -29 src/sys/compat/linprocfs/linprocfs.c > 1.42 +7 -29 src/sys/fs/procfs/procfs_map.c it should be noted that this patch lets flash9 work reliably on FreeBSD. From simon at FreeBSD.org Sat Oct 4 15:41:34 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Oct 4 15:41:45 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810041541.m94FfXDe036989@repoman.freebsd.org> simon 2008-10-04 15:41:25 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183607 on 2008-10-04 15:41:25Z by simon - Add ae(4). - Add 2008 to copyright years. Revision Changes Path 1.333 +3 -0 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From stas at FreeBSD.org Sat Oct 4 15:44:35 2008 From: stas at FreeBSD.org (Stanislav Sedov) Date: Sat Oct 4 15:44:41 2008 Subject: cvs commit: src/share/man/man4 vlan.4 Message-ID: <200810041544.m94FiYcJ037221@repoman.freebsd.org> stas 2008-10-04 15:44:22 UTC FreeBSD src repository Modified files: share/man/man4 vlan.4 Log: SVN rev 183608 on 2008-10-04 15:44:22Z by stas - Add ae(4) to the list of devices support full hardware VLAN tags processing. Approved by: kib (mentor) MFC after: 1 week Revision Changes Path 1.48 +1 -0 src/share/man/man4/vlan.4 From dchagin at freebsd.org Sat Oct 4 16:19:44 2008 From: dchagin at freebsd.org (Chagin Dmitry) Date: Sat Oct 4 16:19:51 2008 Subject: cvs commit: src/sys/compat/linprocfs linprocfs.c src/sys/fs/procfs procfs_map.c In-Reply-To: <20081004153900.GA97609@freebsd.org> References: <200810041408.m94E8QSb028282@repoman.freebsd.org> <20081004153900.GA97609@freebsd.org> Message-ID: <20081004155241.GA39288@dchagin.dialup.corbina.ru> On Sat, Oct 04, 2008 at 05:39:00PM +0200, Roman Divacky wrote: > On Sat, Oct 04, 2008 at 02:08:16PM +0000, Konstantin Belousov wrote: > > kib 2008-10-04 14:08:16 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/compat/linprocfs linprocfs.c > > sys/fs/procfs procfs_map.c > > Log: > > SVN rev 183600 on 2008-10-04 14:08:16Z by kib > > > > Change the linprocfs /maps and procfs /map handlers to use > > sbuf instead of doing uiomove. This allows for reads from non-zero > > offsets to work. > > > > Patch is forward-ported des@' one, and was adopted to current code > > by dchagin@ and me. > > > > Reviewed by: des (linprocfs part) > > PR: kern/101453 > > MFC after: 1 week > > > > Revision Changes Path > > 1.125 +5 -29 src/sys/compat/linprocfs/linprocfs.c > > 1.42 +7 -29 src/sys/fs/procfs/procfs_map.c > > it should be noted that this patch lets flash9 work reliably on FreeBSD. > only for compat.linux.osrelease=2.4.2 2.6.16 still requires affinity() patch. I'm sure thnx Kostik! -- Have fun! chd From simon at FreeBSD.org Sat Oct 4 16:21:21 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sat Oct 4 16:21:36 2008 Subject: cvs commit: src/share/man/man4 ae.4 Message-ID: <200810041621.m94GLKir054918@repoman.freebsd.org> simon 2008-10-04 16:21:04 UTC FreeBSD src repository Modified files: share/man/man4 ae.4 Log: SVN rev 183609 on 2008-10-04 16:21:04Z by simon - Minor mdoc cleanup. - Make HARDWARE section a bit more friendly for the Hardware Notes. Revision Changes Path 1.2 +4 -3 src/share/man/man4/ae.4 From bz at FreeBSD.org Sat Oct 4 16:48:22 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Oct 4 16:48:33 2008 Subject: cvs commit: src/sys/netinet raw_ip.c Message-ID: <200810041648.m94GmL35076014@repoman.freebsd.org> bz 2008-10-04 16:48:09 UTC FreeBSD src repository Modified files: sys/netinet raw_ip.c Log: SVN rev 183610 on 2008-10-04 16:48:09Z by bz Remove an INP_RUNLOCK() missed in SVN r183606, cvs rev. 1.195 raw_ip.c when transitioning from so_cred to inp_cred. MFC after: 6 weeks Revision Changes Path 1.196 +0 -1 src/sys/netinet/raw_ip.c From bz at FreeBSD.org Sat Oct 4 17:08:08 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sat Oct 4 17:08:20 2008 Subject: cvs commit: src/sys/netinet6 in6_pcb.c Message-ID: <200810041708.m94H8752086460@repoman.freebsd.org> bz 2008-10-04 17:07:58 UTC FreeBSD src repository Modified files: sys/netinet6 in6_pcb.c Log: SVN rev 183611 on 2008-10-04 17:07:58Z by bz Style changes: compare pointer to NULL and move a }. MFC after: 6 weeks Revision Changes Path 1.98 +2 -3 src/sys/netinet6/in6_pcb.c From kib at FreeBSD.org Sat Oct 4 19:23:40 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sat Oct 4 19:23:46 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <200810041923.m94JNdfG004774@repoman.freebsd.org> kib 2008-10-04 19:23:30 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c Log: SVN rev 183612 on 2008-10-04 19:23:30Z by kib Current linux_fooaffinity() emulation fails, as the FreeBSD affinity syscalls expect the bitmap size in the range from 32 to 128. Old glibc always assumed size 1024, while newer glibc searches for approriate size, starting from 1024 and going up. For now, use FreeBSD size of cpuset_t for bitmap size parameter and return EINVAL if length of user space bitmap less than our size of cpuset_t. Submitted by: dchagin MFC after: 1 week [This requires MFC of the actual linux affinity syscalls] Revision Changes Path 1.229 +9 -4 src/sys/compat/linux/linux_misc.c From rdivacky at FreeBSD.org Sat Oct 4 21:23:04 2008 From: rdivacky at FreeBSD.org (Roman Divacky) Date: Sat Oct 4 21:23:10 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c In-Reply-To: <200810041923.m94JNdfG004774@repoman.freebsd.org> References: <200810041923.m94JNdfG004774@repoman.freebsd.org> Message-ID: <20081004212237.GA58802@freebsd.org> On Sat, Oct 04, 2008 at 07:23:30PM +0000, Konstantin Belousov wrote: > kib 2008-10-04 19:23:30 UTC > > FreeBSD src repository > > Modified files: > sys/compat/linux linux_misc.c > Log: > SVN rev 183612 on 2008-10-04 19:23:30Z by kib > > Current linux_fooaffinity() emulation fails, as the FreeBSD affinity > syscalls expect the bitmap size in the range from 32 to 128. Old glibc > always assumed size 1024, while newer glibc searches for approriate > size, starting from 1024 and going up. > > For now, use FreeBSD size of cpuset_t for bitmap size parameter and > return EINVAL if length of user space bitmap less than our size of > cpuset_t. > > Submitted by: dchagin > MFC after: 1 week > [This requires MFC of the actual linux affinity syscalls] I think this patch (actually, the reverse of this) is what should be MFCed: --- /tmp/linux_misc.c 2008-10-01 14:43:31.000000000 +0200 +++ linux_misc.c 2008-10-01 14:41:57.000000000 +0200 @@ -1739,13 +1739,13 @@ int error; cpumask_t i = ~0; - if (args->len < sizeof(cpuset_t)) + if (args->len < sizeof(cpumask_t)) return (EINVAL); - error = copyout(&i, args->user_mask_ptr, sizeof(cpuset_t)); + error = copyout(&i, args->user_mask_ptr, sizeof(cpumask_t)); if (error) return (EFAULT); - td->td_retval[0] = sizeof(cpuset_t); + td->td_retval[0] = sizeof(cpumask_t); return (0); } this is a minimal change I believe, Juergen Lock tested this. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081004/d0cab9ed/attachment.pgp From delphij at FreeBSD.org Sat Oct 4 21:31:28 2008 From: delphij at FreeBSD.org (Xin LI) Date: Sat Oct 4 21:31:34 2008 Subject: cvs commit: src/share/man/man4 ata.4 Message-ID: <200810042131.m94LVRqU030144@repoman.freebsd.org> delphij 2008-10-04 21:31:12 UTC FreeBSD src repository Modified files: share/man/man4 ata.4 Log: SVN rev 183613 on 2008-10-04 21:31:12Z by delphij Note recently added ICH10 support Revision Changes Path 1.78 +2 -2 src/share/man/man4/ata.4 From sam at FreeBSD.org Sat Oct 4 23:58:15 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Sat Oct 4 23:58:21 2008 Subject: cvs commit: src/sys/kern subr_firmware.c Message-ID: <200810042358.m94NwEtJ043312@repoman.freebsd.org> sam 2008-10-04 23:58:02 UTC FreeBSD src repository Modified files: sys/kern subr_firmware.c Log: SVN rev 183614 on 2008-10-04 23:58:02Z by sam dynamically allocate the task structure in firmware_mountroot: when booting from an MFS root (e.g. from an install CD) firmware_mountroot can be called twice with the second call happening before the task callback occurs; this results in the task structure contents being corrupted because it was declared static. Submitted by: marius (original version) Revision Changes Path 1.11 +9 -3 src/sys/kern/subr_firmware.c From davidxu at FreeBSD.org Sun Oct 5 02:05:26 2008 From: davidxu at FreeBSD.org (David Xu) Date: Sun Oct 5 02:05:38 2008 Subject: cvs commit: src/sys/amd64/amd64 vm_machdep.c src/sys/i386/i386 vm_machdep.c Message-ID: <200810050205.m9525Qti066272@repoman.freebsd.org> davidxu 2008-10-05 02:03:54 UTC FreeBSD src repository Modified files: sys/amd64/amd64 vm_machdep.c sys/i386/i386 vm_machdep.c Log: SVN rev 183615 on 2008-10-05 02:03:54Z by davidxu If the current thread has the trap bit set (i.e. a debugger had single stepped the process to the system call), we need to clear the trap flag from the new frame. Otherwise, the new thread will receive a (likely unexpected) SIGTRAP when it executes the first instruction after returning to userland. Revision Changes Path 1.259 +8 -0 src/sys/amd64/amd64/vm_machdep.c 1.292 +8 -0 src/sys/i386/i386/vm_machdep.c From maxim at FreeBSD.org Sun Oct 5 05:13:06 2008 From: maxim at FreeBSD.org (Maxim Konovalov) Date: Sun Oct 5 05:14:04 2008 Subject: cvs commit: src/sbin/ifconfig ifconfig.8 Message-ID: <200810050513.m955D60l094311@repoman.freebsd.org> maxim 2008-10-05 05:12:48 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 Log: SVN rev 183616 on 2008-10-05 05:12:48Z by maxim o Typo fixes. PR: docs/127866 Submitted by: Marius Korsmo Revision Changes Path 1.155 +2 -2 src/sbin/ifconfig/ifconfig.8 From simon at FreeBSD.org Sun Oct 5 08:16:54 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 08:17:05 2008 Subject: cvs commit: src/release/doc/ja_JP.eucJP/hardware/common dev.sgml Message-ID: <200810050816.m958GrDc018497@repoman.freebsd.org> simon 2008-10-05 08:16:38 UTC FreeBSD src repository Modified files: release/doc/ja_JP.eucJP/hardware/common dev.sgml Log: SVN rev 183617 on 2008-10-05 08:16:38Z by simon Remove reference to hardware devices which does not exist anymore. This fixes the build. Revision Changes Path 1.33 +0 -11 src/release/doc/ja_JP.eucJP/hardware/common/dev.sgml From simon at FreeBSD.org Sun Oct 5 08:28:09 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 08:28:21 2008 Subject: cvs commit: src/release/doc/ru_RU.KOI8-R/hardware/common dev.sgml Message-ID: <200810050828.m958S9xJ019342@repoman.freebsd.org> simon 2008-10-05 08:27:56 UTC FreeBSD src repository Modified files: release/doc/ru_RU.KOI8-R/hardware/common dev.sgml Log: SVN rev 183618 on 2008-10-05 08:27:56Z by simon Remove reference to hardware devices which does not exist anymore. This fixes the build. Revision Changes Path 1.18 +0 -11 src/release/doc/ru_RU.KOI8-R/hardware/common/dev.sgml From kostikbel at gmail.com Sun Oct 5 08:54:57 2008 From: kostikbel at gmail.com (Kostik Belousov) Date: Sun Oct 5 08:55:04 2008 Subject: cvs commit: src/sys/compat/linux linux_misc.c In-Reply-To: <20081004212237.GA58802@freebsd.org> References: <200810041923.m94JNdfG004774@repoman.freebsd.org> <20081004212237.GA58802@freebsd.org> Message-ID: <20081005085452.GX46653@deviant.kiev.zoral.com.ua> On Sat, Oct 04, 2008 at 11:22:37PM +0200, Roman Divacky wrote: > On Sat, Oct 04, 2008 at 07:23:30PM +0000, Konstantin Belousov wrote: > > kib 2008-10-04 19:23:30 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/compat/linux linux_misc.c > > Log: > > SVN rev 183612 on 2008-10-04 19:23:30Z by kib > > > > Current linux_fooaffinity() emulation fails, as the FreeBSD affinity > > syscalls expect the bitmap size in the range from 32 to 128. Old glibc > > always assumed size 1024, while newer glibc searches for approriate > > size, starting from 1024 and going up. > > > > For now, use FreeBSD size of cpuset_t for bitmap size parameter and > > return EINVAL if length of user space bitmap less than our size of > > cpuset_t. > > > > Submitted by: dchagin > > MFC after: 1 week > > [This requires MFC of the actual linux affinity syscalls] > > I think this patch (actually, the reverse of this) is what should be > MFCed: > > --- /tmp/linux_misc.c 2008-10-01 14:43:31.000000000 +0200 > +++ linux_misc.c 2008-10-01 14:41:57.000000000 +0200 > @@ -1739,13 +1739,13 @@ > int error; > cpumask_t i = ~0; > > - if (args->len < sizeof(cpuset_t)) > + if (args->len < sizeof(cpumask_t)) > return (EINVAL); > > - error = copyout(&i, args->user_mask_ptr, sizeof(cpuset_t)); > + error = copyout(&i, args->user_mask_ptr, sizeof(cpumask_t)); > if (error) > return (EFAULT); > > - td->td_retval[0] = sizeof(cpuset_t); > + td->td_retval[0] = sizeof(cpumask_t); > return (0); > } > > this is a minimal change I believe, Juergen Lock tested this. I see no reason to not MFC r177257 together with this change. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20081005/79711750/attachment.pgp From kib at FreeBSD.org Sun Oct 5 09:13:41 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Oct 5 09:13:47 2008 Subject: cvs commit: src/sys/kern kern_shutdown.c Message-ID: <200810050913.m959DfMh033316@repoman.freebsd.org> kib 2008-10-05 09:13:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_shutdown.c Log: SVN rev 183619 on 2008-10-05 09:13:27Z by kib MFC r183412: If the panic thread is preempted after setting panicstr but before setting TDF_INPANIC then it will never be rescheduled again. Wrap setting the panic condition with the critical section. Approved by: re (kensmith) Revision Changes Path 1.182.2.6 +2 -0 src/sys/kern/kern_shutdown.c From simon at FreeBSD.org Sun Oct 5 09:35:58 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 09:36:04 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810050935.m959ZwX2035064@repoman.freebsd.org> simon 2008-10-05 09:35:46 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183620 on 2008-10-05 09:35:46Z by simon Move some lists which were inside a to outside the . This removes some vertical whitespace in the output. Whitespace was intentionally not fixed in the SGML for the related lists, to make the actual change more clear. This file is in need of a major whitespace cleanup anyway. Revision Changes Path 1.334 +22 -39 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From simon at FreeBSD.org Sun Oct 5 09:45:59 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 09:46:05 2008 Subject: cvs commit: src/release/doc/share/misc man2hwnotes.pl Message-ID: <200810050945.m959jwe8035858@repoman.freebsd.org> simon 2008-10-05 09:45:45 UTC FreeBSD src repository Modified files: release/doc/share/misc man2hwnotes.pl Log: SVN rev 183621 on 2008-10-05 09:45:45Z by simon - Add support for Pp command - this improves output for axe(4). - Add support for .Fx, just in case somebody starts using it. - Only add the arch information to the first para per manual page. This improves output for axe(4), and generally seems to make sense (I hope). - Remove an unneeded line for non-compat mode. Revision Changes Path 1.15 +16 -3 src/release/doc/share/misc/man2hwnotes.pl From kib at FreeBSD.org Sun Oct 5 09:56:29 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Oct 5 09:56:36 2008 Subject: cvs commit: src/sys/i386/i386 db_trace.c Message-ID: <200810050956.m959uTmS036715@repoman.freebsd.org> kib 2008-10-05 09:56:14 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/i386/i386 db_trace.c Log: SVN rev 183622 on 2008-10-05 09:56:14Z by kib MFC r183413: Frames created by the Xcpustop, Xrendezvous, Xipi_intr_bitmap_handler and Xlazypmap differ from the frame for Xtimerint. The Xtimerint puts pointer to the frame between return address and frame body, while rest of the functions listed above do not. Correct offset calculation to allow the ddb backtrace to step over such frames. Approved by: re (kensmith) Revision Changes Path 1.79.2.2 +7 -2 src/sys/i386/i386/db_trace.c From hrs at FreeBSD.org Sun Oct 5 09:57:46 2008 From: hrs at FreeBSD.org (Hiroki Sato) Date: Sun Oct 5 09:57:58 2008 Subject: cvs commit: src/release/doc/share/examples Makefile.relnotesng src/release/doc/share/sgml release.dsl release.ent Message-ID: <200810050957.m959vkWU036839@repoman.freebsd.org> hrs 2008-10-05 09:57:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_6_4) release/doc/share/examples Makefile.relnotesng release/doc/share/sgml release.dsl release.ent Log: SVN rev 183623 on 2008-10-05 09:57:33Z by hrs Update version numbers for 6.4R. Approved by: re (implicit) Revision Changes Path 1.11.2.2.4.2 +1 -1 src/release/doc/share/examples/Makefile.relnotesng 1.9.2.1.8.2 +0 -1 src/release/doc/share/sgml/release.dsl 1.24.2.9.2.2 +9 -10 src/release/doc/share/sgml/release.ent From kib at FreeBSD.org Sun Oct 5 10:04:17 2008 From: kib at FreeBSD.org (Konstantin Belousov) Date: Sun Oct 5 10:04:29 2008 Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb trgt_i386.c Message-ID: <200810051004.m95A4Gi9038463@repoman.freebsd.org> kib 2008-10-05 10:04:02 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) gnu/usr.bin/gdb/kgdb trgt_i386.c Log: SVN rev 183624 on 2008-10-05 10:04:02Z by kib MFC r183414: Differentiate between interrupt frames, trap interrupt frames and timer frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Approved by: re (kensmith) Revision Changes Path 1.6.2.6 +33 -3 src/gnu/usr.bin/gdb/kgdb/trgt_i386.c From simon at FreeBSD.org Sun Oct 5 10:32:03 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 10:32:10 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810051032.m95AW2bY041432@repoman.freebsd.org> simon 2008-10-05 10:31:46 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183625 on 2008-10-05 10:31:46Z by simon Move a lists which was inside a to outside the . This removes some vertical whitespace in the output. This one was missed in r183620. Revision Changes Path 1.335 +1 -2 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From simon at FreeBSD.org Sun Oct 5 11:02:04 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 11:02:10 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810051102.m95B234N043687@repoman.freebsd.org> simon 2008-10-05 11:01:50 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183626 on 2008-10-05 11:01:50Z by simon Major whitespace cleanup to follow FDP style. This was done since markup was getting in the way when doing "real" changes. The resulting HTML output is unchanged. Revision Changes Path 1.336 +1132 -918 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From simon at FreeBSD.org Sun Oct 5 11:39:35 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 11:39:46 2008 Subject: cvs commit: src/share/man/man4 vr.4 Message-ID: <200810051139.m95BdYf8047780@repoman.freebsd.org> simon 2008-10-05 11:39:16 UTC FreeBSD src repository Modified files: share/man/man4 vr.4 Log: SVN rev 183627 on 2008-10-05 11:39:16Z by simon Document that vr(4) supports Soekris Engineering net5501. Revision Changes Path 1.32 +2 -0 src/share/man/man4/vr.4 From marius at FreeBSD.org Sun Oct 5 14:00:55 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Oct 5 14:01:01 2008 Subject: cvs commit: src/sys/boot/sparc64/loader main.c Message-ID: <200810051400.m95E0qSd071107@repoman.freebsd.org> marius 2008-10-05 14:00:44 UTC FreeBSD src repository Modified files: sys/boot/sparc64/loader main.c Log: SVN rev 183628 on 2008-10-05 14:00:44Z by marius Disable ATAPI DMA as it's once again broken in that it causes data corruption with the on-board AcerLabs M5229 controllers. While at it, remove the pointless "nothing to autoload yet." message. MFC after: 3 days Revision Changes Path 1.39 +1 -1 src/sys/boot/sparc64/loader/main.c From marius at FreeBSD.org Sun Oct 5 14:15:44 2008 From: marius at FreeBSD.org (Marius Strobl) Date: Sun Oct 5 14:15:56 2008 Subject: cvs commit: src/usr.sbin Makefile Message-ID: <200810051415.m95EFiiU073401@repoman.freebsd.org> marius 2008-10-05 14:15:22 UTC FreeBSD src repository Modified files: usr.sbin Makefile Log: SVN rev 183629 on 2008-10-05 14:15:22Z by marius - Revert to the pre-r183242 behavior of building sade(8) on sparc64. - Fix whitespace. Revision Changes Path 1.398 +4 -3 src/usr.sbin/Makefile From bz at FreeBSD.org Sun Oct 5 17:44:31 2008 From: bz at FreeBSD.org (Bjoern A. Zeeb) Date: Sun Oct 5 17:44:42 2008 Subject: cvs commit: src/share/man/man4 enc.4 src/sys/net if_enc.c src/sys/netipsec ipsec.h ipsec_input.c ipsec_output.c xform.h xform_ipip.c Message-ID: <200810051744.m95HiQYX011003@repoman.freebsd.org> bz 2008-10-05 17:41:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 enc.4 sys/net if_enc.c sys/netipsec ipsec.h ipsec_input.c ipsec_output.c xform.h xform_ipip.c Log: SVN rev 183630 on 2008-10-05 17:41:46Z by bz MFC: rev. 1.7 net/if_enc.c rev. 1.14 netipsec/ipsec.h, 1.20 netipsec/ipsec_input.c rev. 1.17 netipsec/ipsec_output.c rev. 1.4 netipsec/xform.h, 1.16 netipsec/xform_ipip.c SVN r174054, 174055 Add sysctls to if_enc(4) to control whether the firewalls or bpf will see inner and outer headers or just inner or outer headers for incoming and outgoing IPsec packets. This is useful in bpf to not have over long lines for debugging or selcting packets based on the inner headers. It also properly defines the behavior of what the firewalls see. Last but not least it gives you if_enc(4) for IPv6 as well. [ As some auxiliary state was not available in the later input path we save it in the tdbi. That way tcpdump can give a consistent view of either of (authentic,confidential) for both before and after states. ] Note: The defaults were not changed but you may want to do that. See the the man page for more details. PR: kern/127785 Approved by: re (gnn) Revision Changes Path 1.5.2.1 +52 -7 src/share/man/man4/enc.4 1.6.2.3 +74 -11 src/sys/net/if_enc.c 1.13.2.2 +9 -2 src/sys/netipsec/ipsec.h 1.19.2.2 +21 -2 src/sys/netipsec/ipsec_input.c 1.16.2.3 +24 -2 src/sys/netipsec/ipsec_output.c 1.3.2.1 +3 -0 src/sys/netipsec/xform.h 1.15.2.1 +15 -1 src/sys/netipsec/xform_ipip.c From danger at FreeBSD.org Sun Oct 5 18:57:37 2008 From: danger at FreeBSD.org (Daniel Gerzo) Date: Sun Oct 5 18:57:49 2008 Subject: cvs commit: src/share/man/man5 Makefile nullfs.5 Message-ID: <200810051857.m95Ivanc018080@repoman.freebsd.org> danger 2008-10-05 18:57:27 UTC FreeBSD src repository Modified files: share/man/man5 Makefile Added files: share/man/man5 nullfs.5 Log: SVN rev 183631 on 2008-10-05 18:57:27Z by danger Add initial version of the nullfs(5) man page MFC after: 3 days Revision Changes Path 1.81 +1 -0 src/share/man/man5/Makefile 1.1 +75 -0 src/share/man/man5/nullfs.5 (new) From simon at FreeBSD.org Sun Oct 5 19:23:53 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Sun Oct 5 19:23:59 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810051923.m95JNqYe021818@repoman.freebsd.org> simon 2008-10-05 19:23:33 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183632 on 2008-10-05 19:23:33Z by simon - Add age(4). Suggested by: stass MFC after: 3 days (including other recent changes) Revision Changes Path 1.337 +2 -0 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From rwatson at FreeBSD.org Sun Oct 5 21:05:24 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Sun Oct 5 21:05:31 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810052105.m95L5Ox3042485@repoman.freebsd.org> rwatson 2008-10-05 21:05:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern uipc_socket.c Log: SVN rev 183633 on 2008-10-05 21:05:20Z by rwatson Merge r183512 from head to stable/7: Various cleanups for soreceive_dgram(): - Update or remove comments that were left over from the original soreceive_generic() implementation. Quite a few were misleading in the context of the new code. - Since soreceive_dgram() has a simpler structure, replace several gotos with a while loop making the invariants more clear. - In the blocking while loop, don't try to handle cases incompatible with the loop invariant (since m is always NULL, don't check for and handle non-NULL). - Don't drop and re-acquire the socket buffer lock unnecessarily after sbwait() returns, which may help reduce lock contention (etc). - Assume PR_ATOMIC since we assert it at the top of the function. Approved by: re (gnn) Revision Changes Path 1.302.2.8 +19 -58 src/sys/kern/uipc_socket.c From imp at FreeBSD.org Sun Oct 5 23:37:12 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Oct 5 23:37:28 2008 Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c Message-ID: <200810052337.m95NbB0U060634@repoman.freebsd.org> imp 2008-10-05 23:37:03 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/boot2 boot2.c Log: SVN rev 183634 on 2008-10-05 23:37:03Z by imp Indent with 8-space tabs. This reduces the diffs to the newer ixp425 boot2 and may make it easier to merge these files in the future... Revision Changes Path 1.9 +166 -162 src/sys/boot/arm/at91/boot2/boot2.c From imp at FreeBSD.org Sun Oct 5 23:39:42 2008 From: imp at FreeBSD.org (Warner Losh) Date: Sun Oct 5 23:39:53 2008 Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c centipad_board.c kb920x_board.c Message-ID: <200810052339.m95Ndg10062145@repoman.freebsd.org> imp 2008-10-05 23:39:28 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/boot2 boot2.c centipad_board.c kb920x_board.c Log: SVN rev 183635 on 2008-10-05 23:39:28Z by imp Remove XMODEM_DL support. It never was complete and only serves to increase the diffs with other arm boot2 loaders. Revision Changes Path 1.10 +0 -4 src/sys/boot/arm/at91/boot2/boot2.c 1.2 +0 -5 src/sys/boot/arm/at91/boot2/centipad_board.c 1.5 +0 -5 src/sys/boot/arm/at91/boot2/kb920x_board.c From imp at FreeBSD.org Mon Oct 6 00:00:18 2008 From: imp at FreeBSD.org (Warner Losh) Date: Mon Oct 6 00:00:29 2008 Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c Message-ID: <200810052359.m95NxwpY065129@repoman.freebsd.org> imp 2008-10-05 23:59:52 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/boot2 boot2.c Log: SVN rev 183636 on 2008-10-05 23:59:52Z by imp Bring in the trivial differences between this code and John Hay's new code. Added a copyright for the work I did to this file a couple of years ago. Add John's copyright too, since I'm sure I'll be pulling more into this code. This also implements a new -n option to not allow breaking into the boot sequence which was original in the patch John posted (not in the original i386 code I based this boot2.c on, only the name is the same). I haven't checked to see if he did that, or if it was one of Sam's improvements. Submitted by: jhay@ Revision Changes Path 1.11 +26 -17 src/sys/boot/arm/at91/boot2/boot2.c From yongari at FreeBSD.org Mon Oct 6 00:28:46 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Oct 6 00:28:51 2008 Subject: cvs commit: src/sys/dev/nfe if_nfe.c if_nfereg.h Message-ID: <200810060028.m960SjMe068673@repoman.freebsd.org> yongari 2008-10-06 00:28:34 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/nfe if_nfe.c if_nfereg.h Log: SVN rev 183637 on 2008-10-06 00:28:34Z by yongari MFC r183509: Add device ids for MCP77/79 and set appropriate support flags. Obtained from: OpenBSD PR: kern/127529 Approved by: re (kensmith) Revision Changes Path 1.21.2.7 +32 -0 src/sys/dev/nfe/if_nfe.c 1.10.2.3 +8 -0 src/sys/dev/nfe/if_nfereg.h From yongari at FreeBSD.org Mon Oct 6 03:40:26 2008 From: yongari at FreeBSD.org (Pyun YongHyeon) Date: Mon Oct 6 03:40:32 2008 Subject: cvs commit: src/share/man/man4 nfe.4 Message-ID: <200810060340.m963eP0n096700@repoman.freebsd.org> yongari 2008-10-06 03:40:06 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man4 nfe.4 Log: SVN rev 183638 on 2008-10-06 03:40:06Z by yongari MFC: r183530 Mention support for nForce MCP77 and MCP79. Touch Dd. Approved by: re (hrs) Revision Changes Path 1.8.2.3 +7 -2 src/share/man/man4/nfe.4 From jhay at meraka.org.za Mon Oct 6 05:32:39 2008 From: jhay at meraka.org.za (John Hay) Date: Mon Oct 6 05:32:50 2008 Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c In-Reply-To: <200810052359.m95NxwpY065129@repoman.freebsd.org> References: <200810052359.m95NxwpY065129@repoman.freebsd.org> Message-ID: <20081006053236.GA87963@zibbi.meraka.csir.co.za> On Sun, Oct 05, 2008 at 11:59:52PM +0000, Warner Losh wrote: > imp 2008-10-05 23:59:52 UTC > > FreeBSD src repository > > Modified files: > sys/boot/arm/at91/boot2 boot2.c > Log: > SVN rev 183636 on 2008-10-05 23:59:52Z by imp > > Bring in the trivial differences between this code and John Hay's new > code. Added a copyright for the work I did to this file a couple of > years ago. Add John's copyright too, since I'm sure I'll be pulling > more into this code. This also implements a new -n option to not > allow breaking into the boot sequence which was original in the patch > John posted (not in the original i386 code I based this boot2.c on, > only the name is the same). I haven't checked to see if he did that, > or if it was one of Sam's improvements. The -n part came from a patch I got from Andrew Thompson (thompsa). John -- John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org From kmacy at FreeBSD.org Mon Oct 6 06:26:13 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Oct 6 06:26:20 2008 Subject: cvs commit: src/sys/dev/cxgb cxgb_sge.c Message-ID: <200810060626.m966QDfr023339@repoman.freebsd.org> kmacy 2008-10-06 06:26:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb cxgb_sge.c Log: SVN rev 183639 on 2008-10-06 06:26:00Z by kmacy Fix bug in LRO on T304 whereby a packet could be sent to the wrong interface's ifp. Submitted by: Chelsio Inc. Approved by: re Revision Changes Path 1.30.2.8 +12 -1 src/sys/dev/cxgb/cxgb_sge.c From kmacy at FreeBSD.org Mon Oct 6 06:43:29 2008 From: kmacy at FreeBSD.org (Kip Macy) Date: Mon Oct 6 06:43:36 2008 Subject: cvs commit: src/sys/dev/cxgb/sys mbufq.h Message-ID: <200810060643.m966hTR6024739@repoman.freebsd.org> kmacy 2008-10-06 06:43:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cxgb/sys mbufq.h Log: SVN rev 183640 on 2008-10-06 06:43:20Z by kmacy MFC fixes to mbufq interface Approved by: re Revision Changes Path 1.2.2.1 +37 -5 src/sys/dev/cxgb/sys/mbufq.h From jkoshy at FreeBSD.org Mon Oct 6 10:38:11 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Mon Oct 6 10:38:22 2008 Subject: cvs commit: src/lib/libpmc pmc.p6.3 src/sys/dev/hwpmc pmc_events.h Message-ID: <200810061038.m96AcB3Z059590@repoman.freebsd.org> jkoshy 2008-10-06 10:34:44 UTC FreeBSD src repository Modified files: lib/libpmc pmc.p6.3 sys/dev/hwpmc pmc_events.h Log: SVN rev 183641 on 2008-10-06 10:34:44Z by jkoshy Correct a typo. Revision Changes Path 1.5 +1 -1 src/lib/libpmc/pmc.p6.3 1.5 +1 -1 src/sys/dev/hwpmc/pmc_events.h From gallatin at FreeBSD.org Mon Oct 6 12:58:14 2008 From: gallatin at FreeBSD.org (Andrew Gallatin) Date: Mon Oct 6 12:58:19 2008 Subject: cvs commit: src/sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Message-ID: <200810061258.m96CwDHa082170@repoman.freebsd.org> gallatin 2008-10-06 12:58:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/mxge eth_z8e.h ethp_z8e.h mxge_mcp.h rss_eth_z8e.h rss_ethp_z8e.h Log: SVN rev 183642 on 2008-10-06 12:58:03Z by gallatin MFC: 183515 Update to Myri10GE firmware version 1.4.33 from 1.4.29. Approved by: re (kensmith) Revision Changes Path 1.2.4.2 +7042 -13148 src/sys/dev/mxge/eth_z8e.h 1.2.4.2 +7080 -13233 src/sys/dev/mxge/ethp_z8e.h 1.8.2.2 +57 -9 src/sys/dev/mxge/mxge_mcp.h 1.2.2.2 +9212 -15096 src/sys/dev/mxge/rss_eth_z8e.h 1.2.2.2 +9264 -15177 src/sys/dev/mxge/rss_ethp_z8e.h From lstewart at FreeBSD.org Mon Oct 6 14:20:15 2008 From: lstewart at FreeBSD.org (Lawrence Stewart) Date: Mon Oct 6 14:20:22 2008 Subject: cvs commit: src/share/misc committers-src.dot Message-ID: <200810061420.m96EKFDh090889@repoman.freebsd.org> lstewart 2008-10-06 14:20:03 UTC FreeBSD src repository Modified files: share/misc committers-src.dot Log: SVN rev 183643 on 2008-10-06 14:20:03Z by lstewart Add myself as requested by the committers-guide Approved by: gnn (mentor) Revision Changes Path 1.87 +4 -0 src/share/misc/committers-src.dot From obrien at FreeBSD.org Mon Oct 6 16:12:34 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Oct 6 16:12:40 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_ioctl.c freebsd32_ioctl.h freebsd32_misc.c syscalls.master src/sys/conf files.amd64 files.ia64 src/sys/kern vfs_mount.c src/sys/sys mount.h Message-ID: <200810061612.m96GCXEu002230@repoman.freebsd.org> obrien 2008-10-06 16:11:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/freebsd32 freebsd32_misc.c syscalls.master sys/conf files.amd64 files.ia64 sys/kern vfs_mount.c sys/sys mount.h Added files: (Branch: RELENG_7) sys/compat/freebsd32 freebsd32_ioctl.c freebsd32_ioctl.h Log: SVN rev 183644 on 2008-10-06 16:11:08Z by obrien MFC: revs 183042,183044,183188,183189,183270,183271,183273. Add freebsd32 compat shim for nmount(2). Also 32-bit ioctl shims for MDIO, CDIOREADTOCHEADER and CDIOREADTOCENTRYS requests. Fix bug which removed the 32-bit swapon(2) interface. style(9). Approved by: re(kostikbel) Revision Changes Path 1.2.2.1 +220 -0 src/sys/compat/freebsd32/freebsd32_ioctl.c (new) 1.2.2.1 +72 -0 src/sys/compat/freebsd32/freebsd32_ioctl.h (new) 1.67.2.5 +50 -5 src/sys/compat/freebsd32/freebsd32_misc.c 1.91.2.6 +4 -4 src/sys/compat/freebsd32/syscalls.master 1.107.2.8 +1 -0 src/sys/conf/files.amd64 1.92.2.2 +1 -0 src/sys/conf/files.ia64 1.265.2.11 +1 -3 src/sys/kern/vfs_mount.c 1.228.2.3 +1 -0 src/sys/sys/mount.h From obrien at FreeBSD.org Mon Oct 6 16:12:36 2008 From: obrien at FreeBSD.org (David E. O'Brien) Date: Mon Oct 6 16:12:55 2008 Subject: cvs commit: src/sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Message-ID: <200810061612.m96GCYgl002270@repoman.freebsd.org> obrien 2008-10-06 16:12:28 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/compat/freebsd32 freebsd32_proto.h freebsd32_syscall.h freebsd32_syscalls.c freebsd32_sysent.c Log: SVN rev 183645 on 2008-10-06 16:12:28Z by obrien Regenerate after r183644. Approved by: re(kostikbel) Revision Changes Path 1.78.2.4 +15 -1 src/sys/compat/freebsd32/freebsd32_proto.h 1.76.2.4 +4 -4 src/sys/compat/freebsd32/freebsd32_syscall.h 1.67.2.4 +4 -4 src/sys/compat/freebsd32/freebsd32_syscalls.c 1.77.2.4 +4 -4 src/sys/compat/freebsd32/freebsd32_sysent.c From simon at FreeBSD.org Mon Oct 6 17:49:37 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 17:49:47 2008 Subject: cvs commit: src/share/man/man4 jme.4 Message-ID: <200810061749.m96HnadA021024@repoman.freebsd.org> simon 2008-10-06 17:49:24 UTC FreeBSD src repository Modified files: share/man/man4 jme.4 Log: SVN rev 183646 on 2008-10-06 17:49:24Z by simon Add a HARDWARE section. It doesn't contain any information not already in the DESCRIPTION section, but this allows for the manual page to be used in the automatic hardware notes generation. MFC after: 3 days Revision Changes Path 1.2 +12 -1 src/share/man/man4/jme.4 From simon at FreeBSD.org Mon Oct 6 17:51:53 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 17:51:59 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810061751.m96HpqJC021248@repoman.freebsd.org> simon 2008-10-06 17:51:44 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183647 on 2008-10-06 17:51:44Z by simon - Add jme(4). Suggested by: yongari MFC after: 3 days Revision Changes Path 1.338 +2 -0 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From simon at FreeBSD.org Mon Oct 6 18:07:24 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 18:07:35 2008 Subject: cvs commit: src/share/man/man4 bce.4 Message-ID: <200810061807.m96I7Njd023549@repoman.freebsd.org> simon 2008-10-06 18:07:07 UTC FreeBSD src repository Modified files: share/man/man4 bce.4 Log: SVN rev 183648 on 2008-10-06 18:07:07Z by simon Document that the bce(4) driver works with Dell PowerEdge 1950/2950 NIC's. MFC after: 3 days Revision Changes Path 1.9 +4 -0 src/share/man/man4/bce.4 From rwatson at FreeBSD.org Mon Oct 6 18:38:56 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Oct 6 18:39:08 2008 Subject: cvs commit: src/sys/fs/portalfs portal_vnops.c Message-ID: <200810061838.m96Icta7026270@repoman.freebsd.org> rwatson 2008-10-06 18:38:50 UTC FreeBSD src repository Modified files: sys/fs/portalfs portal_vnops.c Log: SVN rev 183649 on 2008-10-06 18:38:50Z by rwatson Use soconnect2() rather than directly invoking uipc_connect2() to interconnect two UNIX domain sockets. MFC after: 3 days Revision Changes Path 1.78 +1 -1 src/sys/fs/portalfs/portal_vnops.c From rwatson at FreeBSD.org Mon Oct 6 18:44:05 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Oct 6 18:44:16 2008 Subject: cvs commit: src/sys/kern uipc_usrreq.c src/sys/sys un.h Message-ID: <200810061844.m96Ii59a026747@repoman.freebsd.org> rwatson 2008-10-06 18:43:11 UTC FreeBSD src repository Modified files: sys/kern uipc_usrreq.c sys/sys un.h Log: SVN rev 183650 on 2008-10-06 18:43:11Z by rwatson Now that portalfs doesn't directly invoke uipc_connect2(), make it a static symbol. MFC after: 3 days Revision Changes Path 1.219 +2 -1 src/sys/kern/uipc_usrreq.c 1.31 +2 -7 src/sys/sys/un.h From jhay at FreeBSD.org Mon Oct 6 19:38:24 2008 From: jhay at FreeBSD.org (John Hay) Date: Mon Oct 6 19:38:36 2008 Subject: cvs commit: src/sys/boot/arm/ixp425 Makefile.inc src/sys/boot/arm/ixp425/boot2 Makefile arm_init.S boot2.c cf_ata.h ixp425_board.c lib.h Message-ID: <200810061938.m96JcOaP032784@repoman.freebsd.org> jhay 2008-10-06 19:38:10 UTC FreeBSD src repository Added files: sys/boot/arm/ixp425 Makefile.inc sys/boot/arm/ixp425/boot2 Makefile arm_init.S boot2.c cf_ata.h ixp425_board.c lib.h Log: SVN rev 183651 on 2008-10-06 19:38:10Z by jhay Add a boot loader for ixp425 based boards like the Gateworks Avila and ADI Pronghorn Metro with Redboot on them. Revision Changes Path 1.1 +42 -0 src/sys/boot/arm/ixp425/Makefile.inc (new) 1.1 +75 -0 src/sys/boot/arm/ixp425/boot2/Makefile (new) 1.1 +50 -0 src/sys/boot/arm/ixp425/boot2/arm_init.S (new) 1.1 +483 -0 src/sys/boot/arm/ixp425/boot2/boot2.c (new) 1.1 +62 -0 src/sys/boot/arm/ixp425/boot2/cf_ata.h (new) 1.1 +697 -0 src/sys/boot/arm/ixp425/boot2/ixp425_board.c (new) 1.1 +64 -0 src/sys/boot/arm/ixp425/boot2/lib.h (new) From rwatson at FreeBSD.org Mon Oct 6 19:42:13 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Mon Oct 6 19:42:31 2008 Subject: cvs commit: src/tools/regression/sockets/fstat Makefile fstat.c Message-ID: <200810061942.m96Jg9PG033192@repoman.freebsd.org> rwatson 2008-10-06 19:42:03 UTC FreeBSD src repository Added files: tools/regression/sockets/fstat Makefile fstat.c Log: SVN rev 183652 on 2008-10-06 19:42:03Z by rwatson Add very simple regression test for fstat(2) on sockets: make sure it returns success for various socket types. It's easy to imagine this being enhanced to validate the returned data, but... Revision Changes Path 1.1 +9 -0 src/tools/regression/sockets/fstat/Makefile (new) 1.1 +71 -0 src/tools/regression/sockets/fstat/fstat.c (new) From simon at FreeBSD.org Mon Oct 6 20:45:11 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 20:45:22 2008 Subject: cvs commit: src/share/man/man4 em.4 Message-ID: <200810062045.m96KjBLw039177@repoman.freebsd.org> simon 2008-10-06 20:45:08 UTC FreeBSD src repository Modified files: share/man/man4 em.4 Log: SVN rev 183653 on 2008-10-06 20:45:08Z by simon - Add 82574 to list of supported controller chips. - Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of supported adaptors. The list of adaptors was found at http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957 MFC after: 1 week Revision Changes Path 1.29 +18 -3 src/share/man/man4/em.4 From simon at FreeBSD.org Mon Oct 6 21:39:12 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 21:39:19 2008 Subject: cvs commit: src/share/man/man4 Makefile igb.4 Message-ID: <200810062139.m96LdC0I056024@repoman.freebsd.org> simon 2008-10-06 21:38:55 UTC FreeBSD src repository Modified files: share/man/man4 Makefile Added files: share/man/man4 igb.4 Log: SVN rev 183654 on 2008-10-06 21:38:55Z by simon Only a few of the loader tunables / sysctl variables are documented, as I'm not really sure what the rest do. The list of adaptors was found at http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815 MFC after: 1 week Revision Changes Path 1.433 +1 -0 src/share/man/man4/Makefile 1.1 +196 -0 src/share/man/man4/igb.4 (new) From simon at FreeBSD.org Mon Oct 6 21:43:05 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 21:43:17 2008 Subject: cvs commit: src/share/man/man4 Makefile igb.4 In-Reply-To: <200810062139.m96LdC0I056024@repoman.freebsd.org> References: <200810062139.m96LdC0I056024@repoman.freebsd.org> Message-ID: <20081006214304.GD1112@arthur.nitro.dk> On 2008.10.06 21:38:55 +0000, Simon L. Nielsen wrote: > simon 2008-10-06 21:38:55 UTC > > FreeBSD src repository > > Modified files: > share/man/man4 Makefile > Added files: > share/man/man4 igb.4 > Log: > SVN rev 183654 on 2008-10-06 21:38:55Z by simon > > Only a few of the loader tunables / sysctl variables are documented, > as I'm not really sure what the rest do. > > The list of adaptors was found at > http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=15815 Sigh, I forgot the first paragraph of the commit message... : Add a manual page for the igb driver. This page was largely based on the em(4) manual page, and updated for igb(4) after reading the source code. We never found a solution for "forced commits", right? -- Simon L. Nielsen From simon at FreeBSD.org Mon Oct 6 21:52:28 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 21:52:40 2008 Subject: cvs commit: src/release/doc/en_US.ISO8859-1/hardware article.sgml Message-ID: <200810062152.m96LqSTp057071@repoman.freebsd.org> simon 2008-10-06 21:52:11 UTC FreeBSD src repository Modified files: release/doc/en_US.ISO8859-1/hardware article.sgml Log: SVN rev 183655 on 2008-10-06 21:52:11Z by simon Add igb(4). MFC after: 1 week Revision Changes Path 1.339 +2 -0 src/release/doc/en_US.ISO8859-1/hardware/article.sgml From simon at FreeBSD.org Mon Oct 6 21:56:05 2008 From: simon at FreeBSD.org (Simon L. Nielsen) Date: Mon Oct 6 21:56:11 2008 Subject: cvs commit: src/share/man/man4 em.4 Message-ID: <200810062155.m96Ltx05057383@repoman.freebsd.org> simon 2008-10-06 21:55:53 UTC FreeBSD src repository Modified files: share/man/man4 em.4 Log: SVN rev 183656 on 2008-10-06 21:55:53Z by simon Reference igb(4) i SEE ALSO. MFC after: 1 week Revision Changes Path 1.30 +1 -0 src/share/man/man4/em.4 From edwin at FreeBSD.org Mon Oct 6 22:25:46 2008 From: edwin at FreeBSD.org (Edwin Groothuis) Date: Mon Oct 6 22:25:57 2008 Subject: cvs commit: src/share/zoneinfo southamerica Message-ID: <200810062225.m96MPkLu060871@repoman.freebsd.org> edwin 2008-10-06 22:25:26 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/zoneinfo southamerica Log: SVN rev 183659 on 2008-10-06 22:25:26Z by edwin MFC of r183536 MFV of r183657 Vendor import of tzdata2008g - Fix DST changes in Brazil which are clashing with Carnaval. Approved by: re (kib) Revision Changes Path 1.31.2.6 +27 -6 src/share/zoneinfo/southamerica From delphij at FreeBSD.org Mon Oct 6 22:34:32 2008 From: delphij at FreeBSD.org (Xin LI) Date: Mon Oct 6 22:34:43 2008 Subject: cvs commit: src/sys/dev/twa tw_osl_freebsd.c Message-ID: <200810062234.m96MYVDi061539@repoman.freebsd.org> delphij 2008-10-06 22:34:17 UTC FreeBSD src repository Modified files: sys/dev/twa tw_osl_freebsd.c Log: SVN rev 183660 on 2008-10-06 22:34:17Z by delphij Limit DMA memory to lower addressable 4GB, without this patch, we can reliably provoke data corruption on systems equipped with a plenty of memory during high load. Reported by: gnn via iXsystems MFC candidate: RELENG_7_1, RELENG_7 Revision Changes Path 1.11 +4 -4 src/sys/dev/twa/tw_osl_freebsd.c From rwatson at FreeBSD.org Tue Oct 7 07:10:39 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 07:10:46 2008 Subject: cvs commit: src/sys/kern sys_socket.c Message-ID: <200810070710.m977AcYe035971@repoman.freebsd.org> rwatson 2008-10-07 07:10:28 UTC FreeBSD src repository Modified files: sys/kern sys_socket.c Log: SVN rev 183661 on 2008-10-07 07:10:28Z by rwatson Lock receive socket buffer in soo_stat() rather than commenting that we should lock it, which may marginally improve the consistency of the results. Remove comment. MFC after: 3 days Revision Changes Path 1.77 +4 -5 src/sys/kern/sys_socket.c From rwatson at FreeBSD.org Tue Oct 7 09:41:11 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 09:41:17 2008 Subject: cvs commit: src/sys/netinet tcp_input.c Message-ID: <200810070941.m979fAO2061019@repoman.freebsd.org> rwatson 2008-10-07 09:41:07 UTC FreeBSD src repository Modified files: sys/netinet tcp_input.c Log: SVN rev 183662 on 2008-10-07 09:41:07Z by rwatson Don't pass curthread to sbreserve_locked() in tcp_do_segment(), as the netisr or ithread's socket buffer size limit is not the right limit to use. Instead, pass NULL as the other two calls to sbreserve_locked() in the TCP input path (tcp_mss()) do. In practice, this is a no-op, as ithreads and the netisr run without a process limit on socket buffer use, and a NULL thread pointer leads to not using the process's limit, if any. However, if tcp_input() is called in other contexts that do have limits, this may prevent the incorrect limit from being used. MFC after: 3 days Revision Changes Path 1.385 +1 -1 src/sys/netinet/tcp_input.c From rwatson at FreeBSD.org Tue Oct 7 09:51:57 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 09:52:13 2008 Subject: cvs commit: src/sys/kern uipc_sockbuf.c Message-ID: <200810070951.m979puW8062154@repoman.freebsd.org> rwatson 2008-10-07 09:51:39 UTC FreeBSD src repository Modified files: sys/kern uipc_sockbuf.c Log: SVN rev 183663 on 2008-10-07 09:51:39Z by rwatson Rewrite sbreserve_locked()'s comment on NULL thread pointers, eliminating an XXXRW about the comment being stale. MFC after: 3 days Revision Changes Path 1.179 +5 -4 src/sys/kern/uipc_sockbuf.c From rwatson at FreeBSD.org Tue Oct 7 09:57:15 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 09:57:21 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810070957.m979vCMN062573@repoman.freebsd.org> rwatson 2008-10-07 09:57:03 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 183664 on 2008-10-07 09:57:03Z by rwatson Remove temporary debugging KASSERT's introduced to detect protocols improperly invoking sosend(), soreceive(), and sopoll() instead of attach either specialized or _generic() versions of those functions to their pru_sosend, pru_soreceive, and pru_sopoll protosw methods. MFC after: 3 days Revision Changes Path 1.318 +0 -12 src/sys/kern/uipc_socket.c From lulf at FreeBSD.org Tue Oct 7 10:25:44 2008 From: lulf at FreeBSD.org (Ulf Lilleengen) Date: Tue Oct 7 10:25:50 2008 Subject: cvs commit: src/usr.sbin/gstat gstat.8 gstat.c Message-ID: <200810071025.m97APhf0065848@repoman.freebsd.org> lulf 2008-10-07 10:25:27 UTC FreeBSD src repository Modified files: usr.sbin/gstat gstat.8 gstat.c Log: SVN rev 183665 on 2008-10-07 10:25:27Z by lulf - Allow gstat to print values to different kind of outputs. - Introduce batch mode, where gstat will collect the numbers, print them, and exit. - Document batch mode in the gstat man page. Submitted by: anders Revision Changes Path 1.10 +2 -0 src/usr.sbin/gstat/gstat.8 1.16 +106 -73 src/usr.sbin/gstat/gstat.c From rwatson at FreeBSD.org Tue Oct 7 10:32:00 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 10:32:05 2008 Subject: cvs commit: src/tools/regression/netinet/udpzerobyte Makefile udpzerobyte.c Message-ID: <200810071031.m97AVxxn067220@repoman.freebsd.org> rwatson 2008-10-07 10:31:55 UTC FreeBSD src repository Added files: tools/regression/netinet/udpzerobyte Makefile udpzerobyte.c Log: SVN rev 183666 on 2008-10-07 10:31:55Z by rwatson Regression test for the loopback handling of zero-length UDP packets, which should be delivered but without payload. Revision Changes Path 1.1 +7 -0 src/tools/regression/netinet/udpzerobyte/Makefile (new) 1.1 +104 -0 src/tools/regression/netinet/udpzerobyte/udpzerobyte.c (new) From jhb at FreeBSD.org Tue Oct 7 14:06:04 2008 From: jhb at FreeBSD.org (John Baldwin) Date: Tue Oct 7 14:06:10 2008 Subject: cvs commit: src/sys/boot/i386/libi386 bootinfo64.c Message-ID: <200810071406.m97E63xr098993@repoman.freebsd.org> jhb 2008-10-07 14:05:42 UTC FreeBSD src repository Modified files: sys/boot/i386/libi386 bootinfo64.c Log: SVN rev 183667 on 2008-10-07 14:05:42Z by jhb Use CPUID to see if the current CPU supports long mode when attemping to boot an amd64 kernel. If not, then fail the boot request with an error message. Otherwise, the boot attempt will fail with a BTX fault when trying to read the EFER MSR. MFC after: 3 days Revision Changes Path 1.38 +47 -1 src/sys/boot/i386/libi386/bootinfo64.c From rwatson at FreeBSD.org Tue Oct 7 14:14:06 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 14:14:12 2008 Subject: cvs commit: src/tools/regression/netinet/udpzerobyte udpzerobyte.c Message-ID: <200810071414.m97EE4RF099631@repoman.freebsd.org> rwatson 2008-10-07 14:13:59 UTC FreeBSD src repository Modified files: tools/regression/netinet/udpzerobyte udpzerobyte.c Log: SVN rev 183668 on 2008-10-07 14:13:59Z by rwatson Add IPv6 support to zero-size UDP transmit/receive test. Revision Changes Path 1.2 +47 -27 src/tools/regression/netinet/udpzerobyte/udpzerobyte.c From nick at van-laarhoven.org Tue Oct 7 15:41:55 2008 From: nick at van-laarhoven.org (Nick Hibma) Date: Tue Oct 7 15:42:02 2008 Subject: cvs commit: src/sys/dev/usb ubsa.c In-Reply-To: <200809251200.m8PC0wUN074507@repoman.freebsd.org> References: <200809251200.m8PC0wUN074507@repoman.freebsd.org> Message-ID: <200810071729.44487.nick@van-laarhoven.org> Did you ever see the problem of the device not restarting quickly enough? Or does your dongle simply fail the first attach? Does a second attach phase attach the device? If you could send me the output of dmesg after having succesfully attached the dongle that would be great. We've got a different dongle here that with a similar driver that sometimes does not attach properly because the mode switch does not happen fast enough. Replugging usually solves the problem. We are going to commit a driver soonish that supports all USB based Option and Huawei cards, including multiple serial ports the devices support. Which enables you to monitor signal strength while being online. Cheers, Nick > phk 2008-09-25 12:00:56 UTC > > FreeBSD src repository > > Modified files: > sys/dev/usb ubsa.c > Log: > SVN rev 183348 on 2008-09-25 12:00:56Z by phk > > Make the ubsa(4) work with Huawei Exxx (tested with E169) 3G radio > devices: > > Kick the device into the right mode if it comes up as a flash-disk. > > Set the buffers to a sensible 1024 bytes instead of a far too small > default. > > Don't attempt to change speed, baud, parity and such, the device does > not understand it. > > Revision Changes Path > 1.41 +61 -2 src/sys/dev/usb/ubsa.c > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/usb/ubsa.c?r1=1.40&r2=1 >.41&cvsroot=freebsd _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" From sam at FreeBSD.org Tue Oct 7 16:39:26 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Oct 7 16:39:35 2008 Subject: cvs commit: src/sys/boot/arm/ixp425/boot2 Makefile Message-ID: <200810071639.m97GdODD020763@repoman.freebsd.org> sam 2008-10-07 16:39:17 UTC FreeBSD src repository Modified files: sys/boot/arm/ixp425/boot2 Makefile Log: SVN rev 183669 on 2008-10-07 16:39:17Z by sam don't hardcode cc Submitted by: Andrey Eltsov Revision Changes Path 1.2 +3 -3 src/sys/boot/arm/ixp425/boot2/Makefile From imp at FreeBSD.org Tue Oct 7 17:23:26 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Oct 7 17:23:32 2008 Subject: cvs commit: src/sys/arm/at91 at91_mci.c at91_spi.c if_ate.c uart_dev_at91usart.c Message-ID: <200810071723.m97HNPsG034788@repoman.freebsd.org> imp 2008-10-07 17:23:16 UTC FreeBSD src repository Modified files: sys/arm/at91 at91_mci.c at91_spi.c if_ate.c uart_dev_at91usart.c Log: SVN rev 183670 on 2008-10-07 17:23:16Z by imp Use bus_get_dma_tag() instead of NULL here. Not really needed for atmel at the moment, but it is more correct. Revision Changes Path 1.8 +3 -3 src/sys/arm/at91/at91_mci.c 1.7 +3 -3 src/sys/arm/at91/at91_spi.c 1.29 +8 -8 src/sys/arm/at91/if_ate.c 1.16 +4 -3 src/sys/arm/at91/uart_dev_at91usart.c From imp at FreeBSD.org Tue Oct 7 17:27:41 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Oct 7 17:27:52 2008 Subject: cvs commit: src/sys/boot/arm/ixp425/boot2 boot2.c Message-ID: <200810071727.m97HRffY035132@repoman.freebsd.org> imp 2008-10-07 17:27:37 UTC FreeBSD src repository Modified files: sys/boot/arm/ixp425/boot2 boot2.c Log: SVN rev 183671 on 2008-10-07 17:27:37Z by imp Diff reduction with boot/arm/at91/boot2/boot2.c: indent this statement correctly. Revision Changes Path 1.2 +1 -1 src/sys/boot/arm/ixp425/boot2/boot2.c From jkoshy at FreeBSD.org Tue Oct 7 17:28:57 2008 From: jkoshy at FreeBSD.org (Joseph Koshy) Date: Tue Oct 7 17:29:04 2008 Subject: cvs commit: src/usr.sbin/pmcstat pmcstat.8 pmcstat.c Message-ID: <200810071728.m97HSv5S035234@repoman.freebsd.org> jkoshy 2008-10-07 17:28:52 UTC FreeBSD src repository Modified files: usr.sbin/pmcstat pmcstat.8 pmcstat.c Log: SVN rev 183672 on 2008-10-07 17:28:52Z by jkoshy - Avoid a spurious error when a command line is specified without any process scope PMCs. - Change the -c '*' option to denote non-halted CPUs. Revision Changes Path 1.16 +3 -3 src/usr.sbin/pmcstat/pmcstat.8 1.22 +3 -2 src/usr.sbin/pmcstat/pmcstat.c From imp at FreeBSD.org Tue Oct 7 17:44:13 2008 From: imp at FreeBSD.org (Warner Losh) Date: Tue Oct 7 17:44:25 2008 Subject: cvs commit: src/sys/boot/arm/at91/boot2 boot2.c Message-ID: <200810071744.m97HiDM8039790@repoman.freebsd.org> imp 2008-10-07 17:44:04 UTC FreeBSD src repository Modified files: sys/boot/arm/at91/boot2 boot2.c Log: SVN rev 183673 on 2008-10-07 17:44:04Z by imp More diff reductions against ixp425/boot2/boot2.c. This time, we bring in FIXUP_BOOT_DRV functionality as an #ifdef. This is not enabled at this time, and the md5 remains constant with this change. Apart from the 'accept any partitioning scheme on the device' changes, this was the biggest delta... # and yes, we'll merge these into one source file if we can do that in a # way that makes sense. Obtained from: sys/boot/arm/ixp425/boot2/boot2.c Revision Changes Path 1.12 +87 -0 src/sys/boot/arm/at91/boot2/boot2.c From sam at FreeBSD.org Tue Oct 7 19:45:51 2008 From: sam at FreeBSD.org (Sam Leffler) Date: Tue Oct 7 19:46:03 2008 Subject: cvs commit: src/share/man/man4 wpi.4 src/sys/modules/wpifw Makefile Message-ID: <200810071945.m97Jjp8c053898@repoman.freebsd.org> sam 2008-10-07 19:42:56 UTC FreeBSD src repository Modified files: share/man/man4 wpi.4 sys/modules/wpifw Makefile Log: SVN rev 183674 on 2008-10-07 19:42:56Z by sam the 3945 firmware license does not require acknowledging the EULA, remove the sysctl ack requirement Pointed out by: Joerg Sonnenberger Reviewed by: thompsa Approved by: core Revision Changes Path 1.6 +2 -17 src/share/man/man4/wpi.4 1.2 +0 -1 src/sys/modules/wpifw/Makefile From rwatson at FreeBSD.org Tue Oct 7 20:58:04 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 20:58:15 2008 Subject: cvs commit: src/sys/kern uipc_socket.c Message-ID: <200810072058.m97Kw3q0073534@repoman.freebsd.org> rwatson 2008-10-07 20:57:55 UTC FreeBSD src repository Modified files: sys/kern uipc_socket.c Log: SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson In soreceive_dgram, when a 0-length buffer is passed into recv(2) and no data is ready, return 0 rather than blocking or returning EAGAIN. This is consistent with the behavior of soreceive_generic (soreceive) in earlier versions of FreeBSD, and restores this behavior for UDP. Discussed with: jhb, sam MFC after: 3 days Revision Changes Path 1.319 +2 -1 src/sys/kern/uipc_socket.c From rwatson at FreeBSD.org Tue Oct 7 21:01:36 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Tue Oct 7 21:01:47 2008 Subject: cvs commit: src/tools/regression/netinet/udpzerobyte udpzerobyte.c Message-ID: <200810072101.m97L1Yiu073835@repoman.freebsd.org> rwatson 2008-10-07 21:01:23 UTC FreeBSD src repository Modified files: tools/regression/netinet/udpzerobyte udpzerobyte.c Log: SVN rev 183676 on 2008-10-07 21:01:23Z by rwatson Update udpzerobyte to understand that passing 0 as a length to recv(2) will cause it to return 0, not EAGAIN. Add UNIX domain socket support to udpzerobyte, which suggests this regression test should be moved to the general sockets test area rather than netinet. Revision Changes Path 1.3 +26 -5 src/tools/regression/netinet/udpzerobyte/udpzerobyte.c From jhb at freebsd.org Tue Oct 7 22:40:19 2008 From: jhb at freebsd.org (John Baldwin) Date: Tue Oct 7 22:40:31 2008 Subject: cvs commit: src/sys/kern uipc_socket.c In-Reply-To: <200810072058.m97Kw3q0073534@repoman.freebsd.org> References: <200810072058.m97Kw3q0073534@repoman.freebsd.org> Message-ID: <200810071736.50999.jhb@freebsd.org> On Tuesday 07 October 2008 04:57:55 pm Robert Watson wrote: > rwatson 2008-10-07 20:57:55 UTC > > FreeBSD src repository > > Modified files: > sys/kern uipc_socket.c > Log: > SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson > > In soreceive_dgram, when a 0-length buffer is passed into recv(2) and > no data is ready, return 0 rather than blocking or returning EAGAIN. > This is consistent with the behavior of soreceive_generic (soreceive) > in earlier versions of FreeBSD, and restores this behavior for UDP. > > Discussed with: jhb, sam > MFC after: 3 days I do find this behavior odd though. I would expect recv(fd, NULL, 0) to discard the next packet from the socket if one is available rather than returning success and not doing anything (and it seems that this is what it does both before and now). Similarly, I would expect recv(fd, NULL, 0) to block on a blocking socket if there isn't a packet available. It would be orthogonal then to return EAGAIN in this case (no packet available, zero-length user buffer) on a non-blocking socket. It seems that Solaris dropped this behavior (return 0) from their recv() system call sometime after SunOS 4.0 from comments in the OpenSolaris source. From reading __skb_recv_datagram(), it seems that Linux 2.6 returns EAGAIN. NetBSD and OS X both have the odd behavior. OpenBSD has the odd behavior, but with a caveat of sorts having to do with control messages. OpenBSD cvsweb annotate is down though, so I haven't found the reason for their change. -- John Baldwin From peter at FreeBSD.org Tue Oct 7 23:10:19 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Tue Oct 7 23:10:25 2008 Subject: cvs commit: CVSROOT tagcheck Message-ID: <200810072310.m97NAI4X005414@repoman.freebsd.org> peter 2008-10-07 23:10:18 UTC FreeBSD src repository Modified files: . tagcheck Log: Let ken tag the repo for releases. This can be updated as needed. Revision Changes Path 1.15 +3 -4 CVSROOT/tagcheck From peter at FreeBSD.org Tue Oct 7 23:11:17 2008 From: peter at FreeBSD.org (Peter Wemm) Date: Tue Oct 7 23:11:28 2008 Subject: cvs commit: CVSROOT cfg_local.pm Message-ID: <200810072311.m97NBHPH005541@repoman.freebsd.org> peter 2008-10-07 23:11:17 UTC FreeBSD src repository Modified files: . cfg_local.pm Log: Turn off cvs-style commit mail. svn-style commits are published now. Revision Changes Path 1.34 +4 -2 CVSROOT/cfg_local.pm From peter at wemm.org Tue Oct 7 23:13:55 2008 From: peter at wemm.org (Peter Wemm) Date: Tue Oct 7 23:14:05 2008 Subject: ** HEADS UP ** FreeBSD commit mail list changes Message-ID: *** HEADS UP *** FreeBSD.org switched from cvs to subversion (svn) for the src tree a few months ago. Since we were continuing to export the svn changes to cvs (and will continue to do so), we were sending out cvs commit messages. For the most part, non-developers didn't have much of a reason to notice that anything changed. However, we were generating svn-style commit messages internally within the developer group. This caused problems with post-commit discussions being fragmented and sometimes unintentionally not being publicly visible. To complete the transition process, I'm turning off cvs-style commit messages for the "src" tree entirely. The only commit messages will be svn-style. The cvs-src list will no longer get commit messages (and will go away), and cvs-all will no longer get "src" commit messages. (cvs-all will still get ports, projects, doc etc commits). In a brave attempt to try and make this transparent to end users, I put on my peril sensitive sunglasses and copied the cvs-all and cvs-src list members over to svn-src-all. I realize this breaks POLA and will cause some confusion for a short while, but it was the only practical way I could think of to get the switch-over done as quickly as possible. I apologize in advance for any problems I've caused to any of you. In a nutshell, the effects you'll see are: * New envelope sender address * different email headers (cvs* become svn*) * Some of you had your subscription set to 'nomail' - this was NOT preserved. Sorry! * If you had custom list passwords, they were not preserved either. * Some of you were subscribed to cvs-all in digest, but cvs-src in individual messages. Since the two were merged, where there was a conflict you'll get 'individual' email, not 'digest'. * obviously the email format you get will be different. If you've got filters or scripts parsing email, I'm sorry I broke them. * commit messages include diffs! Email messages can be quite a bit bigger. Please note that we have several sub-lists. You may well want to unsubscribe from svn-src-all@ and chose sub-lists instead. A summary of the new lists: svn-src-all SVN commit messages for the entire src tree (except for "user" and "projects") svn-src-head SVN commit messages for the src tree for head/-current svn-src-projects SVN commit messages for the src "projects" tree svn-src-release SVN commit messages for releases in the src tree svn-src-releng SVN commit messages for the release engineering / security commits to the src tree svn-src-stable SVN commit messages for all the -stable branches of the src tree svn-src-stable-6 SVN commit messages for only the 6-stable src tree svn-src-stable-7 SVN commit messages for only the 7-stable src tree svn-src-stable-other SVN commit messages for the old stable src trees svn-src-user SVN commit messages for the experimental "user" src tree svn-src-vendor SVN commit messages for the vendor work area tree For example.. you may only wish to get commit mail for the 7-stable branch. You can do that now. -releng commits are for release engineering and security errata commits. -release commits are when release tags get created. -user and -projects are for work-in-progress areas that are NOT part of the src tree yet. -projects are for WIP that is intended to be committed. -user is for experimental work that might or might not ever be committed to the base src tree. Again, apologies for the POLA violation. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From peter at wemm.org Wed Oct 8 02:39:48 2008 From: peter at wemm.org (Peter Wemm) Date: Wed Oct 8 02:39:59 2008 Subject: ** HEADS UP ** FreeBSD commit mail list changes In-Reply-To: <20081008.112727.12117220.haro@kgt.co.jp> References: <20081008.112727.12117220.haro@kgt.co.jp> Message-ID: Fixed. Thanks for letting me know about it. On Tue, Oct 7, 2008 at 7:27 PM, wrote: > Hello Peter, > > I read most of FreeBSD messages through the following URL: > http://docs.freebsd.org/mail/current/ > > But messages on the newly created lists, e.g. svn-src-all, I cannot > be browsed with the error below. Can you look into it, if you've got > time. > > - Sample URL: > http://docs.freebsd.org/cgi/getmsg.cgi?fetch=22133+0+current/svn-src-all > > - Error message: > The specified message cannot be accessed. > > As always, thanks for all the hard work on FreeBSD. > > Thanks, > Haro > > From: "Peter Wemm" > Date: Tue, 7 Oct 2008 16:13:51 -0700 > ::*** HEADS UP *** > :: > ::FreeBSD.org switched from cvs to subversion (svn) for the src tree a > ::few months ago. Since we were continuing to export the svn changes to > ::cvs (and will continue to do so), we were sending out cvs commit > ::messages. For the most part, non-developers didn't have much of a > ::reason to notice that anything changed. > :: > ::However, we were generating svn-style commit messages internally > ::within the developer group. This caused problems with post-commit > ::discussions being fragmented and sometimes unintentionally not being > ::publicly visible. > :: > ::To complete the transition process, I'm turning off cvs-style commit > ::messages for the "src" tree entirely. The only commit messages will > ::be svn-style. The cvs-src list will no longer get commit messages > ::(and will go away), and cvs-all will no longer get "src" commit > ::messages. (cvs-all will still get ports, projects, doc etc commits). > :: > ::In a brave attempt to try and make this transparent to end users, I > ::put on my peril sensitive sunglasses and copied the cvs-all and > ::cvs-src list members over to svn-src-all. > :: > ::I realize this breaks POLA and will cause some confusion for a short > ::while, but it was the only practical way I could think of to get the > ::switch-over done as quickly as possible. I apologize in advance for > ::any problems I've caused to any of you. > :: > ::In a nutshell, the effects you'll see are: > ::* New envelope sender address > ::* different email headers (cvs* become svn*) > ::* Some of you had your subscription set to 'nomail' - this was NOT > ::preserved. Sorry! > ::* If you had custom list passwords, they were not preserved either. > ::* Some of you were subscribed to cvs-all in digest, but cvs-src in > ::individual messages. Since the two were merged, where there was a > ::conflict you'll get 'individual' email, not 'digest'. > ::* obviously the email format you get will be different. If you've got > ::filters or scripts parsing email, I'm sorry I broke them. > ::* commit messages include diffs! Email messages can be quite a bit bigger. > :: > ::Please note that we have several sub-lists. You may well want to > ::unsubscribe from svn-src-all@ and chose sub-lists instead. > :: > ::A summary of the new lists: > :: > ::svn-src-all SVN commit messages for the entire src tree > ::(except for "user" and "projects") > ::svn-src-head SVN commit messages for the src tree for head/-current > ::svn-src-projects SVN commit messages for the src "projects" tree > ::svn-src-release SVN commit messages for releases in the src tree > ::svn-src-releng SVN commit messages for the release engineering / > ::security commits to the src tree > ::svn-src-stable SVN commit messages for all the -stable branches of the src tree > ::svn-src-stable-6 SVN commit messages for only the 6-stable src tree > ::svn-src-stable-7 SVN commit messages for only the 7-stable src tree > ::svn-src-stable-other SVN commit messages for the old stable src trees > ::svn-src-user SVN commit messages for the experimental "user" src tree > ::svn-src-vendor SVN commit messages for the vendor work area tree > :: > ::For example.. you may only wish to get commit mail for the 7-stable > ::branch. You can do that now. > :: > ::-releng commits are for release engineering and security errata commits. > ::-release commits are when release tags get created. > ::-user and -projects are for work-in-progress areas that are NOT part > ::of the src tree yet. -projects are for WIP that is intended to be > ::committed. -user is for experimental work that might or might not ever > ::be committed to the base src tree. > :: > ::Again, apologies for the POLA violation. > :: > ::-- > ::Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV > ::"All of this is for nothing if we don't go to the stars" - JMS/B5 > ::"If Java had true garbage collection, most programs would delete > ::themselves upon execution." -- Robert Sewell > :: > -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From haro at kgt.co.jp Wed Oct 8 02:41:58 2008 From: haro at kgt.co.jp (haro@kgt.co.jp) Date: Wed Oct 8 02:42:10 2008 Subject: ** HEADS UP ** FreeBSD commit mail list changes In-Reply-To: References: Message-ID: <20081008.112727.12117220.haro@kgt.co.jp> Hello Peter, I read most of FreeBSD messages through the following URL: http://docs.freebsd.org/mail/current/ But messages on the newly created lists, e.g. svn-src-all, I cannot be browsed with the error below. Can you look into it, if you've got time. - Sample URL: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=22133+0+current/svn-src-all - Error message: The specified message cannot be accessed. As always, thanks for all the hard work on FreeBSD. Thanks, Haro From: "Peter Wemm" Date: Tue, 7 Oct 2008 16:13:51 -0700 ::*** HEADS UP *** :: ::FreeBSD.org switched from cvs to subversion (svn) for the src tree a ::few months ago. Since we were continuing to export the svn changes to ::cvs (and will continue to do so), we were sending out cvs commit ::messages. For the most part, non-developers didn't have much of a ::reason to notice that anything changed. :: ::However, we were generating svn-style commit messages internally ::within the developer group. This caused problems with post-commit ::discussions being fragmented and sometimes unintentionally not being ::publicly visible. :: ::To complete the transition process, I'm turning off cvs-style commit ::messages for the "src" tree entirely. The only commit messages will ::be svn-style. The cvs-src list will no longer get commit messages ::(and will go away), and cvs-all will no longer get "src" commit ::messages. (cvs-all will still get ports, projects, doc etc commits). :: ::In a brave attempt to try and make this transparent to end users, I ::put on my peril sensitive sunglasses and copied the cvs-all and ::cvs-src list members over to svn-src-all. :: ::I realize this breaks POLA and will cause some confusion for a short ::while, but it was the only practical way I could think of to get the ::switch-over done as quickly as possible. I apologize in advance for ::any problems I've caused to any of you. :: ::In a nutshell, the effects you'll see are: ::* New envelope sender address ::* different email headers (cvs* become svn*) ::* Some of you had your subscription set to 'nomail' - this was NOT ::preserved. Sorry! ::* If you had custom list passwords, they were not preserved either. ::* Some of you were subscribed to cvs-all in digest, but cvs-src in ::individual messages. Since the two were merged, where there was a ::conflict you'll get 'individual' email, not 'digest'. ::* obviously the email format you get will be different. If you've got ::filters or scripts parsing email, I'm sorry I broke them. ::* commit messages include diffs! Email messages can be quite a bit bigger. :: ::Please note that we have several sub-lists. You may well want to ::unsubscribe from svn-src-all@ and chose sub-lists instead. :: ::A summary of the new lists: :: ::svn-src-all SVN commit messages for the entire src tree ::(except for "user" and "projects") ::svn-src-head SVN commit messages for the src tree for head/-current ::svn-src-projects SVN commit messages for the src "projects" tree ::svn-src-release SVN commit messages for releases in the src tree ::svn-src-releng SVN commit messages for the release engineering / ::security commits to the src tree ::svn-src-stable SVN commit messages for all the -stable branches of the src tree ::svn-src-stable-6 SVN commit messages for only the 6-stable src tree ::svn-src-stable-7 SVN commit messages for only the 7-stable src tree ::svn-src-stable-other SVN commit messages for the old stable src trees ::svn-src-user SVN commit messages for the experimental "user" src tree ::svn-src-vendor SVN commit messages for the vendor work area tree :: ::For example.. you may only wish to get commit mail for the 7-stable ::branch. You can do that now. :: ::-releng commits are for release engineering and security errata commits. ::-release commits are when release tags get created. ::-user and -projects are for work-in-progress areas that are NOT part ::of the src tree yet. -projects are for WIP that is intended to be ::committed. -user is for experimental work that might or might not ever ::be committed to the base src tree. :: ::Again, apologies for the POLA violation. :: ::-- ::Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV ::"All of this is for nothing if we don't go to the stars" - JMS/B5 ::"If Java had true garbage collection, most programs would delete ::themselves upon execution." -- Robert Sewell :: From haro at kgt.co.jp Wed Oct 8 02:46:06 2008 From: haro at kgt.co.jp (haro@kgt.co.jp) Date: Wed Oct 8 02:46:12 2008 Subject: ** HEADS UP ** FreeBSD commit mail list changes In-Reply-To: References: <20081008.112727.12117220.haro@kgt.co.jp> Message-ID: <20081008.114605.13911630.haro@kgt.co.jp> From: "Peter Wemm" Date: Tue, 7 Oct 2008 19:39:47 -0700 ::Fixed. Thanks for letting me know about it. Thanks for quick fix. I confirmed that I can see the svn-commit messages. Thanks again, Haro From peter at wemm.org Wed Oct 8 04:01:09 2008 From: peter at wemm.org (Peter Wemm) Date: Wed Oct 8 04:01:16 2008 Subject: ** HEADS UP ** FreeBSD commit mail list changes In-Reply-To: <20081008.114605.13911630.haro@kgt.co.jp> References: <20081008.112727.12117220.haro@kgt.co.jp> <20081008.114605.13911630.haro@kgt.co.jp> Message-ID: On Tue, Oct 7, 2008 at 7:46 PM, wrote: > From: "Peter Wemm" > Date: Tue, 7 Oct 2008 19:39:47 -0700 > ::Fixed. Thanks for letting me know about it. > > Thanks for quick fix. > I confirmed that I can see the svn-commit messages. Also, I've created cvs-src-old@freebsd.org. This contains the old-style commit messages for the time being. A couple of people asked for this while they converted their scripts that processed commit messages. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell From rwatson at FreeBSD.org Wed Oct 8 06:16:46 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Oct 8 06:16:58 2008 Subject: cvs commit: src/sys/kern uipc_socket.c In-Reply-To: <200810071736.50999.jhb@freebsd.org> References: <200810072058.m97Kw3q0073534@repoman.freebsd.org> <200810071736.50999.jhb@freebsd.org> Message-ID: On Tue, 7 Oct 2008, John Baldwin wrote: > On Tuesday 07 October 2008 04:57:55 pm Robert Watson wrote: >> rwatson 2008-10-07 20:57:55 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/kern uipc_socket.c >> Log: >> SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson >> >> In soreceive_dgram, when a 0-length buffer is passed into recv(2) and >> no data is ready, return 0 rather than blocking or returning EAGAIN. >> This is consistent with the behavior of soreceive_generic (soreceive) >> in earlier versions of FreeBSD, and restores this behavior for UDP. >> >> Discussed with: jhb, sam >> MFC after: 3 days > > I do find this behavior odd though. I would expect > > recv(fd, NULL, 0) > > to discard the next packet from the socket if one is available rather than > returning success and not doing anything (and it seems that this is what it > does both before and now). Similarly, I would expect recv(fd, NULL, 0) to > block on a blocking socket if there isn't a packet available. It would be > orthogonal then to return EAGAIN in this case (no packet available, > zero-length user buffer) on a non-blocking socket. > > It seems that Solaris dropped this behavior (return 0) from their recv() > system call sometime after SunOS 4.0 from comments in the OpenSolaris > source. From reading __skb_recv_datagram(), it seems that Linux 2.6 returns > EAGAIN. NetBSD and OS X both have the odd behavior. OpenBSD has the odd > behavior, but with a caveat of sorts having to do with control messages. > OpenBSD cvsweb annotate is down though, so I haven't found the reason for > their change. Yes, I agree it's odd, and I'm not sure I like it. I discovered the problem while writing edge-case regression tests for socket receive to better exercise soreceive_dgram, at first concluding it was a bug in soreceive_generic! My feeling, though, is that I should leave behavior "compatible" for 7.1, and perhaps we should change it for 7.2. Robert N M Watson Computer Laboratory University of Cambridge From jhb at freebsd.org Wed Oct 8 19:10:52 2008 From: jhb at freebsd.org (John Baldwin) Date: Wed Oct 8 19:10:58 2008 Subject: cvs commit: src/sys/kern uipc_socket.c In-Reply-To: References: <200810072058.m97Kw3q0073534@repoman.freebsd.org> <200810071736.50999.jhb@freebsd.org> Message-ID: <200810081114.40433.jhb@freebsd.org> On Wednesday 08 October 2008 02:16:45 am Robert Watson wrote: > On Tue, 7 Oct 2008, John Baldwin wrote: > > > On Tuesday 07 October 2008 04:57:55 pm Robert Watson wrote: > >> rwatson 2008-10-07 20:57:55 UTC > >> > >> FreeBSD src repository > >> > >> Modified files: > >> sys/kern uipc_socket.c > >> Log: > >> SVN rev 183675 on 2008-10-07 20:57:55Z by rwatson > >> > >> In soreceive_dgram, when a 0-length buffer is passed into recv(2) and > >> no data is ready, return 0 rather than blocking or returning EAGAIN. > >> This is consistent with the behavior of soreceive_generic (soreceive) > >> in earlier versions of FreeBSD, and restores this behavior for UDP. > >> > >> Discussed with: jhb, sam > >> MFC after: 3 days > > > > I do find this behavior odd though. I would expect > > > > recv(fd, NULL, 0) > > > > to discard the next packet from the socket if one is available rather than > > returning success and not doing anything (and it seems that this is what it > > does both before and now). Similarly, I would expect recv(fd, NULL, 0) to > > block on a blocking socket if there isn't a packet available. It would be > > orthogonal then to return EAGAIN in this case (no packet available, > > zero-length user buffer) on a non-blocking socket. > > > > It seems that Solaris dropped this behavior (return 0) from their recv() > > system call sometime after SunOS 4.0 from comments in the OpenSolaris > > source. From reading __skb_recv_datagram(), it seems that Linux 2.6 returns > > EAGAIN. NetBSD and OS X both have the odd behavior. OpenBSD has the odd > > behavior, but with a caveat of sorts having to do with control messages. > > OpenBSD cvsweb annotate is down though, so I haven't found the reason for > > their change. > > Yes, I agree it's odd, and I'm not sure I like it. I discovered the problem > while writing edge-case regression tests for socket receive to better exercise > soreceive_dgram, at first concluding it was a bug in soreceive_generic! My > feeling, though, is that I should leave behavior "compatible" for 7.1, and > perhaps we should change it for 7.2. Ok, so I guess you will revert this from HEAD after the MFC? -- John Baldwin From rwatson at FreeBSD.org Wed Oct 8 19:48:44 2008 From: rwatson at FreeBSD.org (Robert Watson) Date: Wed Oct 8 19:48:50 2008 Subject: cvs commit: src/sys/kern uipc_socket.c In-Reply-To: <200810081114.40433.jhb@freebsd.org> References: <200810072058.m97Kw3q0073534@repoman.freebsd.org> <200810071736.50999.jhb@freebsd.org> <200810081114.40433.jhb@freebsd.org> Message-ID: On Wed, 8 Oct 2008, John Baldwin wrote: >>>> In soreceive_dgram, when a 0-length buffer is passed into recv(2) and >>>> no data is ready, return 0 rather than blocking or returning EAGAIN. >>>> This is consistent with the behavior of soreceive_generic (soreceive) >>>> in earlier versions of FreeBSD, and restores this behavior for UDP. .. >> >> Yes, I agree it's odd, and I'm not sure I like it. I discovered the >> problem while writing edge-case regression tests for socket receive to >> better exercise soreceive_dgram, at first concluding it was a bug in >> soreceive_generic! My feeling, though, is that I should leave behavior >> "compatible" for 7.1, and perhaps we should change it for 7.2. > > Ok, so I guess you will revert this from HEAD after the MFC? That and modify soreceive_generic() to do the same thing in the same circumstances -- soreceive_dgram() falls back on soreceive_generic() for any non-fast path (complicated) cases, so consistency of semantics is quite important. Robert N M Watson Computer Laboratory University of Cambridge From jhb at freebsd.org Fri Oct 17 17:20:26 2008 From: jhb at freebsd.org (John Baldwin) Date: Fri Oct 17 17:20:33 2008 Subject: cvs commit: src/sys/amd64/amd64 uma_machdep.c src/sys/arm/arm vm_machdep.c src/sys/ia64/ia64 uma_machdep.c src/sys/powerpc/powerpc uma_machdep.c src/sys/sparc64/sparc64 vm_machdep.c src/sys/sun4v/sun4v vm_machdep.c In-Reply-To: <200709151847.l8FIl2nC093179@repoman.freebsd.org> References: <200709151847.l8FIl2nC093179@repoman.freebsd.org> Message-ID: <200810171319.59992.jhb@freebsd.org> On Saturday 15 September 2007 02:47:02 pm Alan Cox wrote: > alc 2007-09-15 18:47:02 UTC > > FreeBSD src repository > > Modified files: > sys/amd64/amd64 uma_machdep.c > sys/arm/arm vm_machdep.c > sys/ia64/ia64 uma_machdep.c > sys/powerpc/powerpc uma_machdep.c > sys/sparc64/sparc64 vm_machdep.c > sys/sun4v/sun4v vm_machdep.c > Log: > It has been observed on the mailing lists that the different categories > of pages don't sum to anywhere near the total number of pages on amd64. > This is for the most part because uma_small_alloc() pages have never been > counted as wired pages, like their kmem_malloc() brethren. They should > be. This changes fixes that. > > It is no longer necessary for the page queues lock to be held to free > pages allocated by uma_small_alloc(). I removed the acquisition and > release of the page queues lock from uma_small_free() on amd64 and ia64 > weeks ago. This patch updates the other architectures that have > uma_small_alloc() and uma_small_free(). > > Approved by: re (kensmith) I'd like to merge this to 6.x. However, I'm not sure if the same is true about vm_page_free() not needing the vm_page_queues lock in 6.x, so figured I'd ask you about that first. -- John Baldwin From alc at cs.rice.edu Sat Oct 18 19:11:37 2008 From: alc at cs.rice.edu (Alan Cox) Date: Sat Oct 18 19:11:43 2008 Subject: cvs commit: src/sys/amd64/amd64 uma_machdep.c src/sys/arm/arm vm_machdep.c src/sys/ia64/ia64 uma_machdep.c src/sys/powerpc/powerpc uma_machdep.c src/sys/sparc64/sparc64 vm_machdep.c src/sys/sun4v/sun4v vm_machdep.c In-Reply-To: <200810171319.59992.jhb@freebsd.org> References: <200709151847.l8FIl2nC093179@repoman.freebsd.org> <200810171319.59992.jhb@freebsd.org> Message-ID: <48FA2DF0.10102@cs.rice.edu> John Baldwin wrote: > On Saturday 15 September 2007 02:47:02 pm Alan Cox wrote: > >> alc 2007-09-15 18:47:02 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/amd64/amd64 uma_machdep.c >> sys/arm/arm vm_machdep.c >> sys/ia64/ia64 uma_machdep.c >> sys/powerpc/powerpc uma_machdep.c >> sys/sparc64/sparc64 vm_machdep.c >> sys/sun4v/sun4v vm_machdep.c >> Log: >> It has been observed on the mailing lists that the different categories >> of pages don't sum to anywhere near the total number of pages on amd64. >> This is for the most part because uma_small_alloc() pages have never been >> counted as wired pages, like their kmem_malloc() brethren. They should >> be. This changes fixes that. >> >> It is no longer necessary for the page queues lock to be held to free >> pages allocated by uma_small_alloc(). I removed the acquisition and >> release of the page queues lock from uma_small_free() on amd64 and ia64 >> weeks ago. This patch updates the other architectures that have >> uma_small_alloc() and uma_small_free(). >> >> Approved by: re (kensmith) >> > > I'd like to merge this to 6.x. However, I'm not sure if the same is true > about vm_page_free() not needing the vm_page_queues lock in 6.x, so figured > I'd ask you about that first. > > No, the page queue locking changes were never made to 6.x. However, the accounting fix (paragraph #1 above) is separable from the other change. Therefore, you could apply the accounting fix to 6.x with no trouble. In fact, the amd64 and ia64 parts of this commit were purely to apply the accounting fix because I had already removed the acquisition and release of the page queues lock from uma_small_{alloc,free} on those machines in an earlier revision. In effect, for 6.x you just need to replicate the amd64/ia64 version of this change across all six architectures. Alan