svn commit: r294139 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 11:19:08 2016 New Revision: 294139 URL: https://svnweb.freebsd.org/changeset/base/294139 Log: MFC r285237: Export the ssthresh value per SCTP path via the sysctl interface. Modified: stable/10/sys/netinet/sctp_sysctl.c stable/10/sys/netinet/sctp_uio.h Di

svn commit: r294140 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:15:07 2016 New Revision: 294140 URL: https://svnweb.freebsd.org/changeset/base/294140 Log: MFC r285792: Fix several problems with Stream Reset. 1) We were not handling (or sending) the IN_PROGRESS case if the other side (or our side) was not able to

svn commit: r294141 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:20:47 2016 New Revision: 294141 URL: https://svnweb.freebsd.org/changeset/base/294141 Log: MFC r285837, r285838 Fix an issue with MAC OS locking and also optimize the case where we are sending back a stream-reset and a sack timer is running, in that case

svn commit: r294142 - in stable/10/sys: netinet netinet6

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:33:45 2016 New Revision: 294142 URL: https://svnweb.freebsd.org/changeset/base/294142 Log: MFC r285877: Move including netinet/icmp6.h around to avoid a problem when including netinet/icmp6.h and net/netmap.h. Both use ni_flags... This allows to build mul

svn commit: r294143 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:36:09 2016 New Revision: 294143 URL: https://svnweb.freebsd.org/changeset/base/294143 Log: MFC r285886: Fix and improve a debug message. The SID was reported as an SSN. Modified: stable/10/sys/netinet/sctp_indata.c Directory Properties: stable/10/ (pro

svn commit: r294144 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:38:14 2016 New Revision: 294144 URL: https://svnweb.freebsd.org/changeset/base/294144 Log: MFC r285887: Improve locking on Mac OS X. This does not change the functionality on FreeBSD. Modified: stable/10/sys/netinet/sctp_indata.c Directory Properties:

svn commit: r294145 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:40:43 2016 New Revision: 294145 URL: https://svnweb.freebsd.org/changeset/base/294145 Log: MFC r285925: Provide consistent error causes whenever an ABORT chunk is sent. Modified: stable/10/sys/netinet/sctp_asconf.c stable/10/sys/netinet/sctp_indata.c s

svn commit: r294146 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:43:02 2016 New Revision: 294146 URL: https://svnweb.freebsd.org/changeset/base/294146 Log: MFC r285938: Fix a typo reported by Erik Cederstrand. Modified: stable/10/sys/netinet/sctp_indata.c Directory Properties: stable/10/ (props changed) Modified: s

svn commit: r294147 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:47:28 2016 New Revision: 294147 URL: https://svnweb.freebsd.org/changeset/base/294147 Log: MFC r286206: Don't take the port numbers for packets containing ABORT chunks from a freed mbuf. Just use them from the stcb. Modified: stable/10/sys/netinet/sctp_i

svn commit: r294148 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 12:50:00 2016 New Revision: 294148 URL: https://svnweb.freebsd.org/changeset/base/294148 Log: MFC r286781: Allow the path MTU to grow up to the outgoing interface MTU. Modified: stable/10/sys/netinet/sctp_timer.c Directory Properties: stable/10/ (props ch

svn commit: r294149 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:41:44 2016 New Revision: 294149 URL: https://svnweb.freebsd.org/changeset/base/294149 Log: MFC r287282: Fix the exporting of SCTP association states to userland. Without this, associations in SHUTDOWN-PENDING were never reported correctly. Modified: stab

svn commit: r294150 - stable/10/usr.bin/netstat

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:43:27 2016 New Revision: 294150 URL: https://svnweb.freebsd.org/changeset/base/294150 Log: MFC r287284: Use the userland exported states and handle them completely. Modified: stable/10/usr.bin/netstat/sctp.c Directory Properties: stable/10/ (props chan

svn commit: r294151 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:46:27 2016 New Revision: 294151 URL: https://svnweb.freebsd.org/changeset/base/294151 Log: MFC r287294: Use 5 times RTO.Max as the default for the shutdown guard timer as required by RFC 4960. The sysctl variable can be used to overwrite this. Modified:

svn commit: r294152 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:48:54 2016 New Revision: 294152 URL: https://svnweb.freebsd.org/changeset/base/294152 Log: MFC r287444: Fix a bug where two SHUTDOWN_ACK chunks were sent if a SHUTDOWN chunk was received acking all outstanding data. Modified: stable/10/sys/netinet/sctp_i

svn commit: r294153 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:50:43 2016 New Revision: 294153 URL: https://svnweb.freebsd.org/changeset/base/294153 Log: MFC r287456: Add a NULL pointer check to silence the clang code analyzer. Modified: stable/10/sys/netinet/sctputil.c Directory Properties: stable/10/ (props chan

svn commit: r294154 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:52:29 2016 New Revision: 294154 URL: https://svnweb.freebsd.org/changeset/base/294154 Log: MFC r287457: Don't leak memory in an error case. Modified: stable/10/sys/netinet/sctp_output.c Directory Properties: stable/10/ (props changed) Modified: stable

svn commit: r294155 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:54:43 2016 New Revision: 294155 URL: https://svnweb.freebsd.org/changeset/base/294155 Log: MFC r287535: RFC 4960 requires that packets containing an INIT chunk bundled with another chunk are silently discarded. Do so, instead of sending an ABORT. Modifie

svn commit: r294156 - stable/10/lib/libc/net

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 14:56:30 2016 New Revision: 294156 URL: https://svnweb.freebsd.org/changeset/base/294156 Log: MFC r287619: Zero out a local variable also when PURIFY is not defined. This silence a warning brought up by valgrind whenever if_nametoindex is used. This was alre

svn commit: r294157 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 16:42:40 2016 New Revision: 294157 URL: https://svnweb.freebsd.org/changeset/base/294157 Log: MFC r287669: Ensure that ERROR chunks are always padded by implementing this in the routine, which queues an ERROR chunk, instead on relyinh on the callers to do so

svn commit: r294158 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 16:46:00 2016 New Revision: 294158 URL: https://svnweb.freebsd.org/changeset/base/294158 Log: MFC r287717: Cleanup the handling of error causes for ERROR chunks. This fixes an inconsistency of the padding handling. The final padding is now considered to be a

svn commit: r294159 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 16:52:50 2016 New Revision: 294159 URL: https://svnweb.freebsd.org/changeset/base/294159 Log: MFC r287719: Address a compile warning. Modified: stable/10/sys/netinet/sctp_input.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/ne

svn commit: r294172 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 17:50:43 2016 New Revision: 294172 URL: https://svnweb.freebsd.org/changeset/base/294172 Log: MFC r287725: Fix compilation issue introduced in r287717. Thanks to bz@ for making me aware of it. Modified: stable/10/sys/netinet/sctp_input.c Directory Propertie

svn commit: r294173 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 17:53:04 2016 New Revision: 294173 URL: https://svnweb.freebsd.org/changeset/base/294173 Log: MFC r289240: Fix the timeout for INIT retransmissions in the case where RTO_MIN is smaller than RTO_INITIAL. Modified: stable/10/sys/netinet/sctp_timer.c Directory

svn commit: r294174 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 17:56:06 2016 New Revision: 294174 URL: https://svnweb.freebsd.org/changeset/base/294174 Log: MFC r289570: Use __func__ instead of __FUNCTION__. This allows to compile the userland stack without errors using gcc5. Thanks to saghul for makeing me aware and

svn commit: r294176 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:00:47 2016 New Revision: 294176 URL: https://svnweb.freebsd.org/changeset/base/294176 Log: MFC r290023: When processing a cookie, any mismatch in port numbers or the vtag results in failing the check. This fixes https://github.com/nplab/ETSI-SCTP-Conform

svn commit: r294178 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:03:12 2016 New Revision: 294178 URL: https://svnweb.freebsd.org/changeset/base/294178 Log: MFC r290442: Fix typos in field names of struct sctp_extrcvinfo. Provide defines to allow applications to compile. Thanks to Jens Hoelscher for making me aware of t

svn commit: r294180 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:05:24 2016 New Revision: 294180 URL: https://svnweb.freebsd.org/changeset/base/294180 Log: MFC r290444: The field sinfo_timetolive should have been sinfo_pr_value. Thanks to Jens Hoelscher for making me aware of the bug. Modified: stable/10/sys/netinet/s

svn commit: r294181 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:08:05 2016 New Revision: 294181 URL: https://svnweb.freebsd.org/changeset/base/294181 Log: MFC r290468: Use the correct length. The wrong one was too large. Modified: stable/10/sys/netinet/sctp_indata.c Directory Properties: stable/10/ (props changed)

svn commit: r294182 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:11:17 2016 New Revision: 294182 URL: https://svnweb.freebsd.org/changeset/base/294182 Log: MFC r291078: Fix a bug where an SCTP association was moved back to SHUTDOWN_SENT state when the user issued a shutdown() call. Modified: stable/10/sys/netinet/sctp

svn commit: r294184 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:13:33 2016 New Revision: 294184 URL: https://svnweb.freebsd.org/changeset/base/294184 Log: MFC r291137: Don't send SHUTDOWN chunk when the association is in a front state and the applications calls shutdown(..., SHUT_WR) or shutdown(..., SHUT_RDWR). Modi

svn commit: r294185 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:15:41 2016 New Revision: 294185 URL: https://svnweb.freebsd.org/changeset/base/294185 Log: MFC r291138: Clear the so_pcb pointer in case of ipsec_init_policy() fails. Modified: stable/10/sys/netinet/sctp_usrreq.c Directory Properties: stable/10/ (props

svn commit: r294186 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:18:47 2016 New Revision: 294186 URL: https://svnweb.freebsd.org/changeset/base/294186 Log: MFC r291140: Revert part of r291137 which seems correct, bit does not fix the resource problem I'm currently hunting down. Modified: stable/10/sys/netinet/sctp_pcb

svn commit: r294187 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:20:47 2016 New Revision: 294187 URL: https://svnweb.freebsd.org/changeset/base/294187 Log: MFC r291141: Fix the handling of IPSec policies in the SCTP stack. At least make sure they are not leaked... Modified: stable/10/sys/netinet/sctp_pcb.c stable/10

svn commit: r294188 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-16 Thread Allan Jude
Author: allanjude Date: Sat Jan 16 18:39:54 2016 New Revision: 294188 URL: https://svnweb.freebsd.org/changeset/base/294188 Log: MFC: r287337 Apply the noline attribute to vdev_queue_max_async_writes This makes it possible to analyze the performance of the new ZFS write throttle w

svn commit: r294189 - stable/10/sys/netinet

2016-01-16 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 16 18:59:10 2016 New Revision: 294189 URL: https://svnweb.freebsd.org/changeset/base/294189 Log: MFC r291364: When receiving an SCTP/UDP packet and the interface performed the UDP checksum computation and signals that it was OK, clear this bit when passing the

svn commit: r294190 - in stable/10/contrib/unbound: . compat daemon dns64 dnstap doc iterator libunbound libunbound/python libunbound/python/doc libunbound/python/doc/modules libunbound/python/exam...

2016-01-16 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jan 16 19:06:12 2016 New Revision: 294190 URL: https://svnweb.freebsd.org/changeset/base/294190 Log: MFH (r292206): upgrade to Unbound 1.5.7 MFH (r292135): run configure script with correct compiler Added: stable/10/contrib/unbound/.gitignore - copied unchanged fr

svn commit: r294192 - in stable/10: contrib/openpam contrib/openpam/bin contrib/openpam/bin/su contrib/openpam/doc contrib/openpam/doc/man contrib/openpam/include contrib/openpam/include/security c...

2016-01-16 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jan 16 19:48:03 2016 New Revision: 294192 URL: https://svnweb.freebsd.org/changeset/base/294192 Log: MFH (r262530): fix is_upper() predicate (almost two years late...) MFH (r271614): remove incorrect svn properties MFH (r274145): cast-qual bugs in tests MFH (r288070):

svn commit: r294193 - stable/10/crypto/openssh

2016-01-16 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jan 16 20:07:01 2016 New Revision: 294193 URL: https://svnweb.freebsd.org/changeset/base/294193 Log: MFH (r292408): use correct length in calloc() call Modified: stable/10/crypto/openssh/digest-libc.c Directory Properties: stable/10/ (props changed) Modified: stable

svn commit: r294194 - in stable/10: lib/libfetch usr.bin/fetch

2016-01-16 Thread Dag-Erling Smørgrav
Author: des Date: Sat Jan 16 20:24:02 2016 New Revision: 294194 URL: https://svnweb.freebsd.org/changeset/base/294194 Log: MFH (r280630): remove all traces of SSLv2 support MFH (r285141): remove unused variable MFH (r288217): correctly check return value from getaddrinfo(3) MFH (r289419):

svn commit: r294202 - in stable/10: sbin/ifconfig sys/net

2016-01-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Jan 17 05:38:03 2016 New Revision: 294202 URL: https://svnweb.freebsd.org/changeset/base/294202 Log: MFC r292831: Add SFF-8024 Extended Specification Compliance. Submitted by: markb_mellanox.com Differential Revision:https://reviews.freebsd.org/D

svn commit: r294203 - in stable/10/usr.sbin: arp ndp

2016-01-16 Thread Alexander V. Chernikov
Author: melifaro Date: Sun Jan 17 06:02:59 2016 New Revision: 294203 URL: https://svnweb.freebsd.org/changeset/base/294203 Log: MFC r288297 (userland part). If ever MFC is done for the new lltable code, this change will miminise ABI breakage. rtsock requests for deleting interface ad