svn commit: r274465 - head/sys/netipsec

2014-11-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 13 10:47:24 2014 New Revision: 274465 URL: https://svnweb.freebsd.org/changeset/base/274465 Log: Remove redundant ip6_plen initialization. MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/netipsec/xform_ipip.c Modified: head/sys/netipsec/xform_

svn commit: r274466 - head/sys/netipsec

2014-11-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 13 10:48:59 2014 New Revision: 274466 URL: https://svnweb.freebsd.org/changeset/base/274466 Log: Strip IP header only when we act in tunnel mode. MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/netipsec/ipsec_input.c Modified: head/sys/netipse

svn commit: r274467 - head/sys/netipsec

2014-11-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 13 12:58:33 2014 New Revision: 274467 URL: https://svnweb.freebsd.org/changeset/base/274467 Log: Count statistics for the specific address family. MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/netipsec/ipsec_output.c Modified: head/sys/netip

svn commit: r274470 - head/sys/sys

2014-11-13 Thread Dmitry Chagin
Author: dchagin Date: Thu Nov 13 14:46:33 2014 New Revision: 274470 URL: https://svnweb.freebsd.org/changeset/base/274470 Log: Bump FreeBSD_version for r274462 - add ppoll() system call. Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

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

2014-11-13 Thread Konstantin Belousov
On Thu, Nov 13, 2014 at 02:46:33PM +, Dmitry Chagin wrote: > Author: dchagin > Date: Thu Nov 13 14:46:33 2014 > New Revision: 274470 > URL: https://svnweb.freebsd.org/changeset/base/274470 > > Log: > Bump FreeBSD_version for r274462 - add ppoll() system call. > > Modified: > head/sys/sys/

svn commit: r274473 - head/sys/kern

2014-11-13 Thread Konstantin Belousov
Author: kib Date: Thu Nov 13 17:43:37 2014 New Revision: 274473 URL: https://svnweb.freebsd.org/changeset/base/274473 Log: Remove fossil. It has been present in 4.4Lite2, but its use was removed for some time. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/

svn commit: r274474 - head/sys/kern

2014-11-13 Thread Konstantin Belousov
Author: kib Date: Thu Nov 13 17:44:35 2014 New Revision: 274474 URL: https://svnweb.freebsd.org/changeset/base/274474 Log: Do not try to dereference thread pointer when the value is not a pointer. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after:1 wee

svn commit: r274475 - head/contrib/byacc/test/yacc

2014-11-13 Thread Jung-uk Kim
Author: jkim Date: Thu Nov 13 17:54:17 2014 New Revision: 274475 URL: https://svnweb.freebsd.org/changeset/base/274475 Log: Regen test cases for yacc(1) after r274460. YYINT is int now. PR: 194982 Modified: head/contrib/byacc/test/yacc/calc.tab.c head/contrib/byacc/test/yacc

svn commit: r274476 - in head/sys: cddl/compat/opensolaris/sys compat/freebsd32 compat/linux compat/svr4 dev/streams i386/ibcs2 kern sys

2014-11-13 Thread Konstantin Belousov
Author: kib Date: Thu Nov 13 18:01:51 2014 New Revision: 274476 URL: https://svnweb.freebsd.org/changeset/base/274476 Log: Remove the no-at variants of the kern_xx() syscall helpers. E.g., we have both kern_open() and kern_openat(); change the callers to use kern_openat(). This removes

svn commit: r274477 - head/sys/cam/scsi

2014-11-13 Thread Alexander Motin
Author: mav Date: Thu Nov 13 18:15:05 2014 New Revision: 274477 URL: https://svnweb.freebsd.org/changeset/base/274477 Log: Fix check for vendor-specific peripheral qualifier. Submitted by: anton.r...@isilon.com MFC after:1 week Modified: head/sys/cam/scsi/scsi_all.h Modified: head

svn commit: r274478 - head/sys/kern

2014-11-13 Thread Konstantin Belousov
Author: kib Date: Thu Nov 13 18:51:09 2014 New Revision: 274478 URL: https://svnweb.freebsd.org/changeset/base/274478 Log: Fix assertion, &uc->uc_busy is never zero, the intent is to test the uc_busy value, and not its address [1]. Remove the single use of the macro, write KASSERT() expli

svn commit: r274479 - head/sys/conf

2014-11-13 Thread John Baldwin
Author: jhb Date: Thu Nov 13 19:56:02 2014 New Revision: 274479 URL: https://svnweb.freebsd.org/changeset/base/274479 Log: Remove reference to sys/dev/dpt/dpt_control.c. It was removed back in 2001 after having never been updated for CAM changes in 1998. Modified: head/sys/conf/files Mod

svn commit: r274480 - in head/sys: dev/dpt modules/dpt

2014-11-13 Thread John Baldwin
Author: jhb Date: Thu Nov 13 20:00:54 2014 New Revision: 274480 URL: https://svnweb.freebsd.org/changeset/base/274480 Log: Remove dpt_isa.c and commented out references to it. It was never connected to the build in either sys/conf/files* or sys/modules/dpt/Makefile. Also, it was denoted as

svn commit: r274481 - head/share/man/man4

2014-11-13 Thread John Baldwin
Author: jhb Date: Thu Nov 13 20:09:47 2014 New Revision: 274481 URL: https://svnweb.freebsd.org/changeset/base/274481 Log: Drop mention of ISA cards. Note that I have no idea what to cull from the supported hardware list. Judging by the PCI driver attachment, dpt_pci.c only supports a sing

svn commit: r274482 - head/sys/kern

2014-11-13 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 13 21:15:09 2014 New Revision: 274482 URL: https://svnweb.freebsd.org/changeset/base/274482 Log: filedesc: fixup fdinit to lock fdp and preapare files conditinally Not all consumers providing fdp to copy from want files. Perhaps these functions should be reorg

svn commit: r274483 - in head/contrib/llvm: lib/CodeGen/SelectionDAG patches

2014-11-13 Thread Dimitry Andric
Author: dim Date: Thu Nov 13 21:16:01 2014 New Revision: 274483 URL: https://svnweb.freebsd.org/changeset/base/274483 Log: The fix imported into llvm in r274442 contains some C++11 constructs, which gcc in base cannot handle. Replace these with C++98 equivalents. While here, add the pat

svn commit: r274484 - head/sys/arm/arm

2014-11-13 Thread Zbigniew Bodek
Author: zbb Date: Thu Nov 13 21:37:53 2014 New Revision: 274484 URL: https://svnweb.freebsd.org/changeset/base/274484 Log: Fix typo in ARM GIC device_printf() Obtained from: Semihalf Sponsored by:The FreeBSD Foundation Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/

svn commit: r274485 - head/sys/sys

2014-11-13 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 13 21:47:43 2014 New Revision: 274485 URL: https://svnweb.freebsd.org/changeset/base/274485 Log: filedesc: oops.. commit missing change to filedesc.h Modified: head/sys/sys/filedesc.h Modified: head/sys/sys/filedesc.h

svn commit: r274487 - head/sys/dev/iir

2014-11-13 Thread John Baldwin
Author: jhb Date: Thu Nov 13 22:00:18 2014 New Revision: 274487 URL: https://svnweb.freebsd.org/changeset/base/274487 Log: Lock iir(4) and mark it MPSAFE. - Add a per-device mutex to the softc and use it for bus_dma tags, CAM SIMs, callouts, and interrupt handler. - Switch from timeout(9

svn commit: r274488 - head/sys/dev/ips

2014-11-13 Thread John Baldwin
Author: jhb Date: Thu Nov 13 22:06:57 2014 New Revision: 274488 URL: https://svnweb.freebsd.org/changeset/base/274488 Log: - Use the existing driver lock in cdevsw methods and remove D_NEEDGIANT. - Use callout(9) instead of timeout(9). - Use bus_*() instead of bus_space_*(). - Don't check

svn commit: r274489 - in head/sys/amd64: amd64 include

2014-11-13 Thread Scott Long
Author: scottl Date: Thu Nov 13 22:11:44 2014 New Revision: 274489 URL: https://svnweb.freebsd.org/changeset/base/274489 Log: Extend earlier addition of stack frames to most of support.S. This makes stack traces in KDB, HWPMC, and DTrace much more reliable and useful. Reviewed by: kan,

svn commit: r274490 - head

2014-11-13 Thread Sean Bruno
Author: sbruno Date: Thu Nov 13 22:25:22 2014 New Revision: 274490 URL: https://svnweb.freebsd.org/changeset/base/274490 Log: Add more static binaries to the native-xtools target. These help speed up the cross builds significantly. adding: bin/sh bin/csh sbin/md5 usr.bin/bzip2

svn commit: r274491 - head/sys/kern

2014-11-13 Thread Jung-uk Kim
Author: jkim Date: Thu Nov 13 23:51:13 2014 New Revision: 274491 URL: https://svnweb.freebsd.org/changeset/base/274491 Log: Correct a typo to fix chown(2). It was broken since r274476. Pointy hat to:kib X-MFC-With: r274476 Modified: head/sys/kern/vfs_syscalls.c Modified: he

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

2014-11-13 Thread Craig Rodrigues
On Thu, Nov 13, 2014 at 3:51 PM, Jung-uk Kim wrote: > Author: jkim > Date: Thu Nov 13 23:51:13 2014 > New Revision: 274491 > URL: https://svnweb.freebsd.org/changeset/base/274491 > > Log: > Correct a typo to fix chown(2). It was broken since r274476. > > After these commits: https://jenkins

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

2014-11-13 Thread NGie Cooper
On Thu, Nov 13, 2014 at 4:39 PM, Craig Rodrigues wrote: > On Thu, Nov 13, 2014 at 3:51 PM, Jung-uk Kim wrote: > >> Author: jkim >> Date: Thu Nov 13 23:51:13 2014 >> New Revision: 274491 >> URL: https://svnweb.freebsd.org/changeset/base/274491 >> >> Log: >> Correct a typo to fix chown(2). It wa

Re: svn commit: r274340 - in head/sys: crypto/rijndael dev/random geom/bde

2014-11-13 Thread Bruce Evans
On Wed, 12 Nov 2014, [utf-8] Dag-Erling Sm??rgrav wrote: Bruce Evans writes: On Tue, 11 Nov 2014, [utf-8] Dag-Erling Sm??rgrav wrote: ... but the alternative is worse. In my experience, the majority of cases where a cast discards a qualifier are bugs, with struct iov being one of very few l

svn commit: r274493 - head/sys/dev/ath

2014-11-13 Thread Adrian Chadd
Author: adrian Date: Fri Nov 14 04:26:26 2014 New Revision: 274493 URL: https://svnweb.freebsd.org/changeset/base/274493 Log: Migrate the callouts from using mutex locks to being mpsafe with the locks being held by the callers. Kill callout_drain() and use callout_stop(). Modified: hea

Re: svn commit: r274340 - in head/sys: crypto/rijndael dev/random geom/bde

2014-11-13 Thread Dag-Erling Smørgrav
Bruce Evans writes: > Bruce Evans writes: > > This seems to have been fixed somewhere between 4.2 and 4.8. Clang does > > not complain, but I don't know whether that is because it's smarter than > > GCC 4.2 or because -Wunreachable-code is unimplemented. There is no > > documentation of Clang's

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

2014-11-13 Thread Dag-Erling Smørgrav
Craig Rodrigues writes: > After these commits: > https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1834/ > these unit tests started failing: > https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-tests2/241/ > Do you think your commit fixes it? Yes. It fixes a bug that was introduced by the c

svn commit: r274494 - head/sys/kern

2014-11-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 14 06:02:29 2014 New Revision: 274494 URL: https://svnweb.freebsd.org/changeset/base/274494 Log: There should not be zero length mbufs in socket buffers. The code comes from r1451, and thus can't be explained. A patch with explicit panic() here survived all te