svn commit: r290162 - head/share/misc

2015-10-29 Thread Jonathan T. Looney
.org\n2011/01/21"] +jtl [label="Jonathan T. Looney\n...@freebsd.org\n2015/10/26"] julian [label="Julian Elischer\njul...@freebsd.org\n1993/04/19"] jwd [label="John De Boskey\n...@freebsd.org\n2000/05/19"] kaiw [label="Kai Wang\nk...@freebsd.org\n2007/09/26

svn commit: r290811 - in head/sys: dev/hwpmc sys

2015-11-13 Thread Jonathan T. Looney
Author: jtl Date: Sat Nov 14 01:40:12 2015 New Revision: 290811 URL: https://svnweb.freebsd.org/changeset/base/290811 Log: Fix hwpmc "stalled" behavior Currently, there is a single pm_stalled flag that tracks whether a performance monitor was "stalled" due to insufficent ring buffer

svn commit: r290813 - head/sys/dev/hwpmc

2015-11-13 Thread Jonathan T. Looney
Author: jtl Date: Sat Nov 14 01:45:55 2015 New Revision: 290813 URL: https://svnweb.freebsd.org/changeset/base/290813 Log: Optimizations to the way hwpmc gathers user callchains Changes to the code to gather user stacks: * Delay setting pmc_cpumask until we actually have the stack. *

svn commit: r290929 - in head: lib/libpmc sys/sys usr.sbin/pmcstat

2015-11-16 Thread Jonathan T. Looney
Author: jtl Date: Mon Nov 16 15:16:09 2015 New Revision: 290929 URL: https://svnweb.freebsd.org/changeset/base/290929 Log: Change the driver stats to what they really are: unsigned values. When pmcstat exits after some samples were dropped, give the user an idea of how many were lost.

svn commit: r290930 - head/sys/dev/hwpmc

2015-11-16 Thread Jonathan T. Looney
Author: jtl Date: Mon Nov 16 15:22:15 2015 New Revision: 290930 URL: https://svnweb.freebsd.org/changeset/base/290930 Log: Improve accuracy of PMC sampling frequency The code tracks a counter which is the number of events until the next sample. On context switch in, it loads the saved

svn commit: r291017 - head/usr.sbin/pmcstat

2015-11-18 Thread Jonathan T. Looney
Author: jtl Date: Wed Nov 18 15:12:24 2015 New Revision: 291017 URL: https://svnweb.freebsd.org/changeset/base/291017 Log: Fix the date on the pmcstat(8) man page from r291016. Approved by: gnn (mentor) MFC after:1 month X-MFC with: r291016 Pointy hat to:jtl Modified:

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-16 Thread Jonathan T. Looney
On Dec 16, 2015, at 10:08 AM, Randall Stewart wrote: > Ahh I think I see this is a difference between our friend > clang and gcc.. since I bet ppc uses gcc not clang :-o This sort of thing seems to happen often enough that it would be nice if there was an option to

svn commit: r293313 - head/sys/netinet/tcp_stacks

2016-01-07 Thread Jonathan T. Looney
Author: jtl Date: Thu Jan 7 11:54:20 2016 New Revision: 293313 URL: https://svnweb.freebsd.org/changeset/base/293313 Log: Apply the changes from r293284 to one additional file. Discussed with: glebius Modified: head/sys/netinet/tcp_stacks/fastpath.c Modified:

Re: svn commit: r293284 - in head/sys: dev/cxgb/ulp/tom dev/cxgbe/tom netinet

2016-01-07 Thread Jonathan T. Looney
On 1/7/16, 4:24 AM, "owner-src-committ...@freebsd.org on behalf of Ivan Klymenko" wrote: >On Wed, 6 Jan 2016 18:20:50 -0800 >NGie Cooper wrote: > >> On Wed, Jan 6, 2016 at 4:14 PM, Gleb Smirnoff

Re: svn commit: r292955 - head/lib/libmd

2015-12-31 Thread Jonathan T. Looney
Dear Bruce, On 12/30/15, 10:03 PM, "Bruce Evans" <b...@optusnet.com.au> wrote: >On Wed, 30 Dec 2015, Jonathan T. Looney wrote: > >> Log: >> Fix a file descriptor leak in mdXhl.c (which is used by numerous >>hashing >> algorithms. > >This co

Re: svn commit: r292955 - head/lib/libmd

2015-12-31 Thread Jonathan T. Looney
On 12/31/15, 2:15 AM, "Allan Jude" wrote: >It seems these problems also slow things down, a lot: > ># time md5 /media/md5test/bigdata >MD5 (/media/md5test/bigdata) = 6afad0bf5d8318093e943229be05be67 >4.310u 3.476s 0:07.79 99.8% 20+167k 0+0io 0pf+0w ># time env

svn commit: r292881 - head/sys/netinet

2015-12-29 Thread Jonathan T. Looney
Author: jtl Date: Tue Dec 29 19:20:39 2015 New Revision: 292881 URL: https://svnweb.freebsd.org/changeset/base/292881 Log: When checking the inp_ip_minttl restriction for IPv6 packets, don't check the IPv4 header. CID: 1017920 Differential Revision:

svn commit: r292955 - head/lib/libmd

2015-12-30 Thread Jonathan T. Looney
Author: jtl Date: Wed Dec 30 18:04:50 2015 New Revision: 292955 URL: https://svnweb.freebsd.org/changeset/base/292955 Log: Fix a file descriptor leak in mdXhl.c (which is used by numerous hashing algorithms. CID: 1305669,1305611,1305663,1305603,1305584,1305639,1346865,1305601

svn commit: r292956 - head/sys/netinet6

2015-12-30 Thread Jonathan T. Looney
Author: jtl Date: Wed Dec 30 18:08:05 2015 New Revision: 292956 URL: https://svnweb.freebsd.org/changeset/base/292956 Log: Add the appropriate case statement for IPV6_BINDMULTI so the option can be retrieved with getsockopt(). CID: 1229928 Differential Revision:

Re: svn commit: r293544 - in head/sys: net netinet ofed/drivers/infiniband/ulp/ipoib

2016-01-09 Thread Jonathan T. Looney
On 1/9/16, 11:34 AM, "owner-src-committ...@freebsd.org on behalf of Alexander V. Chernikov" wrote: >Modified: head/sys/net/route.h >== > >---

Re: svn commit: r292309 - in head/sys: modules modules/tcp modules/tcp/fastpath netinet netinet/tcp_stacks

2015-12-19 Thread Jonathan T. Looney
On 12/18/15, 3:54 PM, "owner-src-committ...@freebsd.org on behalf of Kristof Provost" wrote: > >> On 16 Dec 2015, at 01:56, Randall Stewart wrote: >> >> Author: rrs >> Date: Wed Dec 16 00:56:45 2015 >> New

svn commit: r292484 - in head: share/man/man9 sys/kern sys/vm

2015-12-19 Thread Jonathan T. Looney
Author: jtl Date: Sun Dec 20 02:05:33 2015 New Revision: 292484 URL: https://svnweb.freebsd.org/changeset/base/292484 Log: Add a safety net to reclaim mbufs when one of the mbuf zones become exhausted. It is possible for a bug in the code (or, theoretically, even unusual network

svn commit: r292599 - head/sys/netinet

2015-12-22 Thread Jonathan T. Looney
Author: jtl Date: Tue Dec 22 13:41:50 2015 New Revision: 292599 URL: https://svnweb.freebsd.org/changeset/base/292599 Log: Fix a panic when launching VNETs after the commit of r292309. Differential Revision:https://reviews.freebsd.org/D4645 Reviewed by: rrs Reported by: kp

svn commit: r292676 - head/sys/kern

2015-12-23 Thread Jonathan T. Looney
Author: jtl Date: Thu Dec 24 00:58:11 2015 New Revision: 292676 URL: https://svnweb.freebsd.org/changeset/base/292676 Log: Only allow one PT_INTERP ELF program header. This also fixes a potential memory leak for interp_buf. Differential Revision:https://reviews.freebsd.org/D4692

svn commit: r291016 - head/usr.sbin/pmcstat

2015-11-18 Thread Jonathan T. Looney
Author: jtl Date: Wed Nov 18 14:52:01 2015 New Revision: 291016 URL: https://svnweb.freebsd.org/changeset/base/291016 Log: Support a wider history counter in pmcstat(8) gmon output pmcstat(8) contains an option to output sampling data in a gmon format compatible with gprof(1). Currently,

Re: svn commit: r291074 - in head: share/man/man9 sys/kern sys/vm

2015-11-19 Thread Jonathan T. Looney
On 11/19/15, 12:58 PM, "John Baldwin" <j...@freebsd.org> wrote: >On Thursday, November 19, 2015 02:04:53 PM Jonathan T. Looney wrote: >> This change clarifies the language of the malloc(9) man page to >>clarify >> the restriction against calling the ma

svn commit: r291074 - in head: share/man/man9 sys/kern sys/vm

2015-11-19 Thread Jonathan T. Looney
Author: jtl Date: Thu Nov 19 14:04:53 2015 New Revision: 291074 URL: https://svnweb.freebsd.org/changeset/base/291074 Log: Consistently enforce the restriction against calling malloc/free when in a critical section. uma_zalloc_arg()/uma_zalloc_free() may acquire a sleepable lock on the

svn commit: r301814 - in head/sys: conf modules

2016-06-10 Thread Jonathan T. Looney
Author: jtl Date: Fri Jun 10 19:06:11 2016 New Revision: 301814 URL: https://svnweb.freebsd.org/changeset/base/301814 Log: Change the default build behavior so we don't compile extra TCP modules by default. At least initially, the feature to support multiple TCP stacks is aimed at

Re: svn commit: r301814 - in head/sys: conf modules

2016-06-13 Thread Jonathan T. Looney
On 6/13/16, 8:24 PM, "Bryan Drewery" wrote: >no description found for WITH_EXTRA_TCP_STACKS, skipping >A src.conf.5 handler is needed for this. > > >Please add a WITH_EXTRA_TCP_STACKS file into tools/build/options, svn >commit, svn up, and then >run from that directory: >

svn commit: r294037 - head/lib/libmd

2016-01-14 Thread Jonathan T. Looney
Author: jtl Date: Thu Jan 14 21:08:23 2016 New Revision: 294037 URL: https://svnweb.freebsd.org/changeset/base/294037 Log: Improvements to the MDXFileChunk() template function: - Remove unneeded fstat()/lseek() calls. - Return NULL and set errno to EINVAL on negative length. - Fix small

svn commit: r294046 - in stable/10: lib/libpmc sys/dev/hwpmc sys/sys usr.sbin/pmcstat

2016-01-14 Thread Jonathan T. Looney
Author: jtl Date: Thu Jan 14 22:02:21 2016 New Revision: 294046 URL: https://svnweb.freebsd.org/changeset/base/294046 Log: MFC r290811: Fix hwpmc "stalled" behavior Currently, there is a single pm_stalled flag that tracks whether a performance monitor was "stalled" due to

Re: svn commit: r297358 - head/sys/net

2016-03-28 Thread Jonathan T. Looney
On 3/28/16, 7:05 PM, "George Neville-Neil" <g...@freebsd.org> wrote: >On 28 Mar 2016, at 14:36, Jonathan T. Looney wrote: > >>The IEEE registry shows this Ethertype as being allocated to Wind >> River Systems. Do we know that Wind River Systems has fur

svn commit: r297193 - head/sys/netinet

2016-03-22 Thread Jonathan T. Looney
Author: jtl Date: Tue Mar 22 15:55:17 2016 New Revision: 297193 URL: https://svnweb.freebsd.org/changeset/base/297193 Log: to_flags is currently a 64-bit integer; however, we only use 7 bits. Furthermore, there is no reason this needs to be a 64-bit integer for the forseeable future.

Re: svn commit: r297193 - head/sys/netinet

2016-03-22 Thread Jonathan T. Looney
On 3/22/16, 7:59 PM, "Conrad Meyer" <c...@freebsd.org> wrote: >On Tue, Mar 22, 2016 at 8:55 AM, Jonathan T. Looney <j...@freebsd.org> wrote: >> Author: jtl >> Date: Tue Mar 22 15:55:17 2016 >> New Revision: 297193 >> URL: https://svnweb.freebs

svn commit: r296454 - head/sys/netinet

2016-03-07 Thread Jonathan T. Looney
Author: jtl Date: Mon Mar 7 14:59:49 2016 New Revision: 296454 URL: https://svnweb.freebsd.org/changeset/base/296454 Log: Some cleanup in tcp_respond() in preparation for another change: - Reorder variables by size - Move initializer closer to where it is used - Remove unneeded variable

svn commit: r296455 - head/sys/netinet

2016-03-07 Thread Jonathan T. Looney
Author: jtl Date: Mon Mar 7 15:00:34 2016 New Revision: 296455 URL: https://svnweb.freebsd.org/changeset/base/296455 Log: As reported on the transport@ and current@ mailing lists, the FreeBSD TCP stack is not compliant with RFC 7323, which requires that TCP stacks send a timestamp option

Re: svn commit: r297358 - head/sys/net

2016-03-28 Thread Jonathan T. Looney
On 3/28/16, 2:25 PM, "owner-src-committ...@freebsd.org on behalf of George V. Neville-Neil" wrote: >Author: gnn >Date: Mon Mar 28 18:25:54 2016 >New Revision: 297358 >URL: https://svnweb.freebsd.org/changeset/base/297358 > >Log: >

Re: svn commit: r298408 - head/sys/netinet

2016-04-21 Thread Jonathan T. Looney
On 4/21/16, 11:06 AM, "owner-src-committ...@freebsd.org on behalf of Jonathan T. Looney" <owner-src-committ...@freebsd.org on behalf of j...@freebsd.org> wrote: >Author: jtl >Date: Thu Apr 21 15:06:53 2016 >New Revision: 298408 >URL: https://svnweb.freebsd.org/

svn commit: r299147 - stable/9/sys/netinet

2016-05-05 Thread Jonathan T. Looney
Author: jtl Date: Fri May 6 01:27:01 2016 New Revision: 299147 URL: https://svnweb.freebsd.org/changeset/base/299147 Log: MFC r298408: Prevent underflows in tp->snd_wnd if the remote side ACKs more than tp->snd_wnd. This can happen, for example, when the remote side responds to a

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

2016-05-05 Thread Jonathan T. Looney
Author: jtl Date: Fri May 6 01:26:58 2016 New Revision: 299146 URL: https://svnweb.freebsd.org/changeset/base/299146 Log: MFC r298408: Prevent underflows in tp->snd_wnd if the remote side ACKs more than tp->snd_wnd. This can happen, for example, when the remote side responds to a

svn commit: r298408 - head/sys/netinet

2016-04-21 Thread Jonathan T. Looney
Author: jtl Date: Thu Apr 21 15:06:53 2016 New Revision: 298408 URL: https://svnweb.freebsd.org/changeset/base/298408 Log: Prevent underflows in tp->snd_wnd if the remote side ACKs more than tp->snd_wnd. This can happen, for example, when the remote side responds to a window probe by ACKing

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-21 Thread Jonathan T. Looney
On 7/21/16, 3:34 AM, "owner-src-committ...@freebsd.org on behalf of Michal Meloun" wrote: > The API is part of still unstable, experimental INTRNG, so its not fixed we > we can > change it at any time, I think. If INTRNG is

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: 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: r302374 - head/sys/netinet

2016-07-06 Thread Jonathan T. Looney
Author: jtl Date: Wed Jul 6 16:17:13 2016 New Revision: 302374 URL: https://svnweb.freebsd.org/changeset/base/302374 Log: The TCPPCAP debugging feature caches recently-used mbufs for use in debugging TCP connections. This commit provides a mechanism to free those mbufs when the system is

svn commit: r313447 - in head/sys: dev/acpica x86/x86

2017-02-08 Thread Jonathan T. Looney
Author: jtl Date: Wed Feb 8 16:46:57 2017 New Revision: 313447 URL: https://svnweb.freebsd.org/changeset/base/313447 Log: Ensure the idle thread's loop services interrupts in a timely way when using the ACPI C1/mwait sleep method. Previously, the mwait instruction would return when an

svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread Jonathan T. Looney
Author: jtl Date: Fri Feb 24 18:56:00 2017 New Revision: 314216 URL: https://svnweb.freebsd.org/changeset/base/314216 Log: We have seen several cases recently where we appear to get a double-fault: We have an original panic. Then, instead of writing the core to the dump device, the kernel

svn commit: r314116 - head/sys/kern

2017-02-22 Thread Jonathan T. Looney
Author: jtl Date: Thu Feb 23 01:18:47 2017 New Revision: 314116 URL: https://svnweb.freebsd.org/changeset/base/314116 Log: Fix a panic during boot caused by inadequate locking of some vt(4) driver data structures. vt_change_font() calls vtbuf_grow() to change some vt driver data

svn commit: r314286 - head/sys/net

2017-02-25 Thread Jonathan T. Looney
Author: jtl Date: Sun Feb 26 00:19:02 2017 New Revision: 314286 URL: https://svnweb.freebsd.org/changeset/base/314286 Log: Do some minimal work to better conform to the 802.3ad (LACP) standard. In particular, don't set the synchronized bit for the peer unless it truly appears to be

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

2016-10-07 Thread Jonathan T. Looney
Author: jtl Date: Fri Oct 7 10:47:32 2016 New Revision: 306802 URL: https://svnweb.freebsd.org/changeset/base/306802 Log: MFC r296454: Some cleanup in tcp_respond() in preparation for another change: - Reorder variables by size - Move initializer closer to where it is used -

svn commit: r306769 - in head: sys/netinet sys/netinet/cc sys/netinet/khelp sys/netinet/tcp_stacks usr.sbin/trpt

2016-10-06 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 6 16:28:34 2016 New Revision: 306769 URL: https://svnweb.freebsd.org/changeset/base/306769 Log: Remove "long" variables from the TCP stack (not including the modular congestion control framework). Reviewed by: gnn, lstewart (partial) Sponsored by: Juniper

svn commit: r306767 - head/sys/netinet

2016-10-06 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 6 16:00:48 2016 New Revision: 306767 URL: https://svnweb.freebsd.org/changeset/base/306767 Log: Correctly calculate snd_max in persist case. In the persist case, take the SYN and FIN flags into account when updating the sequence space sent. Reviewed by:

svn commit: r306766 - head/sys/netinet

2016-10-06 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 6 15:57:15 2016 New Revision: 306766 URL: https://svnweb.freebsd.org/changeset/base/306766 Log: Remove declaration of un-defined function tcp_seq_subtract(). Reviewed by: gnn MFC after:1 week Sponsored by: Juniper Networks, Netflix Differential

svn commit: r306768 - head/sys/netinet

2016-10-06 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 6 16:09:45 2016 New Revision: 306768 URL: https://svnweb.freebsd.org/changeset/base/306768 Log: If the new window size is less than the old window size, skip the calculations to check if we should advertise a larger window. Reviewed by: gnn MFC after:2

svn commit: r307319 - in head/sys/netinet: . tcp_stacks

2016-10-14 Thread Jonathan T. Looney
Author: jtl Date: Fri Oct 14 14:57:43 2016 New Revision: 307319 URL: https://svnweb.freebsd.org/changeset/base/307319 Log: The code currently resets the keepalive timer each time a packet is received on a TCP session that has entered the ESTABLISHED state. This results in a lot of calls to

svn commit: r307336 - head/sys/netinet

2016-10-14 Thread Jonathan T. Looney
Author: jtl Date: Sat Oct 15 00:29:15 2016 New Revision: 307336 URL: https://svnweb.freebsd.org/changeset/base/307336 Log: r307082 added the TCP_HHOOK kernel option and made some existing code only compile when that option is configured. In tcp_destroy(), the error variable is now only used

svn commit: r307083 - head/sys/netinet

2016-10-11 Thread Jonathan T. Looney
Author: jtl Date: Wed Oct 12 02:30:33 2016 New Revision: 307083 URL: https://svnweb.freebsd.org/changeset/base/307083 Log: Currently, when tcp_input() receives a packet on a session that matches a TCPCB, it checks (so->so_options & SO_ACCEPTCONN) to determine whether or not the socket is a

svn commit: r307082 - in head: . sys/amd64/conf sys/arm/conf sys/arm64/conf sys/conf sys/i386/conf sys/mips/conf sys/modules/cc sys/modules/khelp sys/netinet sys/netinet/tcp_stacks sys/pc98/conf sy...

2016-10-11 Thread Jonathan T. Looney
Author: jtl Date: Wed Oct 12 02:16:42 2016 New Revision: 307082 URL: https://svnweb.freebsd.org/changeset/base/307082 Log: In the TCP stack, the hhook(9) framework provides hooks for kernel modules to add actions that run when a TCP frame is sent or received on a TCP session in the

svn commit: r307153 - head/sys/netinet

2016-10-12 Thread Jonathan T. Looney
Author: jtl Date: Wed Oct 12 19:06:50 2016 New Revision: 307153 URL: https://svnweb.freebsd.org/changeset/base/307153 Log: The TFO server-side code contains some changes that are not conditioned on the TCP_RFC7413 kernel option. This change removes those few instructions from the packet

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

2016-10-12 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 13 02:32:41 2016 New Revision: 307166 URL: https://svnweb.freebsd.org/changeset/base/307166 Log: MFC r306766: Remove declaration of un-defined function tcp_seq_subtract(). Modified: stable/11/sys/netinet/tcp_var.h Directory Properties: stable/11/ (props

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

2016-10-12 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 13 02:31:32 2016 New Revision: 307165 URL: https://svnweb.freebsd.org/changeset/base/307165 Log: MFC r306766: Remove declaration of un-defined function tcp_seq_subtract(). Modified: stable/10/sys/netinet/tcp_var.h Directory Properties: stable/10/ (props

svn commit: r320682 - head/sys/netinet

2017-07-05 Thread Jonathan T. Looney
Author: jtl Date: Wed Jul 5 16:10:30 2017 New Revision: 320682 URL: https://svnweb.freebsd.org/changeset/base/320682 Log: Don't overpromote values when calculating len in tcp_output(). sbavail() returns u_int and sendwin is a uint32_t. Therefore, min() (which operates on two u_int

svn commit: r319216 - head/sys/netinet6

2017-05-30 Thread Jonathan T. Looney
Author: jtl Date: Tue May 30 14:50:28 2017 New Revision: 319216 URL: https://svnweb.freebsd.org/changeset/base/319216 Log: Fix an unnecessary/incorrect check in the PKTOPT_EXTHDRCPY macro. This macro allocates memory and, if malloc does not return NULL, copies data into the new memory.

svn commit: r319214 - in head/sys: netinet netinet6

2017-05-30 Thread Jonathan T. Looney
Author: jtl Date: Tue May 30 14:32:44 2017 New Revision: 319214 URL: https://svnweb.freebsd.org/changeset/base/319214 Log: Enforce the limit on ICMP messages before doing work to formulate the response. Delete an unneeded rate limit for UDP under IPv6. Because ICMP6 messages have their

svn commit: r319215 - head/sys/netinet6

2017-05-30 Thread Jonathan T. Looney
Author: jtl Date: Tue May 30 14:41:31 2017 New Revision: 319215 URL: https://svnweb.freebsd.org/changeset/base/319215 Log: Fix two places in the ICMP6 code where we could dereference a NULL pointer in the icmp6_input() function. When processing an ICMP6_ECHO_REQUEST, if IP6_EXTHDR_GET

svn commit: r319719 - in head: share/man/man9 sys/conf sys/netinet sys/sys

2017-06-08 Thread Jonathan T. Looney
Author: jtl Date: Thu Jun 8 20:41:28 2017 New Revision: 319719 URL: https://svnweb.freebsd.org/changeset/base/319719 Log: Add the infrastructure to support loading multiple versions of TCP stack modules. It adds support for mangling symbols exported by a module by prepending a string

svn commit: r319720 - head/sys/dev/vt

2017-06-08 Thread Jonathan T. Looney
Author: jtl Date: Thu Jun 8 20:47:18 2017 New Revision: 319720 URL: https://svnweb.freebsd.org/changeset/base/319720 Log: With EARLY_AP_STARTUP enabled, we are seeing crashes in softclock_call_cc() during bootup. Debugging information shows that softclock_call_cc() is trying to execute the

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

2018-05-11 Thread Jonathan T. Looney
Author: jtl Date: Sat May 12 01:55:24 2018 New Revision: 333511 URL: https://svnweb.freebsd.org/changeset/base/333511 Log: r285910 attempted to make shutdown() be POSIX compliant by returning ENOTCONN when shutdown() is called on unconnected sockets. This change was slightly modified by

Re: svn commit: r333503 - stable/11/sys/net

2018-05-11 Thread Jonathan T. Looney
On Fri, May 11, 2018 at 4:40 PM, Stephen Hurd wrote: > > Author: shurd > Date: Fri May 11 20:40:26 2018 > New Revision: 333503 > URL: https://svnweb.freebsd.org/changeset/base/333503 > > Log: > MFC r29, r66, r73 > > r29: Fix off-by-one error requesting tx

Re: svn commit: r333915 - head/sys/netinet

2018-05-21 Thread Jonathan T. Looney
Summary: I'm not sure this addresses all the subtleties of INPCB destruction. I think it would benefit from wider review. I suggest it be reverted in the meantime. On Sun, May 20, 2018 at 12:38 AM, Matt Macy wrote: > + > +/* > + * Unconditionally schedule an inpcb to be freed

Re: svn commit: r334104 - in head/sys: netinet sys

2018-05-23 Thread Jonathan T. Looney
On Wed, May 23, 2018 at 7:13 PM, Matthew Macy wrote: > > On Wed, May 23, 2018 at 11:52 AM, John Baldwin wrote: > > On Wednesday, May 23, 2018 05:00:05 PM Matt Macy wrote: > >> Author: mmacy > >> Date: Wed May 23 17:00:05 2018 > >> New Revision: 334104 > >>

Re: svn commit: r333690 - in head/sys: dev/hwpmc kern sys

2018-05-16 Thread Jonathan T. Looney
On Wed, May 16, 2018 at 6:29 PM, Matt Macy wrote: > > Author: mmacy > Date: Wed May 16 22:29:20 2018 > New Revision: 333690 > URL: https://svnweb.freebsd.org/changeset/base/333690 > > Log: > hwpmc: Implement per-thread counters for PMC sampling > > This implements

svn commit: r334983 - head/sys/net

2018-06-11 Thread Jonathan T. Looney
Author: jtl Date: Mon Jun 11 23:32:06 2018 New Revision: 334983 URL: https://svnweb.freebsd.org/changeset/base/334983 Log: Fix a memory leak for the BIOCSETWF ioctl on kernels with the BPF_JITTER option. The BPF code was creating a compiled filter in the common filter-creation path.

Re: svn commit: r334804 - in head/sys: kern modules/tcp modules/tcp/rack netinet netinet/tcp_stacks sys

2018-06-08 Thread Jonathan T. Looney
On Fri, Jun 8, 2018 at 12:37 PM, hiren panchasara < hi...@strugglingcoder.info> wrote: > ps: I know we are not killing the default stack as of yet and just > stopping active maintenance of it but just wanted to raise these > (probably obvious) points. We absolutely are not stopping active

svn commit: r334783 - head/sys/vm

2018-06-07 Thread Jonathan T. Looney
Author: jtl Date: Thu Jun 7 13:29:54 2018 New Revision: 334783 URL: https://svnweb.freebsd.org/changeset/base/334783 Log: Fix a typo in vm_domain_set(). When a domain crosses into the severe range, we need to set the domain bit from the vm_severe_domains bitset (instead of clearing it).

svn commit: r334854 - head/share/man/man9

2018-06-08 Thread Jonathan T. Looney
Author: jtl Date: Fri Jun 8 19:47:04 2018 New Revision: 334854 URL: https://svnweb.freebsd.org/changeset/base/334854 Log: Create a symlink for sodtor_set(9) to the socket(9) man page. Modified: head/share/man/man9/Makefile Modified: head/share/man/man9/Makefile

svn commit: r334853 - in head: share/man/man9 sys/kern sys/sys

2018-06-08 Thread Jonathan T. Looney
Author: jtl Date: Fri Jun 8 19:35:24 2018 New Revision: 334853 URL: https://svnweb.freebsd.org/changeset/base/334853 Log: Add a socket destructor callback. This allows kernel providers to set callbacks to perform additional cleanup actions at the time a socket is closed. Michio Honda

svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-13 Thread Jonathan T. Looney
Author: jtl Date: Wed Jun 13 17:04:41 2018 New Revision: 335068 URL: https://svnweb.freebsd.org/changeset/base/335068 Log: Make UMA and malloc(9) return non-executable memory in most cases. Most kernel memory that is allocated after boot does not need to be executable. There are a few

svn commit: r334949 - in head/sys/netinet: . tcp_stacks

2018-06-11 Thread Jonathan T. Looney
Author: jtl Date: Mon Jun 11 14:27:19 2018 New Revision: 334949 URL: https://svnweb.freebsd.org/changeset/base/334949 Log: Change RACK dependency on TCPHPTS from a build-time dependency to a load- time dependency. At present, RACK requires the TCPHPTS option to run. However, because

Re: svn commit: r335068 - in head: share/man/man9 sys/amd64/amd64 sys/i386/i386 sys/kern sys/net sys/sys sys/vm

2018-06-14 Thread Jonathan T. Looney
On Thu, Jun 14, 2018 at 7:12 PM Olivier Houchard wrote: > On Fri, Jun 15, 2018 at 12:23:36AM +0200, Emmanuel Vadot wrote: > > This brake module loading on armv7 and arm64 > > I think I fixed it with r335182. > Jonathan probably missed it because modules are differnt on amd64 (and > mips), and

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

2018-06-06 Thread Jonathan T. Looney
On Wed, Jun 6, 2018 at 10:14 PM, Ravi Pokala wrote: > > -Original Message- > From: on behalf of Mateusz Guzik < mjgu...@gmail.com> > Date: 2018-06-06, Wednesday at 09:01 > To: Ravi Pokala > Cc: Mateusz Guzik , src-committers < src-committ...@freebsd.org>, , < svn-src-h...@freebsd.org> >

svn commit: r334490 - head/share/man/man9

2018-06-01 Thread Jonathan T. Looney
Author: jtl Date: Fri Jun 1 16:47:39 2018 New Revision: 334490 URL: https://svnweb.freebsd.org/changeset/base/334490 Log: Update the sysctl(9) manpage to indicate that is required instead of . ( includes NULL, which is defined with and not .) Sponsored by: Netflix Modified:

Re: svn commit: r335402 - head/sbin/veriexecctl

2018-06-20 Thread Jonathan T. Looney
On Wed, Jun 20, 2018 at 9:49 AM Stephen Kiernan wrote: > And I was working on those sets of changes, when work and family didn't > steal away time. I was told that some discussion happened at BSDCan this > year in such that veriexec should go in as-is so it would be there, which is why > the

Re: svn commit: r335402 - head/sbin/veriexecctl

2018-06-20 Thread Jonathan T. Looney
On Tue, Jun 19, 2018 at 8:34 PM Conrad Meyer wrote: > Please revert this patchset. It's not ready. > I'm not sure I understand the need to revert the patches. They may need some refinement, but they also do provide some functionality upon which you can build the tooling that Simon discussed.

Re: svn commit: r335856 - in head/sys: netinet sys

2018-07-02 Thread Jonathan T. Looney
On Mon, Jul 2, 2018 at 10:44 AM Steven Hartland < steven.hartl...@multiplay.co.uk> wrote: > > You have M_WAITOK and a null check in this change And, that's the same as the way it was before his commits. So, he did exactly what he said he was doing and reverted his commits. I don't think it is

Re: svn commit: r333211 - head/sys/netinet/cc

2018-05-03 Thread Jonathan T. Looney
On Thu, May 3, 2018 at 11:01 AM, Sean Bruno wrote: > > @@ -242,8 +241,8 @@ tf_cwnd(int ticks_since_cong, int rtt_ticks, unsigned > { > > /* Equation 4 of I-D. */ > - return (((wmax * CUBIC_BETA) + (((THREE_X_PT2 * ticks_since_cong * > - smss) <<

svn commit: r327754 - head/sys/dev/md

2018-01-09 Thread Jonathan T. Looney
Author: jtl Date: Wed Jan 10 00:08:57 2018 New Revision: 327754 URL: https://svnweb.freebsd.org/changeset/base/327754 Log: Fix backwards MD_VERIFY logic for md devices. If the MD_VERIFY flag is set, we should use O_VERIFY. If the MD_VERIFY flag is not set, we should not. Reviewed

svn commit: r329071 - head/sys/amd64/amd64

2018-02-09 Thread Jonathan T. Looney
Author: jtl Date: Fri Feb 9 17:46:33 2018 New Revision: 329071 URL: https://svnweb.freebsd.org/changeset/base/329071 Log: On bootup, the amd64 pmap initialization code creates page-table mappings for the pages used for the kernel and some initial allocations used for the page table. It

svn commit: r329171 - head/sys/amd64/amd64

2018-02-12 Thread Jonathan T. Looney
Author: jtl Date: Mon Feb 12 17:27:50 2018 New Revision: 329171 URL: https://svnweb.freebsd.org/changeset/base/329171 Log: Mark the pages used for the initial page-table entries as wired. This makes them consistent with the way other page-table pages are allocated. It also provides the rest

svn commit: r337787 - head/sys/netinet6

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:32:07 2018 New Revision: 337787 URL: https://svnweb.freebsd.org/changeset/base/337787 Log: Lower the default limits on the IPv6 reassembly queue. Currently, the limits are quite high. On machines with millions of mbuf clusters, the reassembly queue limits

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:36:21 2018 New Revision: 337788 URL: https://svnweb.freebsd.org/changeset/base/337788 Log: Update the inet(4) and inet6(4) man pages to reflect the changes made to the reassembly code in r337778, r337780, r337781, r337782, and r337783. Security:

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:43:11 2018 New Revision: 337789 URL: https://svnweb.freebsd.org/changeset/base/337789 Log: MFC r337775: Improve hashing of IPv4 fragments. Currently, IPv4 fragments are hashed into buckets based on a 32-bit key which is calculated by (src_ip ^

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 18:06:59 2018 New Revision: 337798 URL: https://svnweb.freebsd.org/changeset/base/337798 Log: MFC r337782: Add a limit of the number of fragments per IPv6 packet. The IPv4 fragment reassembly code supports a limit on the number of fragments per

svn commit: r337776 - head/sys/netinet6

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:17:37 2018 New Revision: 337776 URL: https://svnweb.freebsd.org/changeset/base/337776 Log: Improve IPv6 reassembly performance by hashing fragments into buckets. Currently, all IPv6 fragment reassembly queues are kept in a flat linked list. This has a

svn commit: r337781 - head/sys/netinet6

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:24:26 2018 New Revision: 337781 URL: https://svnweb.freebsd.org/changeset/base/337781 Log: Make the IPv6 fragment limits be global, rather than per-VNET, limits. The IPv6 reassembly fragment limit is based on the number of mbuf clusters, which are a global

svn commit: r337784 - head/sys/netinet6

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:29:22 2018 New Revision: 337784 URL: https://svnweb.freebsd.org/changeset/base/337784 Log: Drop 0-byte IPv6 fragments. Currently, we process IPv6 fragments with 0 bytes of payload, add them to the reassembly queue, and do not recognize them as duplicating

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:59:42 2018 New Revision: 337797 URL: https://svnweb.freebsd.org/changeset/base/337797 Log: MFC r337781: Make the IPv6 fragment limits be global, rather than per-VNET, limits. The IPv6 reassembly fragment limit is based on the number of mbuf clusters,

svn commit: r337804 - stable/11/share/man/man4

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 18:17:05 2018 New Revision: 337804 URL: https://svnweb.freebsd.org/changeset/base/337804 Log: MFC r337788: Update the inet(4) and inet6(4) man pages to reflect the changes made to the reassembly code in r337778, r337780, r337781, r337782, and r337783.

svn commit: r337780 - head/sys/netinet

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:23:05 2018 New Revision: 337780 URL: https://svnweb.freebsd.org/changeset/base/337780 Log: Implement a limit on on the number of IPv4 reassembly queues per bucket. There is a hashing algorithm which should distribute IPv4 reassembly queues across the

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 18:13:36 2018 New Revision: 337802 URL: https://svnweb.freebsd.org/changeset/base/337802 Log: MFC r337786: Lower the default limits on the IPv4 reassembly queue. In particular, try to ensure that no bucket will have a reassembly queue larger than

svn commit: r337782 - head/sys/netinet6

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:26:07 2018 New Revision: 337782 URL: https://svnweb.freebsd.org/changeset/base/337782 Log: Add a limit of the number of fragments per IPv6 packet. The IPv4 fragment reassembly code supports a limit on the number of fragments per packet. The default limit

svn commit: r337786 - head/sys/netinet

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:30:46 2018 New Revision: 337786 URL: https://svnweb.freebsd.org/changeset/base/337786 Log: Lower the default limits on the IPv4 reassembly queue. In particular, try to ensure that no bucket will have a reassembly queue larger than approximately 100 items.

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 18:10:25 2018 New Revision: 337799 URL: https://svnweb.freebsd.org/changeset/base/337799 Log: MFC r337783: Implement a limit on on the number of IPv6 reassembly queues per bucket. There is a hashing algorithm which should distribute IPv6 reassembly

svn commit: r337778 - head/sys/netinet

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:19:49 2018 New Revision: 337778 URL: https://svnweb.freebsd.org/changeset/base/337778 Log: Add a global limit on the number of IPv4 fragments. The IP reassembly fragment limit is based on the number of mbuf clusters, which are a global resource. However,

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

2018-08-14 Thread Jonathan T. Looney
Author: jtl Date: Tue Aug 14 17:46:54 2018 New Revision: 337790 URL: https://svnweb.freebsd.org/changeset/base/337790 Log: MFC r337776: Improve IPv6 reassembly performance by hashing fragments into buckets. Currently, all IPv6 fragment reassembly queues are kept in a flat linked

  1   2   >