svn commit: r225049 - head/sys/fs/nfsserver

2011-08-20 Thread Rick Macklem
Author: rmacklem Date: Sat Aug 20 21:26:35 2011 New Revision: 225049 URL: http://svn.freebsd.org/changeset/base/225049 Log: Fix the NFSv4 server so that it returns NFSERR_SYMLINK when an attempt to do an Open operation on any type of file other than VREG is done. A recent discussion on the I

svn commit: r225048 - in head/sys: amd64/amd64 i386/i386 pc98/pc98

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 19:21:46 2011 New Revision: 225048 URL: http://svn.freebsd.org/changeset/base/225048 Log: In HEAD when doing no further checkes there is no reason use the temporary variable and check with if as TUNABLE_*_FETCH do not alter values unless successfully found the tun

svn commit: r225046 - head/sys/netinet

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 18:45:38 2011 New Revision: 225046 URL: http://svn.freebsd.org/changeset/base/225046 Log: Fix compilation in case of defined(INET) && defined(IPFIREWALL_FORWARD) but no INET6. Reported by: avg Tested by:avg MFC after:4 weeks X-MFC with: r225044

svn commit: r225044 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw sys/netinet6 tools/regression/ipfw tools/regression/ipfw/fwd

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 17:05:11 2011 New Revision: 225044 URL: http://svn.freebsd.org/changeset/base/225044 Log: Add support for IPv6 to ipfw fwd: Distinguish IPv4 and IPv6 addresses and optional port numbers in user space to set the option for the correct protocol family. Add support

svn commit: r225043 - head/sys/netinet6

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 16:43:47 2011 New Revision: 225043 URL: http://svn.freebsd.org/changeset/base/225043 Log: Add an in6_localip() helper function as in6_localaddr() is not doing what people think: returning true for an address in any connected subnet, not necessarily on the local ma

svn commit: r225041 - in head/sys/dev/usb: . serial

2011-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 20 16:21:40 2011 New Revision: 225041 URL: http://svn.freebsd.org/changeset/base/225041 Log: Add new USB ID to u3g driver. Approved by:re (kib) MFC after: 1 week PR: usb/159919 Modified: head/sys/dev/usb/serial/u3g.c head/sys/dev/us

svn commit: r225040 - head/sys/kern

2011-08-20 Thread Konstantin Belousov
Author: kib Date: Sat Aug 20 16:12:29 2011 New Revision: 225040 URL: http://svn.freebsd.org/changeset/base/225040 Log: Prevent the hiwatermark for the unix domain socket from becoming effectively negative. Often seen as upstream fastcgi connection timeouts in nginx when using sendfile over u

svn commit: r225039 - stable/7/sys/fs/devfs

2011-08-20 Thread Jaakko Heinonen
Author: jh Date: Sat Aug 20 15:21:02 2011 New Revision: 225039 URL: http://svn.freebsd.org/changeset/base/225039 Log: MFC r208717: Don't try to call cdevsw d_close() method when devfs_close() is called because of insmntque1() failure. Modified: stable/7/sys/fs/devfs/devfs_vnops.c Direc

svn commit: r225038 - head/sys/dev/usb

2011-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 20 15:12:53 2011 New Revision: 225038 URL: http://svn.freebsd.org/changeset/base/225038 Log: Fix for recursive locking in usb_close() after change 224777. Approved by:re (kib) MFC after: 3 days Reported by: kwm @ Modified: head/sys/dev/usb/usb

svn commit: r225037 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net

2011-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 20 14:21:32 2011 New Revision: 225037 URL: http://svn.freebsd.org/changeset/base/225037 Log: Add new USB ID. Approved by:re (kib) MFC after: 1 week PR: usb/159836 Modified: head/share/man/man4/uhso.4 head/sys/dev/usb/net/uhso.c he

svn commit: r225036 - head/sys/netinet/ipfw

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 14:20:36 2011 New Revision: 225036 URL: http://svn.freebsd.org/changeset/base/225036 Log: Hide IPv6 next header parsing warnings under the verbose sysctl so people can possibly disable it when their consoles are flooded, or enabled it for debugging. MFC after

svn commit: r225035 - head/lib/libusb

2011-08-20 Thread Hans Petter Selasky
Author: hselasky Date: Sat Aug 20 14:04:16 2011 New Revision: 225035 URL: http://svn.freebsd.org/changeset/base/225035 Log: Use correct enum instead of constant value. MFC after:1 week Spotted by: scf @ Approved by: re (kib) Modified: head/lib/libusb/libusb10.c Modified: head

Re: svn commit: r224903 - head/lib/libusb

2011-08-20 Thread Hans Petter Selasky
On Wednesday 17 August 2011 02:38:22 Sean C. Farley wrote: > On Tue, 16 Aug 2011, Hans Petter Selasky wrote: > > +enum libusb_speed > > +libusb_get_device_speed(libusb_device *dev) > > +{ > > + if (dev == NULL) > > + return (0); /* should not happen */ > > Should that retu

svn commit: r225034 - head/sys/netinet/ipfw

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 13:47:08 2011 New Revision: 225034 URL: http://svn.freebsd.org/changeset/base/225034 Log: After r225032 fix logging in a similar way masking the the IPv6 more fragments flag off so that offset == 0 checks work properly. PR: kern/145733 Submitted by:

svn commit: r225033 - head/sys/netinet/ipfw

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 13:46:19 2011 New Revision: 225033 URL: http://svn.freebsd.org/changeset/base/225033 Log: If we detect an IPv6 fragment header and it is not the first fragment, then terminate the loop as we will not find any further headers and for short fragments this could othe

svn commit: r225032 - head/sys/netinet/ipfw

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 13:17:47 2011 New Revision: 225032 URL: http://svn.freebsd.org/changeset/base/225032 Log: ipfw internally checks for offset == 0 to determine whether the packet is a/the first fragment or not. For IPv6 we have added the "more fragments" flag as well to be able to

svn commit: r225030 - head/sys/netinet/ipfw

2011-08-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 20 12:40:17 2011 New Revision: 225030 URL: http://svn.freebsd.org/changeset/base/225030 Log: While not explicitly allowed by RFC 2460, in case there is no translation technology involved (and that section is suggested to be removed by Errata 2843), single packet frag

svn commit: r225029 - stable/7/sys/kern

2011-08-20 Thread Andriy Gapon
Author: avg Date: Sat Aug 20 12:08:53 2011 New Revision: 225029 URL: http://svn.freebsd.org/changeset/base/225029 Log: MFC r224527: smp_rendezvous: master cpu should wait until all slaves are fully done Modified: stable/7/sys/kern/subr_smp.c Directory Properties: stable/7/sys/ (props ch

svn commit: r225028 - stable/8/sys/kern

2011-08-20 Thread Andriy Gapon
Author: avg Date: Sat Aug 20 11:50:02 2011 New Revision: 225028 URL: http://svn.freebsd.org/changeset/base/225028 Log: MFC r224527: smp_rendezvous: master cpu should wait until all slaves are fully done Modified: stable/8/sys/kern/subr_smp.c Directory Properties: stable/8/sys/ (props ch

svn commit: r225027 - stable/8/lib/libproc

2011-08-20 Thread Andriy Gapon
Author: avg Date: Sat Aug 20 11:47:11 2011 New Revision: 225027 URL: http://svn.freebsd.org/changeset/base/225027 Log: MFC r224632: fix a serious bug in libproc's proc_attach PR: bin/158431 Modified: stable/8/lib/libproc/proc_create.c Directory Properties: stable/8/lib/libpro

svn commit: r225026 - in stable/8/release: doc/en_US.ISO8859-1/hardware picobsd/floppy.tree/sbin

2011-08-20 Thread Andriy Gapon
Author: avg Date: Sat Aug 20 11:44:48 2011 New Revision: 225026 URL: http://svn.freebsd.org/changeset/base/225026 Log: MFC r224529: fix a typo/tautology in the release documentation Modified: stable/8/release/doc/en_US.ISO8859-1/hardware/article.sgml Directory Properties: stable/8/release/

svn commit: r225023 - head/sbin/geom/class/part

2011-08-20 Thread Andrey V. Elsukov
Author: ae Date: Sat Aug 20 08:20:10 2011 New Revision: 225023 URL: http://svn.freebsd.org/changeset/base/225023 Log: o Fix mdoc formatting for the '.Fx' macro. [1] o Add information about APM scheme and fix typos. [2] Submitted by: gjb [1], nwhitehorn [2] Approved by: re (kib) MFC a

svn commit: r225022 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2011-08-20 Thread Martin Matuska
Author: mm Date: Sat Aug 20 07:43:10 2011 New Revision: 225022 URL: http://svn.freebsd.org/changeset/base/225022 Log: MFC r224814, r224855: MFC r224814 [1]: Fix race between dmu_objset_prefetch() invoked from zfs_ioc_dataset_list_next() and dsl_dir_destroy_check() indirectly invoked f