svn commit: r240984 - head/sys/dev/ath/ath_hal/ar5416

2012-09-27 Thread Adrian Chadd
Author: adrian Date: Thu Sep 27 06:05:54 2012 New Revision: 240984 URL: http://svn.freebsd.org/changeset/base/240984 Log: Track the last ANI TX/RX sample correctly. This doesn't specifically fix the issue(s) i'm seeing in this 2GHz environment (where setting/increasing spur immunity

svn commit: r240985 - head/sys/netinet

2012-09-27 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 27 07:13:21 2012 New Revision: 240985 URL: http://svn.freebsd.org/changeset/base/240985 Log: Fix bug in TCP_KEEPCNT setting, which slipped in in the last round of reviewing of r231025. Unlike other options from this family TCP_KEEPCNT doesn't specify time

svn commit: r240990 - head/sys/dev/pci

2012-09-27 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 27 10:30:11 2012 New Revision: 240990 URL: http://svn.freebsd.org/changeset/base/240990 Log: Fix several build failures for !COMPAT_FREEBSD32 and !COMPAT_FREEBSD* kernels introduced by r240981. Pointy hat to:sobomax Modified:

svn commit: r240992 - head/sys/dev/pci

2012-09-27 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 27 10:46:22 2012 New Revision: 240992 URL: http://svn.freebsd.org/changeset/base/240992 Log: Fix zillions of style(9) and spacing bugs introduced by r240981. Pointy hat to:sobomax Modified: head/sys/dev/pci/pci_user.c Modified:

svn commit: r240993 - head/sys/cam/ctl

2012-09-27 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 27 10:51:38 2012 New Revision: 240993 URL: http://svn.freebsd.org/changeset/base/240993 Log: Remove useless NULL checks after M_WAITOK allocations. Modified: head/sys/cam/ctl/ctl.c head/sys/cam/ctl/ctl_backend_block.c head/sys/cam/ctl/ctl_backend_ramdisk.c

Re: svn commit: r240993 - head/sys/cam/ctl

2012-09-27 Thread Alexey Dokuchaev
On Thu, Sep 27, 2012 at 10:51:38AM +, Edward Tomasz Napierala wrote: New Revision: 240993 URL: http://svn.freebsd.org/changeset/base/240993 Log: Remove useless NULL checks after M_WAITOK allocations. @@ -1520,12 +1520,6 @@ ctl_ioctl_do_datamove(struct ctl_scsiio

svn commit: r240997 - head/sys/kern

2012-09-27 Thread Mikolaj Golub
Author: trociny Date: Thu Sep 27 14:55:15 2012 New Revision: 240997 URL: http://svn.freebsd.org/changeset/base/240997 Log: Kernel and modules have set_vnet linker set, where virtualized global variables are placed. When a module is loaded by link_elf linker its variables from set_vnet

svn commit: r240998 - head/sys/dev/usb/controller

2012-09-27 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 27 15:23:38 2012 New Revision: 240998 URL: http://svn.freebsd.org/changeset/base/240998 Log: Make sure we record NAK tokens in the TD structure for IN direction. Improve host channel disabling. Wait two times 125us for channel to be disabled. The DWC OTG

svn commit: r240999 - head/sys/dev/usb/controller

2012-09-27 Thread Hans Petter Selasky
Author: hselasky Date: Thu Sep 27 15:45:24 2012 New Revision: 240999 URL: http://svn.freebsd.org/changeset/base/240999 Log: Make sure the wMaxPacketSize limitations are respected. Modified: head/sys/dev/usb/controller/dwc_otg.c Modified: head/sys/dev/usb/controller/dwc_otg.c

Re: svn commit: r240993 - head/sys/cam/ctl

2012-09-27 Thread Adrian Chadd
.. I thought that malloc(.. , M_WAITOK) can return NULL. Wasn't there a discussion about this on IRC? Adrian ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

Re: svn commit: r240993 - head/sys/cam/ctl

2012-09-27 Thread Garrett Cooper
On Thu, Sep 27, 2012 at 8:50 AM, Adrian Chadd adr...@freebsd.org wrote: .. I thought that malloc(.. , M_WAITOK) can return NULL. Wasn't there a discussion about this on IRC? Shouldn't -- else it would break the API contract: M_WAITOK Indicates that it is OK to wait for

svn commit: r241000 - head/sys/kern

2012-09-27 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Sep 27 16:43:23 2012 New Revision: 241000 URL: http://svn.freebsd.org/changeset/base/241000 Log: Revert r240931, as the previous comment was actually in sync with POSIX. I have to note that POSIX is simply stupid in how it describes O_EXEC/fexecve and friends. Yes,

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

2012-09-27 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 27 17:48:04 2012 New Revision: 241001 URL: http://svn.freebsd.org/changeset/base/241001 Log: sigaction(2),sigwait(2),sigwaitinfo(2): Remove [EFAULT] error condition. Passing an invalid pointer results in undefined behaviour. The wrappers in libthr access

svn commit: r241002 - head/sys/contrib/ipfilter/netinet

2012-09-27 Thread Max Khon
Author: fjoe Date: Thu Sep 27 18:15:01 2012 New Revision: 241002 URL: http://svn.freebsd.org/changeset/base/241002 Log: Fix pseudo checksum calculation. This fixes ipfilter w/ network controllers that implement only partial rx csum offloading. PR: 106438 Obtained

Re: svn commit: r240822 - head/sys/geom

2012-09-27 Thread Pawel Jakub Dawidek
On Wed, Sep 26, 2012 at 09:45:41PM +0200, Pawel Jakub Dawidek wrote: On Wed, Sep 26, 2012 at 01:21:17PM -0600, Kenneth D. Merry wrote: Ahh. How about using LIST_FOREACH_SAFE? Would that address the problem at hand? Are there any other races in there? It depends. If one geom can hold

Re: svn commit: r240822 - head/sys/geom

2012-09-27 Thread Kenneth D. Merry
On Thu, Sep 27, 2012 at 20:16:25 +0200, Pawel Jakub Dawidek wrote: On Wed, Sep 26, 2012 at 09:45:41PM +0200, Pawel Jakub Dawidek wrote: On Wed, Sep 26, 2012 at 01:21:17PM -0600, Kenneth D. Merry wrote: Ahh. How about using LIST_FOREACH_SAFE? Would that address the problem at hand?

svn commit: r241007 - in head: lib/libc/rpc sys/rpc

2012-09-27 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 27 19:10:25 2012 New Revision: 241007 URL: http://svn.freebsd.org/changeset/base/241007 Log: Complete revert of r239963: The attempt to merge changes from the linux libtirpc caused rpc.lockd to exit after startup under unclear conditions. After many hours

svn commit: r241008 - head/include/rpc

2012-09-27 Thread Pedro F. Giffuni
Author: pfg Date: Thu Sep 27 20:06:37 2012 New Revision: 241008 URL: http://svn.freebsd.org/changeset/base/241008 Log: Complete revert of r239963: The attempt to merge changes from the linux libtirpc caused rpc.lockd to exit after startup under unclear conditions. After many hours

svn commit: r241009 - head/sys/netgraph

2012-09-27 Thread Ryan Stone
Author: rstone Date: Thu Sep 27 20:12:51 2012 New Revision: 241009 URL: http://svn.freebsd.org/changeset/base/241009 Log: Ensure that all cases that enqueue a netgraph item for delivery by a ngthread properly set the item's depth to 1. In particular, prior to this change if ng_snd_item

svn commit: r241010 - head/lib/libc/gen

2012-09-27 Thread Jilles Tjoelker
Author: jilles Date: Thu Sep 27 22:05:54 2012 New Revision: 241010 URL: http://svn.freebsd.org/changeset/base/241010 Log: libc/fts: Use O_CLOEXEC for internal file descriptors. Because fts keeps internal file descriptors open across calls, making such descriptors close-on-exec helps not

svn commit: r241011 - in head/sys: fs/ext2fs fs/hpfs fs/ntfs fs/tmpfs kern ufs/ffs ufs/ufs

2012-09-27 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 27 23:30:49 2012 New Revision: 241011 URL: http://svn.freebsd.org/changeset/base/241011 Log: Fix up kernel sources to be ready for a 64-bit ino_t. Original code by: Gleb Kurtsou Modified: head/sys/fs/ext2fs/ext2_alloc.c head/sys/fs/ext2fs/ext2_inode_cnv.c

svn commit: r241013 - in head/sbin: dump fsck_ffs fsdb fsirand growfs newfs quotacheck restore tunefs

2012-09-27 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 27 23:31:06 2012 New Revision: 241013 URL: http://svn.freebsd.org/changeset/base/241013 Log: Fix sbin/ build with a 64-bit ino_t. Original code by: Gleb Kurtsou Modified: head/sbin/dump/traverse.c head/sbin/fsck_ffs/suj.c head/sbin/fsdb/fsdb.c

svn commit: r241014 - in head/bin: ls rm

2012-09-27 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 27 23:31:12 2012 New Revision: 241014 URL: http://svn.freebsd.org/changeset/base/241014 Log: Fix bin/ build with a 64-bit ino_t. Original code by: Gleb Kurtsou Modified: head/bin/ls/ls.c head/bin/ls/print.c head/bin/rm/rm.c Modified: head/bin/ls/ls.c

svn commit: r241015 - in head: usr.bin/find usr.sbin/lpr/lpr usr.sbin/makefs/ffs usr.sbin/quot usr.sbin/snapinfo

2012-09-27 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 27 23:31:19 2012 New Revision: 241015 URL: http://svn.freebsd.org/changeset/base/241015 Log: Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. Original code by: Gleb Kurtsou Modified: head/usr.bin/find/ls.c head/usr.sbin/lpr/lpr/lpr.c

svn commit: r241012 - head/sbin/fsck_ffs

2012-09-27 Thread Matthew D Fleming
Author: mdf Date: Thu Sep 27 23:30:58 2012 New Revision: 241012 URL: http://svn.freebsd.org/changeset/base/241012 Log: Fix fsck_ffs build with a 64-bit ino_t. Original code by: Gleb Kurtsou Modified: head/sbin/fsck_ffs/fsutil.c head/sbin/fsck_ffs/gjournal.c

svn commit: r241019 - head/usr.sbin/bsdconfig/share

2012-09-27 Thread Devin Teske
Author: dteske Date: Fri Sep 28 01:39:25 2012 New Revision: 241019 URL: http://svn.freebsd.org/changeset/base/241019 Log: Sanitize varname argument in f_sysrc_find. This is as much for security as it is for sanity. Reviewed by: jilles Approved by: adrian (co-mentor) Modified:

svn commit: r241020 - in head/sys: amd64/amd64 i386/i386 i386/xen ia64/ia64 mips/mips powerpc/aim sparc64/sparc64

2012-09-27 Thread Alan Cox
Author: alc Date: Fri Sep 28 05:30:59 2012 New Revision: 241020 URL: http://svn.freebsd.org/changeset/base/241020 Log: Eliminate a stale comment. It describes another use case for the pmap in Mach that doesn't exist in FreeBSD. Modified: head/sys/amd64/amd64/pmap.c