Re: svn commit: r366608 - in stable/12: bin/ls sbin/dhclient

2020-10-10 Thread Mike Karels
> Date: Sat, 10 Oct 2020 15:28:29 +0200 > From: Gordon Bergling > On Sat, Oct 10, 2020 at 08:12:43AM -0500, Mike Karels wrote: > > > Author: gbe (doc committer) > > > Date: Sat Oct 10 09:52:41 2020 > > > New Revision: 366608 > > > URL: htt

Re: svn commit: r366608 - in stable/12: bin/ls sbin/dhclient

2020-10-10 Thread Mike Karels
> Author: gbe (doc committer) > Date: Sat Oct 10 09:52:41 2020 > New Revision: 366608 > URL: https://svnweb.freebsd.org/changeset/base/366608 > Log: > MFC r366407, r366403 > > ls(1): Bugfix for an issue reported by mandoc > dhclient(8): Bugfixes for some issues reported by mandoc > >

svn commit: r365677 - head/sys/arm/broadcom/bcm2835

2020-09-12 Thread Mike Karels
Author: karels Date: Sat Sep 12 23:49:43 2020 New Revision: 365677 URL: https://svnweb.freebsd.org/changeset/base/365677 Log: bcm2838_pci.c: Respect DMA limits of controller. Fixes for Raspberry Pi 4B PCIe / USB: - Pass through a DMA tag for the controller. - In theory the controller

Re: svn commit: r365071 - in head/sys: net net/altq net/route net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgrap

2020-09-05 Thread Mike Karels
> From: Ed Maste > Date: Sat, 5 Sep 2020 17:26:47 -0400 > Subject: Re: svn commit: r365071 - in head/sys: net net/altq net/route > net80211 netgraph netgraph/atm netgraph/atm/ccatm netgraph/atm/sscfu > netgraph/atm/sscop netgraph/atm/uni netgraph/bluetooth/common netgraph... > On Sat, 5 Sep

svn commit: r362446 - in stable/12/sys: netinet netinet6

2020-06-20 Thread Mike Karels
Author: karels Date: Sat Jun 20 20:10:42 2020 New Revision: 362446 URL: https://svnweb.freebsd.org/changeset/base/362446 Log: Allow TCP to reuse local port with different destinations MFC r361228, r361231: Previously, tcp_connect() would bind a local port before connecting, forcing

svn commit: r362353 - in head/sys: arm64/broadcom/genet dev/mii

2020-06-18 Thread Mike Karels
Author: karels Date: Thu Jun 18 23:57:10 2020 New Revision: 362353 URL: https://svnweb.freebsd.org/changeset/base/362353 Log: Add support for bcm54213PE in brgphy. This chip is used in the Rasperry Pi 4, and is supported by the if_genet driver. Currently we use the ukphy mii driver, this

svn commit: r361642 - head/sys/arm64/broadcom/genet

2020-05-29 Thread Mike Karels
Author: karels Date: Sat May 30 02:09:36 2020 New Revision: 361642 URL: https://svnweb.freebsd.org/changeset/base/361642 Log: genet: workaround for problem with ICMPv6 echo replies The ICMPv6 echo reply is constructed with the IPv6 header too close to the beginning of a packet for an

svn commit: r361641 - head/sys/arm64/broadcom/genet

2020-05-29 Thread Mike Karels
Author: karels Date: Sat May 30 02:02:34 2020 New Revision: 361641 URL: https://svnweb.freebsd.org/changeset/base/361641 Log: genet: fix issues with transmit checksum offload Fix problem with ICMP echo replies: check only deferred data checksum flags, and not the received checksum status

svn commit: r361231 - head/sys/netinet

2020-05-18 Thread Mike Karels
Author: karels Date: Tue May 19 01:05:13 2020 New Revision: 361231 URL: https://svnweb.freebsd.org/changeset/base/361231 Log: Fix NULL-pointer bug from r361228. Note that in_pcb_lport and in_pcb_lport_dest can be called with a NULL local address for IPv6 sockets; handle it. Found by

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

2020-05-18 Thread Mike Karels
Author: karels Date: Mon May 18 22:53:12 2020 New Revision: 361228 URL: https://svnweb.freebsd.org/changeset/base/361228 Log: Allow TCP to reuse local port with different destinations Previously, tcp_connect() would bind a local port before connecting, forcing the local port to be unique

svn commit: r360181 - in head/sys: arm64/broadcom/genet arm64/conf arm64/include conf

2020-04-21 Thread Mike Karels
Author: karels Date: Wed Apr 22 00:42:10 2020 New Revision: 360181 URL: https://svnweb.freebsd.org/changeset/base/360181 Log: Add genet driver for Raspberry Pi 4B Ethernet Add driver for Broadcom "GENET" version 5, as found in BCM-2711 on Raspberry Pi 4B. The driver is derived in part

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

2019-11-23 Thread Mike Karels
Author: karels Date: Sat Nov 23 13:23:12 2019 New Revision: 355030 URL: https://svnweb.freebsd.org/changeset/base/355030 Log: MFC r354633: Fix netstat -gs with ip_mroute module and/or vnet The code for "netstat -gs -f inet" failed if the kernel namelist did not include the _mrtstat

svn commit: r355029 - stable/12/usr.bin/netstat

2019-11-23 Thread Mike Karels
Author: karels Date: Sat Nov 23 13:20:24 2019 New Revision: 355029 URL: https://svnweb.freebsd.org/changeset/base/355029 Log: MFC r354633: Fix netstat -gs with ip_mroute module and/or vnet The code for "netstat -gs -f inet" failed if the kernel namelist did not include the _mrtstat

svn commit: r354633 - head/usr.bin/netstat

2019-11-11 Thread Mike Karels
Author: karels Date: Tue Nov 12 01:03:08 2019 New Revision: 354633 URL: https://svnweb.freebsd.org/changeset/base/354633 Log: Fix netstat -gs with ip_mroute module and/or vnet The code for "netstat -gs -f inet" failed if the kernel namelist did not include the _mrtstat symbol. However,

svn commit: r353028 - releng/12.1/lib/libkvm

2019-10-02 Thread Mike Karels
Author: karels Date: Thu Oct 3 02:51:48 2019 New Revision: 353028 URL: https://svnweb.freebsd.org/changeset/base/353028 Log: MFC r352867: Add support for ps -H on corefiles in libkvm Add support for kernel threads in kvm_getprocs() and the underlying kvm_proclist() in libkvm when

svn commit: r352867 - stable/12/lib/libkvm

2019-09-29 Thread Mike Karels
Author: karels Date: Sun Sep 29 06:12:51 2019 New Revision: 352867 URL: https://svnweb.freebsd.org/changeset/base/352867 Log: MFC r352597: Add support for ps -H on corefiles in libkvm Add support for kernel threads in kvm_getprocs() and the underlying kvm_proclist() in libkvm when

svn commit: r352597 - head/lib/libkvm

2019-09-22 Thread Mike Karels
Author: karels Date: Sun Sep 22 13:56:27 2019 New Revision: 352597 URL: https://svnweb.freebsd.org/changeset/base/352597 Log: Add support for ps -H on corefiles in libkvm Add support for kernel threads in kvm_getprocs() and the underlying kvm_proclist() in libkvm when fetching from a

svn commit: r351966 - stable/12/usr.bin/w

2019-09-06 Thread Mike Karels
Author: karels Date: Fri Sep 6 21:53:04 2019 New Revision: 351966 URL: https://svnweb.freebsd.org/changeset/base/351966 Log: MFC r351379 r351385 r351592: Change w(1) to compute FROM (host) field size dynamically It's nice to be able to display a full IPv6 host address if needed,

svn commit: r351592 - head/usr.bin/w

2019-08-28 Thread Mike Karels
Author: karels Date: Thu Aug 29 02:44:18 2019 New Revision: 351592 URL: https://svnweb.freebsd.org/changeset/base/351592 Log: Fix address annotation in xml output from w The libxo xml feature of adding an annotation with the "original" address from the utmpx file if it is different than

svn commit: r351379 - head/usr.bin/w

2019-08-21 Thread Mike Karels
Author: karels Date: Thu Aug 22 03:28:31 2019 New Revision: 351379 URL: https://svnweb.freebsd.org/changeset/base/351379 Log: Change w(1) to compute FROM (host) field size dynamically It's nice to be able to display a full IPv6 host address if needed, but it's also nice to display more

btoc()/ctob() (was Re: svn commit: r349791 - head/sys/vm)

2019-07-07 Thread Mike Karels
--- Blind-Carbon-Copy To: a...@freebsd.org cc: b...@optusnet.com.au, a...@feeebsd.org From: Mike Karels Reply-to: m...@karels.net Subject: btoc()/ctob() (was Re: svn commit: r349791 - head/sys/vm) In-reply-to: Your message of Sun, 07 Jul 2019 03:48:54 +1000. <20190707023441

svn commit: r341737 - stable/12/sys/net/altq

2018-12-08 Thread Mike Karels
Author: karels Date: Sat Dec 8 14:54:33 2018 New Revision: 341737 URL: https://svnweb.freebsd.org/changeset/base/341737 Log: MFC r340474: Fix flags collision causing inability to enable CBQ in ALTQ The CBQ BORROW flag conflicts with the RMCF_CODEL flag; the two sets of definitions

svn commit: r340474 - head/sys/net/altq

2018-11-15 Thread Mike Karels
Author: karels Date: Fri Nov 16 03:42:29 2018 New Revision: 340474 URL: https://svnweb.freebsd.org/changeset/base/340474 Log: Fix flags collision causing inability to enable CBQ in ALTQ The CBQ BORROW flag conflicts with the RMCF_CODEL flag; the two sets of definitions actually define

svn commit: r330712 - head/bin/ps

2018-03-09 Thread Mike Karels
Author: karels Date: Sat Mar 10 00:10:47 2018 New Revision: 330712 URL: https://svnweb.freebsd.org/changeset/base/330712 Log: Change ps(1) output width to unlimited if not interactive Apply patch submitted with PR 217159 to make ps use unlimited width when not associated with a terminal

svn commit: r330091 - head/bin/ps

2018-02-27 Thread Mike Karels
Author: karels Date: Wed Feb 28 00:17:08 2018 New Revision: 330091 URL: https://svnweb.freebsd.org/changeset/base/330091 Log: Revert r314685 in ps Revert r314685, and add a comment describing the original behavior and the intent. Reviewed by: dab@ vangyzen@ jhb@ Differential

ps output line length (was: svn commit: r314685 - head/bin/ps)

2018-01-28 Thread Mike Karels
Recently, I was investigating an issue with top on -current while doing a "make buildworld", and ran "ps axu|more" for comparison. To my surprise, I got only a few very long lines of output, containing full command lines for compiler runs. This quickly led me to the following commit, which I

svn commit: r327923 - stable/11

2018-01-13 Thread Mike Karels
Author: karels Date: Sat Jan 13 14:14:50 2018 New Revision: 327923 URL: https://svnweb.freebsd.org/changeset/base/327923 Log: Add info about SW_WATCHDOG change to be dynamic in the common case. Modified: stable/11/UPDATING Modified: stable/11/UPDATING

svn commit: r327920 - in stable/11: share/man/man4 sys/conf sys/dev/watchdog sys/kern sys/sys

2018-01-13 Thread Mike Karels
Author: karels Date: Sat Jan 13 14:10:05 2018 New Revision: 327920 URL: https://svnweb.freebsd.org/changeset/base/327920 Log: MFC r327505: make SW_WATCHDOG dynamic Enable the hardclock-based watchdog previously conditional on the SW_WATCHDOG option whenever hardware watchdogs are

svn commit: r327512 - head

2018-01-02 Thread Mike Karels
Author: karels Date: Wed Jan 3 06:41:39 2018 New Revision: 327512 URL: https://svnweb.freebsd.org/changeset/base/327512 Log: Add info about SW_WATCHDOG change to be dynamic in the common case. Modified: head/UPDATING Modified: head/UPDATING

svn commit: r327505 - in head: share/man/man4 sys/conf sys/dev/watchdog sys/kern sys/sys

2018-01-02 Thread Mike Karels
Author: karels Date: Wed Jan 3 00:56:30 2018 New Revision: 327505 URL: https://svnweb.freebsd.org/changeset/base/327505 Log: make SW_WATCHDOG dynamic Enable the hardclock-based watchdog previously conditional on the SW_WATCHDOG option whenever hardware watchdogs are not found, and

svn commit: r326928 - stable/11/share/man/man5

2017-12-17 Thread Mike Karels
Author: karels Date: Mon Dec 18 05:29:38 2017 New Revision: 326928 URL: https://svnweb.freebsd.org/changeset/base/326928 Log: MFC r326734: gifconfig_gif0 no longer works, document replacement rc.conf(5) documents the gifconfig_ keyword, which is no longer implemented. Document the

svn commit: r326734 - head/share/man/man5

2017-12-09 Thread Mike Karels
Author: karels Date: Sat Dec 9 17:27:36 2017 New Revision: 326734 URL: https://svnweb.freebsd.org/changeset/base/326734 Log: gifconfig_gif0 no longer works, document replacement rc.conf(5) documents the gifconfig_ keyword, which is no longer implemented. Document the replacement, which

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

2017-04-22 Thread Mike Karels
Author: karels Date: Sat Apr 22 18:55:25 2017 New Revision: 317286 URL: https://svnweb.freebsd.org/changeset/base/317286 Log: MFC r316065: Enable route and LLE (ndp) caching in TCP/IPv6 tcp_output.c was using a route on the stack for IPv6, which does not allow route caching or LLE/ndp

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

2017-04-09 Thread Mike Karels
Author: karels Date: Mon Apr 10 01:26:12 2017 New Revision: 316668 URL: https://svnweb.freebsd.org/changeset/base/316668 Log: Fix reference count leak with L2 caching. MFC r315956 ip_forward, TCP/IPv6, and probably SCTP leaked references to L2 cache entry because they used their own

svn commit: r316065 - head/sys/netinet

2017-03-27 Thread Mike Karels
Author: karels Date: Mon Mar 27 23:48:36 2017 New Revision: 316065 URL: https://svnweb.freebsd.org/changeset/base/316065 Log: Enable route and LLE (ndp) caching in TCP/IPv6 tcp_output.c was using a route on the stack for IPv6, which does not allow route caching or LLE/ndp caching. Switch

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

2017-03-25 Thread Mike Karels
Author: karels Date: Sat Mar 25 15:06:28 2017 New Revision: 315956 URL: https://svnweb.freebsd.org/changeset/base/315956 Log: Fix reference count leak with L2 caching. ip_forward, TCP/IPv6, and probably SCTP leaked references to L2 cache entry because they used their own routes on the

Re: svn commit: r314087 - head/sys/x86/x86

2017-02-26 Thread Mike Karels
Tangential, but: On 26 Feb 2017, at 6:44, Konstantin Belousov wrote: On Sun, Feb 26, 2017 at 04:43:12AM +1100, Bruce Evans wrote: 2.9 BSD was a port to PDP-11, AFAIK, with 16bit ints. All of the 2BSD systems ran on PDP-11 with 16-bit ints, as did Research versions 1 through 7th Edition.

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

2016-09-20 Thread Mike Karels
Author: karels Date: Wed Sep 21 00:06:49 2016 New Revision: 306060 URL: https://svnweb.freebsd.org/changeset/base/306060 Log: MFC r304713: Fix L2 caching for UDP over IPv6 ip6_output() was missing cache invalidation code analougous to ip_output.c. r304545 disabled L2 caching

svn commit: r304713 - head/sys/netinet6

2016-08-23 Thread Mike Karels
Author: karels Date: Wed Aug 24 00:52:30 2016 New Revision: 304713 URL: https://svnweb.freebsd.org/changeset/base/304713 Log: Fix L2 caching for UDP over IPv6 ip6_output() was missing cache invalidation code analougous to ip_output.c. r304545 disabled L2 caching for UDP/IPv6 as a

svn commit: r304642 - releng/11.0/sys/netinet6

2016-08-22 Thread Mike Karels
Author: karels Date: Mon Aug 22 22:29:57 2016 New Revision: 304642 URL: https://svnweb.freebsd.org/changeset/base/304642 Log: MFC r304546: Disable L2 caching for UDP over IPv6 The ip6_output routine is missing L2 cache invalication as done in ip_output. Even with that code, some

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

2016-08-20 Thread Mike Karels
Author: karels Date: Sat Aug 20 20:56:36 2016 New Revision: 304546 URL: https://svnweb.freebsd.org/changeset/base/304546 Log: MFC r304545: Disable L2 caching for UDP over IPv6 The ip6_output routine is missing L2 cache invalication as done in ip_output. Even with that code, some

svn commit: r304545 - head/sys/netinet6

2016-08-20 Thread Mike Karels
Author: karels Date: Sat Aug 20 20:46:53 2016 New Revision: 304545 URL: https://svnweb.freebsd.org/changeset/base/304545 Log: Disable L2 caching for UDP over IPv6 The ip6_output routine is missing L2 cache invalication as done in ip_output. Even with that code, some problems with UDP

svn commit: r304088 - releng/11.0/sys/netinet

2016-08-14 Thread Mike Karels
Author: karels Date: Sun Aug 14 18:30:30 2016 New Revision: 304088 URL: https://svnweb.freebsd.org/changeset/base/304088 Log: MFC r303978: Fix kernel build with TCP_RFC7413 option The current in_pcb.h includes route.h, which includes sockaddr structures. Including should require ; add

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

2016-08-14 Thread Mike Karels
Author: karels Date: Sun Aug 14 16:57:10 2016 New Revision: 304086 URL: https://svnweb.freebsd.org/changeset/base/304086 Log: MFC r303978; Fix kernel build with TCP_RFC7413 option The current in_pcb.h includes route.h, which includes sockaddr structures. Including should require ; add

svn commit: r303978 - head/sys/netinet

2016-08-11 Thread Mike Karels
Author: karels Date: Thu Aug 11 23:52:24 2016 New Revision: 303978 URL: https://svnweb.freebsd.org/changeset/base/303978 Log: Fix kernel build with TCP_RFC7413 option The current in_pcb.h includes route.h, which includes sockaddr structures. Including should require ; add it in the

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

2016-08-03 Thread Mike Karels
Author: karels Date: Wed Aug 3 06:32:44 2016 New Revision: 303698 URL: https://svnweb.freebsd.org/changeset/base/303698 Log: MFC r303171: Fix per-connection L2 caching in fast path r301217 re-added per-connection L2 caching from a previous change, but it omitted caching in the fast

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

2016-07-21 Thread Mike Karels
Author: karels Date: Fri Jul 22 02:11:49 2016 New Revision: 303171 URL: https://svnweb.freebsd.org/changeset/base/303171 Log: Fix per-connection L2 caching in fast path r301217 re-added per-connection L2 caching from a previous change, but it omitted caching in the fast path. Add it.

svn commit: r302023 - head/share/misc

2016-06-19 Thread Mike Karels
Author: karels Date: Sun Jun 19 23:36:40 2016 New Revision: 302023 URL: https://svnweb.freebsd.org/changeset/base/302023 Log: Add Mike Karels as committer, with gnn as mentor. Approved by: gnn (mentor) Approved by: re Modified: head/share/misc/committers-src.dot Modified: head/share