svn commit: r283690 - stable/10/lib/libthr/thread

2015-05-29 Thread Konstantin Belousov
Author: kib Date: Fri May 29 07:48:30 2015 New Revision: 283690 URL: https://svnweb.freebsd.org/changeset/base/283690 Log: MFC r282948: Use bare mmap(2) to allocate space for the per-thread keys, instead of malloc(). This allows third party mallocs, which use pthread_setspecific(3) on the

svn commit: r283703 - stable/10/sys/netinet6

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:25:38 2015 New Revision: 283703 URL: https://svnweb.freebsd.org/changeset/base/283703 Log: MFC r275868: Plug a memory leak in an error code path. Reported by: Coverity CID: 1018936 Modified: stable/10/sys/netinet6/sctp6_usrreq.c

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:52:32 2015 New Revision: 283707 URL: https://svnweb.freebsd.org/changeset/base/283707 Log: MFC r276009: Don't check twice that inp is not NULL. Reported by: Coverity CID: 748671 Modified: stable/10/sys/netinet/sctputil.c Directory

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:27:45 2015 New Revision: 283717 URL: https://svnweb.freebsd.org/changeset/base/283717 Log: MFC r277347: Add protection code to free memory in case of processing an address which is neither IPv4 or IPv6. Reported by: Coverity CID: 749311

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:06:00 2015 New Revision: 283709 URL: https://svnweb.freebsd.org/changeset/base/283709 Log: MFC r277030: Remove dead code. Reported by: Coverity CID: 748666 Modified: stable/10/sys/netinet/sctp_pcb.c Directory Properties: stable/10/

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:22:35 2015 New Revision: 283715 URL: https://svnweb.freebsd.org/changeset/base/283715 Log: MFC r277053: Remove dead code. Reported by: Coverity CID: 748664 Modified: stable/10/sys/netinet/sctp_output.c Directory Properties:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:43:51 2015 New Revision: 283705 URL: https://svnweb.freebsd.org/changeset/base/283705 Log: MFC r275954: Cleanup the code. Reported by: Coverity CID: 1232003 Modified: stable/10/sys/netinet/sctp_usrreq.c Directory Properties:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:03:02 2015 New Revision: 283708 URL: https://svnweb.freebsd.org/changeset/base/283708 Log: MFC r276914: Minimize the usage of SCTP_BUF_IS_EXTENDED. This should help Robert... Modified: stable/10/sys/netinet/sctp_bsd_addr.c

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:08:49 2015 New Revision: 283710 URL: https://svnweb.freebsd.org/changeset/base/283710 Log: MFC r277031 Remove dead code. Reported by: Coverity CID: 748665 Modified: stable/10/sys/netinet/sctp_pcb.c Directory Properties: stable/10/

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:11:14 2015 New Revision: 283711 URL: https://svnweb.freebsd.org/changeset/base/283711 Log: MFC r277033: Remove dead code. Reported by: Coverity CID: 748660, 748661 Modified: stable/10/sys/netinet/sctp_asconf.c Directory Properties:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:15:00 2015 New Revision: 283699 URL: https://svnweb.freebsd.org/changeset/base/283699 Log: MFC r275567: Fix the support of mapped IPv4 addresses. Thanks to Mark Bonnekessel and Markus Boese for making me aware of the problems. Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:21:34 2015 New Revision: 283702 URL: https://svnweb.freebsd.org/changeset/base/283702 Log: MFC r275857: Initilize the msg_flags field consistently in all code paths. Reported by: Coverity CID: 1018726 Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:04:55 2015 New Revision: 283698 URL: https://svnweb.freebsd.org/changeset/base/283698 Log: MFC r273925: Don't zero the stats before they are read out. Modified: stable/10/sys/netinet/sctp_sysctl.c Directory Properties: stable/10/ (props changed)

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:01:46 2015 New Revision: 283697 URL: https://svnweb.freebsd.org/changeset/base/283697 Log: MFC r273634: Fix a use of an uninitialized variable by makeing sure that sctp_med_chunk_output() always initialized the reason_code instead of relying on the

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 11:19:30 2015 New Revision: 283701 URL: https://svnweb.freebsd.org/changeset/base/283701 Log: MFC r275682: Fix a typo reported by Lennart Grahl. Modified: stable/10/lib/libc/net/sctp_sys_calls.c Directory Properties: stable/10/ (props changed)

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:59:18 2015 New Revision: 283726 URL: https://svnweb.freebsd.org/changeset/base/283726 Log: MFC r279867: Keep track on the socket lock state. This fixes a bug showing up on Mac OS X. Modified: stable/10/sys/netinet/sctputil.c Directory Properties:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:02:00 2015 New Revision: 283727 URL: https://svnweb.freebsd.org/changeset/base/283727 Log: MFC r279886: Fix the adaptation of the path state when thresholds are changed using the SCTP_PEER_ADDR_THLDS socket option. Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:06:15 2015 New Revision: 283728 URL: https://svnweb.freebsd.org/changeset/base/283728 Log: MFC r280371: Remove a useless assignment. Modified: stable/10/sys/netinet/sctp_output.c Directory Properties: stable/10/ (props changed) Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:13:12 2015 New Revision: 283731 URL: https://svnweb.freebsd.org/changeset/base/283731 Log: MFC r280440: Fix the bug in the handling of fragmented abandoned SCTP user messages reported in https://code.google.com/p/sctp-refimpl/issues/detail?id=11

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:50:53 2015 New Revision: 283723 URL: https://svnweb.freebsd.org/changeset/base/283723 Log: MFC r279841: Fix a typo. Modified: stable/10/sys/netinet/sctp_timer.c Directory Properties: stable/10/ (props changed) Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 12:57:04 2015 New Revision: 283725 URL: https://svnweb.freebsd.org/changeset/base/283725 Log: MFC r279863: Unlock the stcb when using setsockopt() for the SCTP_PEER_ADDR_THLDS option. Modified: stable/10/sys/netinet/sctp_usrreq.c Directory Properties:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:28:24 2015 New Revision: 283737 URL: https://svnweb.freebsd.org/changeset/base/283737 Log: MFC r280782: Add an SCTP symbol which was missed in https://svnweb.freebsd.org/base?view=revisionrevision=169622 This fixes

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:08:43 2015 New Revision: 283729 URL: https://svnweb.freebsd.org/changeset/base/283729 Log: MFC r280404: When an ICMP message is received and the MTU shrinks, only mark outstanding chunks for retransmissions. Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:23:16 2015 New Revision: 283734 URL: https://svnweb.freebsd.org/changeset/base/283734 Log: MFC r280642: Make sure that we don't free an SCTP shared key too early. Thanks to Pouyan Sepehrdad from Qualcomm Product Security Initiative for reporting the

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:26:05 2015 New Revision: 283736 URL: https://svnweb.freebsd.org/changeset/base/283736 Log: MFC r280714: Improve the selection of the destination address of SACK chunks. This fixes https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196755 and is joint

svn commit: r283738 - stable/10/usr.bin/sockstat

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:30:37 2015 New Revision: 283738 URL: https://svnweb.freebsd.org/changeset/base/283738 Log: MFC r281202: The code says or, not either or. So fix the documentation. Modified: stable/10/usr.bin/sockstat/sockstat.1 Directory Properties: stable/10/

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:32:08 2015 New Revision: 283739 URL: https://svnweb.freebsd.org/changeset/base/283739 Log: MFC r281884: A complete user message is signalled with the MSG_EOR flag, not the MSG_EOF flag. Thanks to Valentin Nechayev for reporting the issue. Modified:

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

2015-05-29 Thread Michael Tuexen
Author: tuexen Date: Fri May 29 13:37:04 2015 New Revision: 283741 URL: https://svnweb.freebsd.org/changeset/base/283741 Log: MFC r282810: Ensure that the COOKIE-ACK can be sent over UDP if the COOKIE-ECHO was received over UDP. Thanks to Felix Weinrank for makeing me aware of the

svn commit: r283748 - stable/10/contrib/ipfilter/tools

2015-05-29 Thread Ed Maste
Author: emaste Date: Fri May 29 17:43:14 2015 New Revision: 283748 URL: https://svnweb.freebsd.org/changeset/base/283748 Log: MFC r283295: ipf(1): Use strchr(3) instead of deprecated index(3) Sponsored by: The FreeBSD Foundation Modified: stable/10/contrib/ipfilter/tools/ipf.c Directory

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

2015-05-29 Thread Eric Joyner
Author: erj Date: Fri May 29 23:02:12 2015 New Revision: 283758 URL: https://svnweb.freebsd.org/changeset/base/283758 Log: MFC r281236 -- extended media types in if_media.h. Approved by: jfv (mentor) Modified: stable/10/sbin/ifconfig/ifmedia.c stable/10/sys/net/ieee8023ad_lacp.c

svn commit: r283752 - stable/10/sys/dev/bxe

2015-05-29 Thread David C Somayajulu
Author: davidcs Date: Fri May 29 20:00:02 2015 New Revision: 283752 URL: https://svnweb.freebsd.org/changeset/base/283752 Log: MFC r283269 Submitted by:gary.zambr...@qlogic.com Approved by:davi...@freebsd.org Modified: stable/10/sys/dev/bxe/bxe.c Directory Properties: stable/10/