svn commit: r351629 - head/sys/net

2019-08-30 Thread Matt Joras
Author: mjoras Date: Fri Aug 30 20:19:43 2019 New Revision: 351629 URL: https://svnweb.freebsd.org/changeset/base/351629 Log: Wrap a vlan's parent's if_output in a separate function. When a vlan interface is created, its if_output is set directly to the parent interface's if_output. This

Re: svn commit: r334609 - head/usr.sbin/pmc

2018-06-04 Thread Matt Joras
On Mon, Jun 4, 2018 at 8:18 AM, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> Author: mmacy >> Date: Mon Jun 4 06:30:35 2018 >> New Revision: 334609 >> URL: https://svnweb.freebsd.org/changeset/base/334609 >> >> Log: >> pmc filter: avoid spurious gcc uninitialized

Re: svn commit: r333466 - in head: contrib/bmake sys/conf sys/kern sys/modules/epoch_test sys/sys sys/tests/epoch

2018-05-11 Thread Matt Joras
On Fri, May 11, 2018 at 1:13 PM, Bryan Drewery wrote: > On 5/10/2018 10:55 AM, Matt Macy wrote: >> Author: mmacy >> Date: Thu May 10 17:55:24 2018 >> New Revision: 333466 >> URL: https://svnweb.freebsd.org/changeset/base/333466 >> >> Log: >> Add simple preempt safe epoch

svn commit: r331727 - in stable/11: share/man/man9 sys/kern sys/sys

2018-03-28 Thread Matt Joras
n .Fx 4.0 . .Sh AUTHORS This manual page was written by -.An Joseph Koshy Aq Mt jko...@freebsd.org . +.An Joseph Koshy Aq Mt jko...@freebsd.org +and +.An Matt Joras Aq Mt mjo...@freebsd.org . Modified: stable/11/sys/kern/init_main.c

svn commit: r331227 - head/sys/kern

2018-03-19 Thread Matt Joras
Author: mjoras Date: Mon Mar 19 22:43:27 2018 New Revision: 331227 URL: https://svnweb.freebsd.org/changeset/base/331227 Log: Fix initialization of eventhandler mutex. mtx_init does not do a copy of the name string it is passed. The eventhandler code incorrectly passed the parameter

Re: svn commit: r328430 - head/sbin/devd

2018-01-25 Thread Matt Joras
On Thu, Jan 25, 2018 at 8:52 PM, Warner Losh wrote: > > > On Thu, Jan 25, 2018 at 9:40 PM, Eitan Adler wrote: >> >> Author: eadler >> Date: Fri Jan 26 04:40:41 2018 >> New Revision: 328430 >> URL: https://svnweb.freebsd.org/changeset/base/328430 >> >> Log: >>

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

2018-01-18 Thread Matt Joras
On Thu, Jan 18, 2018 at 1:04 PM, Warner Losh wrote: > >> 1. Allowing local / block scoped variables >> 2. Allowing C99 for loop initial declarations >> >> But I could see the argument that (2) is just a boring subset of (1). > > > Tell me again where #1/#2 are disallowed? I can't

Re: svn commit: r327559 - in head: . sys/net

2018-01-05 Thread Matt Joras
On Fri, Jan 5, 2018 at 9:32 AM, Eugene Grosbein <eu...@grosbein.net> wrote: > 06.01.2018 0:28, Matt Joras wrote: > >> For what it's worth, this was the conclusion I came to, and at Isilon >> we've made the same change being discussed here. For the case of >> drivers t

Re: svn commit: r327559 - in head: . sys/net

2018-01-05 Thread Matt Joras
On Fri, Jan 5, 2018 at 7:42 AM, Steven Hartland wrote: > My current thinking is that flowid shouldn't be used for either LACP or > loadbalance protocols as doing so will almost certainly lead to unexpected > behavior (the stated lagghash may not be valid). > > Regards

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-05 Thread Matt Joras
On Tue, Dec 5, 2017 at 8:06 AM, Devin Teske wrote: > > > The problems I have are: > > 1. Should be in ports > > Not pre-installed on Linux, why should we have it in base? "Pre-installed on Linux" is meaningless. The closest analog to our base is arguably GNU coreutils. It is indeed

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-05 Thread Matt Joras
On Dec 5, 2017 7:35 AM, "Devin Teske" wrote: > On Dec 5, 2017, at 5:00 AM, Hans Petter Selasky wrote: > >> On 12/05/17 13:58, Rodney W. Grimes wrote: >> Further more, why does freebsd need this in base? > > Hi, > > I think this is useful. It could replace the

Re: svn commit: r325728 - head/lib/libkvm

2017-11-11 Thread Matt Joras
On 11/11/2017 15:30, Will Andrews wrote: > Author: will > Date: Sat Nov 11 23:30:58 2017 > New Revision: 325728 > URL: https://svnweb.freebsd.org/changeset/base/325728 > > Log: > libkvm: add kvm_walk_pages API. > > This API allows callers to enumerate all known pages, including any >

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

2017-11-09 Thread Matt Joras
Author: mjoras Date: Thu Nov 9 23:36:10 2017 New Revision: 325622 URL: https://svnweb.freebsd.org/changeset/base/325622 Log: Correct mistake in manpage. Reported by: pluknet Approved by: rstone (mentor) MFC with: r325621 Pointy hat to: mjoras Modified:

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

2017-11-09 Thread Matt Joras
.Sh AUTHORS This manual page was written by -.An Joseph Koshy Aq Mt jko...@freebsd.org . +.An Joseph Koshy Aq Mt jko...@freebsd.org +and +.An Matt Joras Aq Mt mjo...@freebsd.org . Modified: head/sys/kern/init_main.c == ---

svn commit: r324921 - head/sys/fs/tmpfs

2017-10-23 Thread Matt Joras
Author: mjoras Date: Mon Oct 23 15:43:38 2017 New Revision: 324921 URL: https://svnweb.freebsd.org/changeset/base/324921 Log: Move clear_unrhdr to tmpfs_free_tmp. Clearing the unr in tmpfs_unmount is not correct. In the case of multiple references to the tmpfs mount (e.g. when there are

Re: svn commit: r324666 - head/sys/kern

2017-10-16 Thread Matt Joras
On 10/16/2017 09:14, Matt Joras wrote: > Author: mjoras > Date: Mon Oct 16 16:14:50 2017 > New Revision: 324666 > URL: https://svnweb.freebsd.org/changeset/base/324666 > > Log: > Properly reset the fields in clean_unrhdr. > > In r324542 I neglected to rese

svn commit: r324666 - head/sys/kern

2017-10-16 Thread Matt Joras
Author: mjoras Date: Mon Oct 16 16:14:50 2017 New Revision: 324666 URL: https://svnweb.freebsd.org/changeset/base/324666 Log: Properly reset the fields in clean_unrhdr. In r324542 I neglected to reset the first and last fields of struct unrhdr. This causes a tmpfs to fail the unr(9)

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

2017-10-14 Thread Matt Joras
On 10/14/2017 11:03, Mark Johnston wrote: > TAILQ_FOREACH_SAFE just fetches the next element at the beginning of > each loop iteration rather than at the end, same as the current > implementation of clear_unrhdr() does. There's no change to the code > generated by clang when I replace your loop

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

2017-10-14 Thread Matt Joras
On 10/13/2017 22:12, Ngie Cooper (yaneurabeya) wrote: >> Modified: head/sys/kern/subr_unit.c >> == >> --- head/sys/kern/subr_unit.cWed Oct 11 20:36:22 2017 >> (r324540) >> +++ head/sys/kern/subr_unit.c

svn commit: r324542 - head/sys/fs/tmpfs

2017-10-11 Thread Matt Joras
Author: mjoras Date: Wed Oct 11 21:53:53 2017 New Revision: 324542 URL: https://svnweb.freebsd.org/changeset/base/324542 Log: When unmounting a tmpfs, do not call free_unr. tmpfs uses unr(9) to allocate inodes. Previously when unmounting it would individually free the units when it freed

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

2017-10-11 Thread Matt Joras
Author: mjoras Date: Wed Oct 11 21:53:50 2017 New Revision: 324541 URL: https://svnweb.freebsd.org/changeset/base/324541 Log: Add clearing function for unr(9). Previously before you could call unrhdr_delete you needed to individually free every allocated unit. It is useful to be able to

svn commit: r323633 - stable/11/sys/net

2017-09-15 Thread Matt Joras
Author: mjoras Date: Sat Sep 16 02:10:36 2017 New Revision: 323633 URL: https://svnweb.freebsd.org/changeset/base/323633 Log: MFC r323513: Allow vlan interfaces to rx through netmap(4). Modified: stable/11/sys/net/if_vlan.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r323513 - head/sys/net

2017-09-12 Thread Matt Joras
Author: mjoras Date: Wed Sep 13 00:25:09 2017 New Revision: 323513 URL: https://svnweb.freebsd.org/changeset/base/323513 Log: Allow vlan interfaces to rx through netmap(4). Normally after receiving a packet, a vlan(4) interface sends the packet back through its parent interface's rx

svn commit: r323477 - stable/11/sys/net

2017-09-11 Thread Matt Joras
Author: mjoras Date: Tue Sep 12 03:54:04 2017 New Revision: 323477 URL: https://svnweb.freebsd.org/changeset/base/323477 Log: MFC r322548: Rework vlan(4) locking. Previously the locking of vlan(4) interfaces was not very comprehensive. Particularly there was very little protection

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Matt Joras
On 08/25/2017 10:17, Conrad Meyer wrote: > This change seems to break buildworld on MIPS: > > /home/cem/head.svn/bin/dd/args.c: In function 'f_bs': > /home/cem/head.svn/bin/dd/args.c:188: warning: format '%zd' expects > type 'signed size_t', but argument 3 has type 'long int' >

svn commit: r322548 - head/sys/net

2017-08-15 Thread Matt Joras
Author: mjoras Date: Tue Aug 15 17:52:37 2017 New Revision: 322548 URL: https://svnweb.freebsd.org/changeset/base/322548 Log: Rework vlan(4) locking. Previously the locking of vlan(4) interfaces was not very comprehensive. Particularly there was very little protection against the

svn commit: r322062 - head/sbin/ifconfig

2017-08-04 Thread Matt Joras
Author: mjoras Date: Fri Aug 4 21:06:47 2017 New Revision: 322062 URL: https://svnweb.freebsd.org/changeset/base/322062 Log: Selectively print "hwaddr" from ifconfig(8). ifconfig(8) printing the hwaddr is only really useful if it differs from the link layer address. Reported by:

svn commit: r321804 - head/usr.bin/calendar/calendars

2017-07-31 Thread Matt Joras
aria Alcaide Salinas <j...@freebsd.org> born in Madrid, Spain, 1962 +11/16 Matt Joras <mjo...@freebsd.org> born in Evanston, Illinois, United States, 1992 11/17 Ralf S. Engelschall <r...@freebsd.org> born in Dachau, Bavaria, Germany, 1972 11/18 Thomas Quinot <tho...@freebsd

svn commit: r321301 - head/share/misc

2017-07-20 Thread Matt Joras
g\n2012/06/04"] +mjoras [label="Matt Joras\nmjo...@freebsd.org\n2017/07/12"] mlaier [label="Max Laier\nmla...@freebsd.org\n2004/02/10"] mmel [label="Michal Meloun\nm...@freebsd.org\n2015/11/01"] monthadar [label="Monthadar Al Jaberi\nmontha...@freebsd.org\n201