svn commit: r302258 - head/sys/net

2016-06-28 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jun 29 05:21:25 2016 New Revision: 302258 URL: https://svnweb.freebsd.org/changeset/base/302258 Log: Several device drivers call if_alloc() and then do further checks and will cal if_free() in case of conflict, error, .. if_free() however sets the VNET instance from the

svn commit: r302257 - head

2016-06-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 29 01:50:30 2016 New Revision: 302257 URL: https://svnweb.freebsd.org/changeset/base/302257 Log: WITH_SYSTEM_COMPILER: Avoid using GCC4.8+ logic on native GCC4.2 platforms. As the XXX notes, these should really be checking MK_GNUCXX since there is already a

svn commit: r302256 - head/sbin/natd

2016-06-28 Thread Poul-Henning Kamp
Author: phk Date: Tue Jun 28 20:10:30 2016 New Revision: 302256 URL: https://svnweb.freebsd.org/changeset/base/302256 Log: Do not coredump if the packet is too long in the global (non-interface associated) instance. The result is that the packet is dropped without an indication that

svn commit: r302255 - in head/lib/libc: rpc yp

2016-06-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 28 19:53:16 2016 New Revision: 302255 URL: https://svnweb.freebsd.org/changeset/base/302255 Log: Use on crypto.x and rpc.x from the source tree. This fixes the build when DESTDIR may be blank or not yet populated. It also fixes reproducibility.

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

2016-06-28 Thread Sean Bruno
Author: sbruno Date: Tue Jun 28 18:32:15 2016 New Revision: 302254 URL: https://svnweb.freebsd.org/changeset/base/302254 Log: Revert svn r302253 at the request/review of Ken M. This commit is incorrect. PR: 202625 Approved by: re (implicit) Modified:

Re: svn commit: r302253 - head/sys/cam/scsi

2016-06-28 Thread Kenneth D. Merry
On Tue, Jun 28, 2016 at 11:27:25 -0700, Sean Bruno wrote: > > > On 06/28/16 11:17, Ken Merry wrote: > > This is incorrect. It should be scsi_ulto4b() instead. > > > > The dxfer_len argument to scsi_persistent_reserve_out() is a uint32_t, and > > the length field in the CDB structure is 4

Re: svn commit: r302253 - head/sys/cam/scsi

2016-06-28 Thread Sean Bruno
On 06/28/16 11:17, Ken Merry wrote: > This is incorrect. It should be scsi_ulto4b() instead. > > The dxfer_len argument to scsi_persistent_reserve_out() is a uint32_t, and > the length field in the CDB structure is 4 bytes long. > > Sorry I didn’t get around to commenting on the PR,

Re: svn commit: r302253 - head/sys/cam/scsi

2016-06-28 Thread Ken Merry
This is incorrect. It should be scsi_ulto4b() instead. The dxfer_len argument to scsi_persistent_reserve_out() is a uint32_t, and the length field in the CDB structure is 4 bytes long. Sorry I didn’t get around to commenting on the PR, otherwise I would have caught this previously. Ken —

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

2016-06-28 Thread Sean Bruno
Author: sbruno Date: Tue Jun 28 18:08:47 2016 New Revision: 302253 URL: https://svnweb.freebsd.org/changeset/base/302253 Log: Correct PERSISTENT RESERVE OUT command and populate scsi_cmd->length. PR: 202625 Submitted by: niakr...@gmail.com Reviewed by: scottl Approved by:

svn commit: r302252 - head/sys/kern

2016-06-28 Thread Konstantin Belousov
Author: kib Date: Tue Jun 28 16:43:23 2016 New Revision: 302252 URL: https://svnweb.freebsd.org/changeset/base/302252 Log: Currently the ntptime code and resettodr() are Giant-locked. In particular, the Giant is supposed to protect against parallel ntp_adjtime(2) invocations. But, for

svn commit: r302251 - head/sys/kern

2016-06-28 Thread Konstantin Belousov
Author: kib Date: Tue Jun 28 16:42:40 2016 New Revision: 302251 URL: https://svnweb.freebsd.org/changeset/base/302251 Log: Do not use Giant to prevent parallel calls to CLOCK_SETTIME(). Use private mtx in resettodr(), no implementation of CLOCK_SETTIME() is allowed to sleep. Reviewed

svn commit: r302250 - head/sys/kern

2016-06-28 Thread Konstantin Belousov
Author: kib Date: Tue Jun 28 16:41:50 2016 New Revision: 302250 URL: https://svnweb.freebsd.org/changeset/base/302250 Log: Complete r302215. TDF_SBDRY | TDF_SERESTART and TDF_SBDRY | TDF_SEINTR flags values, unlike TDF_SBDRY, must be treated almost as if TDF_SBDRY is not set for STOP

svn commit: r302248 - head/share/man/man5

2016-06-28 Thread Jonathan T. Looney
Author: jtl Date: Tue Jun 28 13:42:50 2016 New Revision: 302248 URL: https://svnweb.freebsd.org/changeset/base/302248 Log: Regenerate for WITH_EXTRA_TCP_STACKS updates. Approved by: re (gjb) Sponsored by: Juniper Networks Modified: head/share/man/man5/src.conf.5 Modified:

svn commit: r302247 - in head: share/man/man4 share/man/man9 tools/build/options

2016-06-28 Thread Jonathan T. Looney
Author: jtl Date: Tue Jun 28 13:37:01 2016 New Revision: 302247 URL: https://svnweb.freebsd.org/changeset/base/302247 Log: Document support for alternate TCP stacks. Differential Revision:https://reviews.freebsd.org/D6940 Reviewed by: hiren Approved by: re (gjb) Sponsored

svn commit: r302246 - head/lib/libc/tests/ssp

2016-06-28 Thread Cy Schubert
Author: cy Date: Tue Jun 28 07:47:42 2016 New Revision: 302246 URL: https://svnweb.freebsd.org/changeset/base/302246 Log: This commit addresses regression introduceded in r302177 (WITH_SYSTEM_COMPILER: Enable by default) and it's prerequisite: r300354, caused i386 builds to fail when