svn commit: r332165 - head/usr.sbin/syslogd

2018-04-07 Thread Ed Schouten
Author: ed Date: Sat Apr 7 09:03:51 2018 New Revision: 332165 URL: https://svnweb.freebsd.org/changeset/base/332165 Log: Fix enough warnings that we can build syslogd on all targets at WARNS=6. This also fixes the build on MIPS. Reported by: cy (MIPS build failure) Modified:

svn commit: r332164 - stable/11/lib/libcapsicum

2018-04-07 Thread Kyle Evans
Author: kevans Date: Sat Apr 7 03:51:19 2018 New Revision: 332164 URL: https://svnweb.freebsd.org/changeset/base/332164 Log: MFC r322324: capsicum_helpers: Add FIODTYPE to default ioctls allowed FIODTYPE will be needed by hexdump(1) to speed up the -s flag on devices that should be able

svn commit: r332185 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:38:38 2018 New Revision: 332185 URL: https://svnweb.freebsd.org/changeset/base/332185 Log: MFC r323376: Fix locking issues found by Coverity scanning the usrsctp library. Modified: stable/11/sys/netinet/sctp_usrreq.c Directory Properties: stable/11/

svn commit: r332184 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:36:53 2018 New Revision: 332184 URL: https://svnweb.freebsd.org/changeset/base/332184 Log: MFC r323374: Silence a Coverity warning from scanning the usrsctp library. Modified: stable/11/sys/netinet/sctp_pcb.c Directory Properties: stable/11/ (props

svn commit: r332189 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:59:08 2018 New Revision: 332189 URL: https://svnweb.freebsd.org/changeset/base/332189 Log: MFC r323657: Remove code not used on any platform currently supported. Modified: stable/11/sys/netinet/sctp.h stable/11/sys/netinet/sctp_constants.h

svn commit: r332193 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 18:08:42 2018 New Revision: 332193 URL: https://svnweb.freebsd.org/changeset/base/332193 Log: MFC r323776: Fix a warning. Modified: stable/11/sys/netinet/sctp_input.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332194 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 18:09:31 2018 New Revision: 332194 URL: https://svnweb.freebsd.org/changeset/base/332194 Log: Add support for writing/changing spi device ivars. The SPI mode (polarity and phase) and the maximum bus speed can be changed. The chip select number cannot be

svn commit: r332195 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 18:25:07 2018 New Revision: 332195 URL: https://svnweb.freebsd.org/changeset/base/332195 Log: A couple minor improvements to spibus.c... - Change the description string to "SPI bus" (was "spibus bus"). - This is the default driver for a SPI bus, not a

svn commit: r332196 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 18:58:58 2018 New Revision: 332196 URL: https://svnweb.freebsd.org/changeset/base/332196 Log: Return BUS_PROBE_DEFAULT, not zero, because this is not the one driver implementation that must be used, it's just the base system default driver. Also add a comment

svn commit: r332197 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:09:51 2018 New Revision: 332197 URL: https://svnweb.freebsd.org/changeset/base/332197 Log: MFC r323833: Protect the address workqueue timer by a mutex. Modified: stable/11/sys/netinet/sctp_pcb.c stable/11/sys/netinet/sctputil.c Directory Properties:

svn commit: r332202 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:16:06 2018 New Revision: 332202 URL: https://svnweb.freebsd.org/changeset/base/332202 Log: MFC r323902: Add missing socket lock. Modified: stable/11/sys/netinet/sctp_pcb.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332203 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:17:31 2018 New Revision: 332203 URL: https://svnweb.freebsd.org/changeset/base/332203 Log: MFC r323904: Add missing locking. Found by Coverity while scanning the usrsctp library. Modified: stable/11/sys/netinet/sctp_input.c Directory Properties:

svn commit: r332204 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:19:25 2018 New Revision: 332204 URL: https://svnweb.freebsd.org/changeset/base/332204 Log: MFC r324056: Remove unused function. Modified: stable/11/sys/netinet/sctp_asconf.c stable/11/sys/netinet/sctp_asconf.h Directory Properties: stable/11/

svn commit: r332208 - head/sys/modules/cam

2018-04-07 Thread Warner Losh
Author: imp Date: Sat Apr 7 19:29:19 2018 New Revision: 332208 URL: https://svnweb.freebsd.org/changeset/base/332208 Log: Add nvme_util.c to cam.ko. cam.ko can't load onto the kernel w/o nvme in the kernel. Add nvme_util.c to cam.ko. Noticed by: kib@ Modified:

svn commit: r332212 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:44:41 2018 New Revision: 332212 URL: https://svnweb.freebsd.org/changeset/base/332212 Log: MFC r324615: Code cleanup, not functional change. This avoids taking a pointer of a packed structure which allows simpler compilation of the userland stack.

svn commit: r332216 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:00:58 2018 New Revision: 332216 URL: https://svnweb.freebsd.org/changeset/base/332216 Log: MFC r324954: Fix a locking issue found by running AFL on the userland stack. Thanks to Felix Weinrank for reporting the issue. Modified:

svn commit: r332215 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:59:40 2018 New Revision: 332215 URL: https://svnweb.freebsd.org/changeset/base/332215 Log: MFC r324730: Fix a signed/unsigned warning. Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332220 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:05:25 2018 New Revision: 332220 URL: https://svnweb.freebsd.org/changeset/base/332220 Log: MFC r325046: Fix parsing error when processing cmsg in SCTP send calls. The bug is related to a signed/unsigned mismatch. This should most likely fix the issue

svn commit: r332219 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 20:04:03 2018 New Revision: 332219 URL: https://svnweb.freebsd.org/changeset/base/332219 Log: Remove the existing identify() hack to force-add a spigen device on FDT-based systems, and instead add proper FDT probe code. Because this driver is freebsd-specific

svn commit: r332221 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:06:50 2018 New Revision: 332221 URL: https://svnweb.freebsd.org/changeset/base/332221 Log: MFC r325284: Fix the reporting of the MTU for SCTP sockets when using IPv6. Modified: stable/11/sys/netinet/sctp_usrreq.c Directory Properties: stable/11/

svn commit: r332166 - head/sys/arm/allwinner

2018-04-07 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 7 14:17:17 2018 New Revision: 332166 URL: https://svnweb.freebsd.org/changeset/base/332166 Log: axp81x: Do not fail if regulators aren't properly defined If a regulator is missing a mandatory property (like 'regulator-name'), do not fail,

svn commit: r332169 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:38:58 2018 New Revision: 332169 URL: https://svnweb.freebsd.org/changeset/base/332169 Log: MFC r321034: Fix the handling of Explicit EOR mode. While there, appropriately handle the overhead depending on the usage of DATA or I-DATA chunks. Take the

svn commit: r332170 - head/stand/libsa

2018-04-07 Thread Toomas Soome
Author: tsoome Date: Sat Apr 7 14:40:09 2018 New Revision: 332170 URL: https://svnweb.freebsd.org/changeset/base/332170 Log: libsa: cd9660: warning: 'lenskip' may be used uninitialized in this function We better provide value for lenskip in both instances. Modified:

svn commit: r332177 - stable/11/sys/netinet/tcp_stacks

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 15:10:08 2018 New Revision: 332177 URL: https://svnweb.freebsd.org/changeset/base/332177 Log: MFC r322812: Avoid TCP log messages which are false positives. The check for timestamps are too early to handle SYN-ACK correctly. So move it down after the

svn commit: r332186 - stable/11/sys/netinet6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:40:11 2018 New Revision: 332186 URL: https://svnweb.freebsd.org/changeset/base/332186 Log: MFC r323377: Fix a locking issue found by Coverity scanning the usrsctp library. Modified: stable/11/sys/netinet6/sctp6_usrreq.c Directory Properties:

svn commit: r332187 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:41:32 2018 New Revision: 332187 URL: https://svnweb.freebsd.org/changeset/base/332187 Log: MFC r323378: Fix MTU computation. Coverity scanning usrsctp pointed to this code... Modified: stable/11/sys/netinet/sctp_output.c Directory Properties:

svn commit: r332190 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 18:02:17 2018 New Revision: 332190 URL: https://svnweb.freebsd.org/changeset/base/332190 Log: MFC r323670: Fix an accounting bug and use sctp_timer_start to start a timer. Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/

svn commit: r332206 - stable/11/usr.sbin/traceroute6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:22:32 2018 New Revision: 332206 URL: https://svnweb.freebsd.org/changeset/base/332206 Log: MFC r324120: Add SCTP and TCP as protocols for sending probe packets. Modified: stable/11/usr.sbin/traceroute6/traceroute6.8

svn commit: r332205 - stable/11/usr.sbin/traceroute6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:21:15 2018 New Revision: 332205 URL: https://svnweb.freebsd.org/changeset/base/332205 Log: MFC r324119: * Update function definitions. * Ensure that the datalen always describes the length after the IPv6 header consistently, not matter which

svn commit: r332209 - in stable/11: sbin/ipfw sys/netpfil/ipfw

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:38:55 2018 New Revision: 332209 URL: https://svnweb.freebsd.org/changeset/base/332209 Log: MFC r324216: Fix a bug which avoided that rules for matching port numbers for SCTP packets where actually matched. While there, make clean in the man-page that

svn commit: r332210 - stable/11/sbin/ipfw

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:40:48 2018 New Revision: 332210 URL: https://svnweb.freebsd.org/changeset/base/332210 Log: MFC r324218: Whitespace changes: Remove leading spaces followed by a tab. Modified: stable/11/sbin/ipfw/ipfw2.h Directory Properties: stable/11/ (props

svn commit: r332211 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:42:53 2018 New Revision: 332211 URL: https://svnweb.freebsd.org/changeset/base/332211 Log: MFC r324317: Ensure that the accept ABORT chunks with the T-bit set only the a non-zero matching peer tag is provided. Modified:

svn commit: r332214 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:58:14 2018 New Revision: 332214 URL: https://svnweb.freebsd.org/changeset/base/332214 Log: MFC r324729: Abort an SCTP association, when a DATA chunk is followed by an unknown chunk with a length smaller than the minimum length. Thanks to Felix

svn commit: r332222 - in stable/11/sys: netinet netinet6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:08:17 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: MFC r325370: Allow the setting of the MTU for future paths using an SCTP socket option. This functionality was missing. Modified:

svn commit: r332226 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:15:12 2018 New Revision: 332226 URL: https://svnweb.freebsd.org/changeset/base/332226 Log: MFC r325864: Fix the handling of ERROR chunks which a lot of error causes. While there, clean up the code. Thanks to Felix Weinrank who found the bug by using

svn commit: r332225 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:13:29 2018 New Revision: 332225 URL: https://svnweb.freebsd.org/changeset/base/332225 Log: MFC r325788: Simply the code and use the full buffer for contigous chunk representation. Modified: stable/11/sys/netinet/sctp_input.c Directory Properties:

svn commit: r332183 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:35:04 2018 New Revision: 332183 URL: https://svnweb.freebsd.org/changeset/base/332183 Log: MFC r323372: Savely remove a chunk from the control queue. This bug was found by Coverity scanning the usrsctp library. Modified:

svn commit: r332188 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 17:54:38 2018 New Revision: 332188 URL: https://svnweb.freebsd.org/changeset/base/332188 Log: MFC r323505: Export the UDP encapsualation port and the path state. Modified: stable/11/sys/netinet/sctp_sysctl.c stable/11/sys/netinet/sctp_uio.h Directory

svn commit: r332191 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 18:05:01 2018 New Revision: 332191 URL: https://svnweb.freebsd.org/changeset/base/332191 Log: MFC r323763: Remove a no longer used variable. Reported by: Felix Weinrank Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/

svn commit: r332192 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 18:06:40 2018 New Revision: 332192 URL: https://svnweb.freebsd.org/changeset/base/332192 Log: MFC r323774: Avoid an overflow when computing the staleness. This issue was found by running libfuzz on the userland stack. Modified:

svn commit: r332200 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:13:05 2018 New Revision: 332200 URL: https://svnweb.freebsd.org/changeset/base/332200 Log: MFC r323850: Free the control structure after using is, not before. Found by Coverity while scanning the usrsctp library. Modified:

svn commit: r332199 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:11:21 2018 New Revision: 332199 URL: https://svnweb.freebsd.org/changeset/base/332199 Log: MFC r323847: No need to wakeup, since sctp_add_to_readq() does it. Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/ (props

svn commit: r332201 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:14:31 2018 New Revision: 332201 URL: https://svnweb.freebsd.org/changeset/base/332201 Log: MFC r323861: Code cleanup, no functional change. Modified: stable/11/sys/netinet/sctp_constants.h stable/11/sys/netinet/sctp_input.c

svn commit: r332198 - head/sys/modules/spigen

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 19:09:57 2018 New Revision: 332198 URL: https://svnweb.freebsd.org/changeset/base/332198 Log: Arrange the list of generated sources as 1-per-line alphbetical, and add the files required when building for FDT-based systems. Modified:

svn commit: r332207 - stable/11/usr.sbin/traceroute6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:23:51 2018 New Revision: 332207 URL: https://svnweb.freebsd.org/changeset/base/332207 Log: MFC r324122: Fix reporting of probing size. This bug was introduced in r324119. Modified: stable/11/usr.sbin/traceroute6/traceroute6.c Directory Properties:

svn commit: r332213 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 19:56:34 2018 New Revision: 332213 URL: https://svnweb.freebsd.org/changeset/base/332213 Log: MFC r324638: Fix the handling of parital and too short chunks. Ensure that the current behaviour is consistent: stop processing of the chunk, but finish the

svn commit: r332217 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:02:08 2018 New Revision: 332217 URL: https://svnweb.freebsd.org/changeset/base/332217 Log: MFC r324958: Fix a bug in handling special ABORT chunks. Thanks to Felix Weinrank for finding this issue using libfuzzer with the userland stack. Modified:

svn commit: r332218 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:03:35 2018 New Revision: 332218 URL: https://svnweb.freebsd.org/changeset/base/332218 Log: MFC r324971: Fix a bug reported by Felix Weinrank using the libfuzzer on the userland stack. Modified: stable/11/sys/netinet/sctp_auth.c Directory Properties:

svn commit: r332224 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:11:56 2018 New Revision: 332224 URL: https://svnweb.freebsd.org/changeset/base/332224 Log: MFC r325746: Cleanup the handling of control chunks. While there fix some minor bug related to clearing the assoc retransmit counter and the dup TSN handling of

svn commit: r332223 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:10:26 2018 New Revision: 332223 URL: https://svnweb.freebsd.org/changeset/base/332223 Log: MFC r325434: Fix an accounting bug where data was counted twice if on the read queue and on the ordered or unordered queue. While there, improve the checking in

svn commit: r332264 - head/lib/libufs

2018-04-07 Thread Kirk McKusick
Author: mckusick Date: Sun Apr 8 05:15:34 2018 New Revision: 332264 URL: https://svnweb.freebsd.org/changeset/base/332264 Log: Defensive programming when reading inodes in getino(). Specifically check for out-of-range inodes, and whether return-value pointers are NULL. Modified:

Re: svn commit: r331369 - head/sys/vm

2018-04-07 Thread Bruce Evans
On Sat, 7 Apr 2018, Cy Schubert wrote: In message <201803230615.w2n6ftmj040...@slippy.cwsent.com>, Cy Schubert writes: In message <20180323150709.h...@besplex.bde.org>, Bruce Evans writes: On Thu, 22 Mar 2018, Jeff Roberson wrote: On Thu, 22 Mar 2018, Cy Schubert wrote: It broke i386 too.

svn commit: r332172 - in stable/11/sys: netinet netinet6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:41:44 2018 New Revision: 332172 URL: https://svnweb.freebsd.org/changeset/base/332172 Log: MFC r321204: Use memset/memcpy instead of bzero/bcopy. Just use one variant instead of both. Use the memset/memcpy ones since they cause less problems in

svn commit: r332174 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:43:01 2018 New Revision: 332174 URL: https://svnweb.freebsd.org/changeset/base/332174 Log: MFC r321205: Avoid shadowed variables. Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332181 - head/sys/arm/allwinner/clkng

2018-04-07 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 7 15:40:00 2018 New Revision: 332181 URL: https://svnweb.freebsd.org/changeset/base/332181 Log: allwinner: a83t_r_ccu: Add proper IR clock support Now that NM clocks support prediv, add proper support for the IR clock found on the A83T SoC. Tested On:

svn commit: r332182 - in head/sys: amd64/amd64 vm

2018-04-07 Thread Konstantin Belousov
Author: kib Date: Sat Apr 7 17:06:13 2018 New Revision: 332182 URL: https://svnweb.freebsd.org/changeset/base/332182 Log: Handle Skylake-X errata SKZ63. SKZ63 Processor May Hang When Executing Code In an HLE Transaction Region Problem: Under certain conditions, if the processor

svn commit: r332167 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:35:46 2018 New Revision: 332167 URL: https://svnweb.freebsd.org/changeset/base/332167 Log: MFC r320650: Don't hold a refcount on an stcb when it is not needed. This improves the consistency with other parts of the code. Modified:

svn commit: r332173 - head/stand/libsa

2018-04-07 Thread Toomas Soome
Author: tsoome Date: Sat Apr 7 14:42:47 2018 New Revision: 332173 URL: https://svnweb.freebsd.org/changeset/base/332173 Log: libsa: name is not used in dirmatch() Seems like variable 'name' is leftover. Modified: head/stand/libsa/cd9660read.c Modified: head/stand/libsa/cd9660read.c

svn commit: r332180 - head/sys/arm/allwinner/clkng

2018-04-07 Thread Emmanuel Vadot
Author: manu Date: Sat Apr 7 15:38:42 2018 New Revision: 332180 URL: https://svnweb.freebsd.org/changeset/base/332180 Log: allwinner: aw_clk_nm: Add prediv value Some NM clocks needs a fixed prediv value applied to the parent frequency on some conditions. Add support for it. Modified:

svn commit: r332168 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:37:16 2018 New Revision: 332168 URL: https://svnweb.freebsd.org/changeset/base/332168 Log: MFC r320653: Move to open state after plausibility checks. When doing this too early, the MIB counters go wrong. Modified: stable/11/sys/netinet/sctp_input.c

svn commit: r332175 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:44:21 2018 New Revision: 332175 URL: https://svnweb.freebsd.org/changeset/base/332175 Log: MFC r321289: Fix the explicit EOR mode. If the final messages is not complete, send an ABORT. Joint work with rrs@ Modified:

svn commit: r332176 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 14:45:55 2018 New Revision: 332176 URL: https://svnweb.freebsd.org/changeset/base/332176 Log: MFC r321463: Remove duplicate statement. Modified: stable/11/sys/netinet/sctp_indata.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332178 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 15:16:57 2018 New Revision: 332178 URL: https://svnweb.freebsd.org/changeset/base/332178 Log: MFC r322967: Fix blackhole detection. There were two bugs related to the blackhole detection: * The smalles size was tried more than two times. * The

svn commit: r332179 - stable/11/usr.bin/netstat

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 15:19:10 2018 New Revision: 332179 URL: https://svnweb.freebsd.org/changeset/base/332179 Log: MFC r323352: The combination of IPv6 and SCTP is also supported. Modified: stable/11/usr.bin/netstat/netstat.1 Directory Properties: stable/11/ (props

svn commit: r332239 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:52:05 2018 New Revision: 332239 URL: https://svnweb.freebsd.org/changeset/base/332239 Log: MFC r327919: Add support for readv() and writev() to truss. Sponsored by:iNetflix, Inc. Modified: stable/11/usr.bin/truss/syscall.h

svn commit: r332240 - head/sys/sys

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 20:53:34 2018 New Revision: 332240 URL: https://svnweb.freebsd.org/changeset/base/332240 Log: Add the ioctl definitions for spigen get/set spi mode. Should have been part of r332233. Modified: head/sys/sys/spigenio.h Modified: head/sys/sys/spigenio.h

svn commit: r332241 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:54:37 2018 New Revision: 332241 URL: https://svnweb.freebsd.org/changeset/base/332241 Log: MFC r327921: Fix a typo introduced in r327919. Modified: stable/11/usr.bin/truss/syscalls.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332244 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:00:21 2018 New Revision: 332244 URL: https://svnweb.freebsd.org/changeset/base/332244 Log: MFC r327966: Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo. Added: stable/11/lib/libsysdecode/sysdecode_sctp_sinfo_flags.3 - copied

svn commit: r332245 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:01:43 2018 New Revision: 332245 URL: https://svnweb.freebsd.org/changeset/base/332245 Log: MFC r327967: Improve support for sctp_generic_recvmsg() and sctp_generic_sendmsg() and add support for sctp_generic_sendmsg_iov(). Handle the struct iovec

svn commit: r332251 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:07:47 2018 New Revision: 332251 URL: https://svnweb.freebsd.org/changeset/base/332251 Log: MFC r328058: Using %p already prints "0x", so don't do it explicitly. Modified: stable/11/usr.bin/truss/syscalls.c Directory Properties: stable/11/ (props

svn commit: r332252 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:08:44 2018 New Revision: 332252 URL: https://svnweb.freebsd.org/changeset/base/332252 Log: MFC r328059: Improve the printing of cmgs when the length is 0. Fix error handling. Modified: stable/11/usr.bin/truss/syscalls.c Directory Properties:

svn commit: r332257 - stable/11/sys/netinet/libalias

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:25:29 2018 New Revision: 332257 URL: https://svnweb.freebsd.org/changeset/base/332257 Log: MFC r327214: Whitespace changes. Modified: stable/11/sys/netinet/libalias/alias_sctp.c Directory Properties: stable/11/ (props changed) Modified:

Re: svn commit: r332258 - head/sys/dev/spibus

2018-04-07 Thread O. Hartmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am Sat, 7 Apr 2018 21:31:09 + (UTC) Ian Lepore schrieb: > Author: ian > Date: Sat Apr 7 21:31:09 2018 > New Revision: 332258 > URL: https://svnweb.freebsd.org/changeset/base/332258 > > Log: > Don't check for impossible

Re: svn commit: r331369 - head/sys/vm

2018-04-07 Thread Cy Schubert
In message <201803230615.w2n6ftmj040...@slippy.cwsent.com>, Cy Schubert writes: > In message <20180323150709.h...@besplex.bde.org>, Bruce Evans writes: > > On Thu, 22 Mar 2018, Jeff Roberson wrote: > > > > > On Thu, 22 Mar 2018, Cy Schubert wrote: > > > > > >> It broke i386 too. > > > > > > I

Re: svn commit: r332258 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
On Sat, 2018-04-07 at 23:59 +0200, O. Hartmann wrote: > Am Sat, 7 Apr 2018 21:31:09 + (UTC) > Ian Lepore schrieb: > > > > > Author: ian > > Date: Sat Apr  7 21:31:09 2018 > > New Revision: 332258 > > URL: https://svnweb.freebsd.org/changeset/base/332258 > > > > Log: > >  

svn commit: r332230 - stable/11/sys/kern

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:34:03 2018 New Revision: 332230 URL: https://svnweb.freebsd.org/changeset/base/332230 Log: MFC r327844: Ensure that the vnet is set when calling pru_sockaddr() and pru_peeraddr(). This is already true when called via kern_getsockname() and

svn commit: r332234 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:39:09 2018 New Revision: 332234 URL: https://svnweb.freebsd.org/changeset/base/332234 Log: MFC r328066: Fix a bug related to fast retransmissions. When processing a SACK advancing the cumtsn-ack in fast recovery, increment the miss-indications for

svn commit: r332236 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:42:06 2018 New Revision: 332236 URL: https://svnweb.freebsd.org/changeset/base/332236 Log: MFC r328478: Add constant for the PAD chunk as defined in RFC 4820. This will be used by traceroute and traceroute6 soon. Modified:

svn commit: r332247 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:03:46 2018 New Revision: 332247 URL: https://svnweb.freebsd.org/changeset/base/332247 Log: MFC r327995: Add support for decoding the type of a cmsg. Added: stable/11/lib/libsysdecode/sysdecode_cmsg_type.3 - copied unchanged from r327995,

svn commit: r332246 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:02:42 2018 New Revision: 332246 URL: https://svnweb.freebsd.org/changeset/base/332246 Log: MFC r327994: Simplify table generation. Modified: stable/11/lib/libsysdecode/mktables Directory Properties: stable/11/ (props changed) Modified:

svn commit: r332254 - stable/11/sys/netinet/libalias

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:12:16 2018 New Revision: 332254 URL: https://svnweb.freebsd.org/changeset/base/332254 Log: MFC r327205: Fix an assignment. While there, do some whitespace cleanups. CID: 1008936 Modified: stable/11/sys/netinet/libalias/alias_sctp.c Directory

svn commit: r332253 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:09:51 2018 New Revision: 332253 URL: https://svnweb.freebsd.org/changeset/base/332253 Log: MFC r328081: Add missing assignment to make sure non-first cmsgs are handled as such. Modified: stable/11/usr.bin/truss/syscalls.c Directory Properties:

svn commit: r332258 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 21:31:09 2018 New Revision: 332258 URL: https://svnweb.freebsd.org/changeset/base/332258 Log: Don't check for impossible NULL return from malloc(..., M_WAITOK). Modified: head/sys/dev/spibus/spigen.c Modified: head/sys/dev/spibus/spigen.c

svn commit: r332259 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 22:21:06 2018 New Revision: 332259 URL: https://svnweb.freebsd.org/changeset/base/332259 Log: Cast the data pointer to the correct type for the data being accessed (as opposed to one that accidentally worked on the one arch I test-compiled for on my first try).

svn commit: r332260 - head/sys/dts/arm/overlays

2018-04-07 Thread Kyle Evans
Author: kevans Date: Sat Apr 7 22:28:43 2018 New Revision: 332260 URL: https://svnweb.freebsd.org/changeset/base/332260 Log: Add a83t overlays for sid and emac The sun8i-a83t-bananapi-m3-emac overlay technically doesn't match what will be coming from upstream. The tx-delay and rx-delay

svn commit: r332229 - in stable/11: sbin/ipfw sys/conf sys/netinet sys/netpfil/ipfw

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:27:11 2018 New Revision: 332229 URL: https://svnweb.freebsd.org/changeset/base/332229 Log: MFC r326233: Add to ipfw support for sending an SCTP packet containing an ABORT chunk. This is similar to the TCP case. where a TCP RST segment can be sent.

svn commit: r332227 - in stable/11: sys/conf sys/netinet sys/netinet6 usr.bin/systat

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:22:04 2018 New Revision: 332227 URL: https://svnweb.freebsd.org/changeset/base/332227 Log: MFC r326672: Retire SCTP_WITH_NO_CSUM option. This option was used in the early days to allow performance measurements extrapolating the use of SCTP checksum

svn commit: r332228 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:23:34 2018 New Revision: 332228 URL: https://svnweb.freebsd.org/changeset/base/332228 Log: MFC r326829: Cleaup, no functional change. Modified: stable/11/sys/netinet/sctp_input.c stable/11/sys/netinet/sctp_output.c Directory Properties: stable/11/

svn commit: r332235 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:40:40 2018 New Revision: 332235 URL: https://svnweb.freebsd.org/changeset/base/332235 Log: MFC r328477: Update references in comments, since the IDs have become an RFC long time ago. Also cleanup whitespaces. No functional change. Modified:

svn commit: r332233 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 20:38:01 2018 New Revision: 332233 URL: https://svnweb.freebsd.org/changeset/base/332233 Log: Add an ioctl to get/set the SPI transfer mode. Also, make the bus clock frequency ioctl actually set the corresponding ivar instead of just storing the value locally

svn commit: r332231 - head/sys/dev/spibus

2018-04-07 Thread Ian Lepore
Author: ian Date: Sat Apr 7 20:34:57 2018 New Revision: 332231 URL: https://svnweb.freebsd.org/changeset/base/332231 Log: Generate a spibus_set_[ivarname]() convenience function for each ivar, now that they can be set. Modified: head/sys/dev/spibus/spibusvar.h Modified:

svn commit: r332232 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:37:44 2018 New Revision: 332232 URL: https://svnweb.freebsd.org/changeset/base/332232 Log: MFC r328028: Don't provide a (meaningless) cmsg when proving a notification in a recvmsg() call. Modified: stable/11/sys/netinet/sctputil.c Directory

svn commit: r332237 - in stable/11: contrib/traceroute usr.sbin/traceroute6

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:44:30 2018 New Revision: 332237 URL: https://svnweb.freebsd.org/changeset/base/332237 Log: MFC r328488: When using SCTP for sending probe packets, use INIT chunks for payloads larger than or equal to 32 bytes. For smaller probe packets, keep using

svn commit: r332238 - stable/11/sys/netinet

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:47:25 2018 New Revision: 332238 URL: https://svnweb.freebsd.org/changeset/base/332238 Log: MFC r331061: Set the inp_vflag consistently for accepted TCP/IPv6 connections when net.inet6.ip6.v6only=0. Without this patch, the inp_vflag would have

svn commit: r332243 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:57:27 2018 New Revision: 332243 URL: https://svnweb.freebsd.org/changeset/base/332243 Log: MFC r327962: Add support for the supported PR-SCTP policies. Modified: stable/11/lib/libsysdecode/Makefile stable/11/lib/libsysdecode/flags.c

svn commit: r332242 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 20:56:07 2018 New Revision: 332242 URL: https://svnweb.freebsd.org/changeset/base/332242 Log: MFC r327961: Mark the iovec parameters of writev() and readv() as IN and OUT. This makes truss work on readv() as expected. Modified:

svn commit: r332249 - stable/11/usr.bin/truss

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:05:39 2018 New Revision: 332249 URL: https://svnweb.freebsd.org/changeset/base/332249 Log: MFC r328015: Decode msghdr argument of sendmsg() and recvmsg(). Modified: stable/11/usr.bin/truss/syscall.h stable/11/usr.bin/truss/syscalls.c Directory

svn commit: r332248 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:04:43 2018 New Revision: 332248 URL: https://svnweb.freebsd.org/changeset/base/332248 Log: MFC r328014: Add support for decoding the nxt_flags, rcv_flags, and snd_flags of SCTP level cmsgs. Modified: stable/11/lib/libsysdecode/Makefile

svn commit: r332250 - stable/11/lib/libsysdecode

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:06:39 2018 New Revision: 332250 URL: https://svnweb.freebsd.org/changeset/base/332250 Log: MFC r328033: Bump date, which I missed in r328014. Thanks to jhb@ for reporting. Modified: stable/11/lib/libsysdecode/sysdecode_mask.3 Directory Properties:

svn commit: r332256 - stable/11/sys/netinet/libalias

2018-04-07 Thread Michael Tuexen
Author: tuexen Date: Sat Apr 7 21:24:17 2018 New Revision: 332256 URL: https://svnweb.freebsd.org/changeset/base/332256 Log: MFC r327209: Clarify that there is no break missing. While there, cleanup whitespaces. Modified: stable/11/sys/netinet/libalias/alias_sctp.c Directory

  1   2   >