CVS commit: src/sys/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:36:25 UTC 2021 Modified Files: src/sys/sys: param.h Log Message: Bump the version for struct ifnet and ethercom changes Welcome to 9.99.90 To generate a diff of this commit: cvs rdiff -u -r1.702 -r1.703 src/sys

CVS commit: src/sys/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:36:25 UTC 2021 Modified Files: src/sys/sys: param.h Log Message: Bump the version for struct ifnet and ethercom changes Welcome to 9.99.90 To generate a diff of this commit: cvs rdiff -u -r1.702 -r1.703 src/sys

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:29:17 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c src/sys/net/lagg: if_lagg.c if_laggproto.h if_laggvar.h Log Message: lagg: Register lagg_ifdetach to ether_ifdetach hook To generate a diff of t

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:29:17 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c src/sys/net/lagg: if_lagg.c if_laggproto.h if_laggvar.h Log Message: lagg: Register lagg_ifdetach to ether_ifdetach hook To generate a diff of t

CVS commit: src/sys/net/lagg

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:23:30 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c if_lagg_lacp.c if_laggproto.h Log Message: Make a link-layer address of lagg(4) configurable by ifconfig(8) lagg(4) uses a configured link-layer (MAC) ad

CVS commit: src/sys/net/lagg

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:23:30 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c if_lagg_lacp.c if_laggproto.h Log Message: Make a link-layer address of lagg(4) configurable by ifconfig(8) lagg(4) uses a configured link-layer (MAC) ad

CVS commit: src/sys/net/lagg

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:20:14 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: Fix to acquire LAGG_LOCK without psref to remove possibility of deadlock the deadlock maybe happened between lagg_ifdetach() and lagg_delpor

CVS commit: src/sys/net/lagg

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:20:14 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c Log Message: Fix to acquire LAGG_LOCK without psref to remove possibility of deadlock the deadlock maybe happened between lagg_ifdetach() and lagg_delpor

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:13:42 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c if_vlan.c if_vlanvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: vlan: Register vlan_ifdetach to ether_ifdetach hook To generate a d

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:13:42 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c if_vlan.c if_vlanvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: vlan: Register vlan_ifdetach to ether_ifdetach hook To generate a d

CVS commit: src/sys/dev/pci/ixgbe

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:06:50 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove vlan_ifdetach() from ixgbe_detach() The removed function is called in ether_ifdetach(). And ether_ifdetach is changed to be called

CVS commit: src/sys/dev/pci/ixgbe

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:06:50 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixgbe.c Log Message: Remove vlan_ifdetach() from ixgbe_detach() The removed function is called in ether_ifdetach(). And ether_ifdetach is changed to be called

CVS commit: src/sys/dev/pci/ixgbe

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:02:27 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Remove vlan_ifdetach() from ixv_detach() The removed function is called in ether_ifdetach(). To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/dev/pci/ixgbe

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 04:02:27 UTC 2021 Modified Files: src/sys/dev/pci/ixgbe: ixv.c Log Message: Remove vlan_ifdetach() from ixv_detach() The removed function is called in ether_ifdetach(). To generate a diff of this commit: cvs rdiff

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:57:48 UTC 2021 Modified Files: src/sys/net: if_bridge.c if_bridgevar.h if_ethersubr.c src/sys/rump/librump/rumpnet: net_stub.c Log Message: bridge: Register bridge_ifdetach to ether_ifdetach hook To gene

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:57:48 UTC 2021 Modified Files: src/sys/net: if_bridge.c if_bridgevar.h if_ethersubr.c src/sys/rump/librump/rumpnet: net_stub.c Log Message: bridge: Register bridge_ifdetach to ether_ifdetach hook To gene

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:54:04 UTC 2021 Modified Files: src/sys/net: if_ether.h if_ethersubr.c Log Message: Provide a hook point called when ether_ifdetach is called To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:54:04 UTC 2021 Modified Files: src/sys/net: if_ether.h if_ethersubr.c Log Message: Provide a hook point called when ether_ifdetach is called To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sys/

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:51:05 UTC 2021 Modified Files: src/sys/net: if.c if.h if_ethersubr.c Log Message: net: obsolete ifnet::if_link_state_chenged that was used for updating link-state of vlan I/F The obsoleted function is replaced wi

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:51:05 UTC 2021 Modified Files: src/sys/net: if.c if.h if_ethersubr.c Log Message: net: obsolete ifnet::if_link_state_chenged that was used for updating link-state of vlan I/F The obsoleted function is replaced wi

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:47:28 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c if_vlan.c if_vlanvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: vlan: Register the callback to update link-state of vlan I/F to link-

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:47:28 UTC 2021 Modified Files: src/sys/net: if_ethersubr.c if_vlan.c if_vlanvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: vlan: Register the callback to update link-state of vlan I/F to link-

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:43:25 UTC 2021 Modified Files: src/sys/net: if.c src/sys/netinet: ip_carp.c Log Message: carp: Register carp_carpdev_state to link-state change hook To generate a diff of this commit: cvs rdiff -u -r1.49

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:43:25 UTC 2021 Modified Files: src/sys/net: if.c src/sys/netinet: ip_carp.c Log Message: carp: Register carp_carpdev_state to link-state change hook To generate a diff of this commit: cvs rdiff -u -r1.49

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:39:39 UTC 2021 Modified Files: src/sys/net: if.c src/sys/net/lagg: if_lagg.c if_laggproto.h if_laggvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: lagg: Register lagg_linkstate_changed

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:39:39 UTC 2021 Modified Files: src/sys/net: if.c src/sys/net/lagg: if_lagg.c if_laggproto.h if_laggvar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: lagg: Register lagg_linkstate_changed

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:35:55 UTC 2021 Modified Files: src/sys/net: if.c if_bridge.c if_bridgevar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: bridge: Register bridge_calc_link_state to link-state change hook To gene

CVS commit: src/sys

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:35:55 UTC 2021 Modified Files: src/sys/net: if.c if_bridge.c if_bridgevar.h src/sys/rump/librump/rumpnet: net_stub.c Log Message: bridge: Register bridge_calc_link_state to link-state change hook To gene

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:23:48 UTC 2021 Modified Files: src/sys/net: if.c if.h Log Message: Provide a hook point called at change of link state To generate a diff of this commit: cvs rdiff -u -r1.491 -r1.492 src/sys/net/if.c cvs rdiff -

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:23:48 UTC 2021 Modified Files: src/sys/net: if.c if.h Log Message: Provide a hook point called at change of link state To generate a diff of this commit: cvs rdiff -u -r1.491 -r1.492 src/sys/net/if.c cvs rdiff -

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:15:25 UTC 2021 Modified Files: src/sys/net: if.c if.h if_ethersubr.c src/sys/net/agr: ieee8023ad_lacp.c ieee8023ad_marker.c if_agr.c Log Message: Replace ifnet::if_agriprivate with ifnet::if_lagg agr(4) a

CVS commit: src/sys/net

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 03:15:25 UTC 2021 Modified Files: src/sys/net: if.c if.h if_ethersubr.c src/sys/net/agr: ieee8023ad_lacp.c ieee8023ad_marker.c if_agr.c Log Message: Replace ifnet::if_agriprivate with ifnet::if_lagg agr(4) a

CVS commit: src

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 02:00:20 UTC 2021 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi shl.mi src/distrib/sets/lists/tests: mi src/sys/ru

CVS commit: src

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 02:00:20 UTC 2021 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi shl.mi src/distrib/sets/lists/tests: mi src/sys/ru

CVS commit: src

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 01:26:08 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/sys/kern: kern_hook.c src/sys/sys: Makefile Added Files: src/sys/sys: hook.h Log Message: Introduce a generic linear hook

CVS commit: src

2021-09-29 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Sep 30 01:26:08 UTC 2021 Modified Files: src/distrib/sets/lists/comp: mi src/sys/kern: kern_hook.c src/sys/sys: Makefile Added Files: src/sys/sys: hook.h Log Message: Introduce a generic linear hook

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 30 01:20:53 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Make the info returned by kqueue_stat() a little less barren. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/kern/ker

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 30 01:20:53 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: Make the info returned by kqueue_stat() a little less barren. To generate a diff of this commit: cvs rdiff -u -r1.127 -r1.128 src/sys/kern/ker

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 30 01:12:06 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: In knote(), don't call kn->kn_fop->f_event() directly; use filter_event() to get the correct KERNEL_LOCK handling for the filter attached to tha

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Thu Sep 30 01:12:06 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: In knote(), don't call kn->kn_fop->f_event() directly; use filter_event() to get the correct KERNEL_LOCK handling for the filter attached to tha

Re: CVS commit: src/sys

2021-09-29 Thread Robert Elz
Date:Wed, 29 Sep 2021 08:42:12 -0700 From:Jason Thorpe Message-ID: | Anything that depends on the new return value would have simply been | doing what the socket / fifo code was doing (groveling around in | selinfo internals), so it's not like they're broken as

Re: CVS commit: src/sys

2021-09-29 Thread Jason Thorpe
> On Sep 29, 2021, at 8:15 AM, Robert Elz wrote: > >Date:Wed, 29 Sep 2021 05:37:44 -0700 >From:Jason Thorpe >Message-ID: <39db6c46-94bf-4126-811b-466e5293b...@me.com> > > | Not needed in this case. > | No callers that need the return value are in a module. > >

CVS commit: src/sys/arch/landisk/dev

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 15:17:01 UTC 2021 Modified Files: src/sys/arch/landisk/dev: button.c Log Message: Confirm to the NOTE_SUBMIT protocol. With this, btn_read_filtops is MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.14 -r

CVS commit: src/sys/arch/landisk/dev

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 15:17:01 UTC 2021 Modified Files: src/sys/arch/landisk/dev: button.c Log Message: Confirm to the NOTE_SUBMIT protocol. With this, btn_read_filtops is MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.14 -r

Re: CVS commit: src/sys

2021-09-29 Thread Robert Elz
Date:Wed, 29 Sep 2021 05:37:44 -0700 From:Jason Thorpe Message-ID: <39db6c46-94bf-4126-811b-466e5293b...@me.com> | Not needed in this case. | No callers that need the return value are in a module. The problem with this argument is that it assumes that you know ev

CVS commit: src/sys

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 13:15:46 UTC 2021 Modified Files: src/sys/kern: uipc_socket.c src/sys/miscfs/fifofs: fifo_vnops.c Log Message: The kq filterops that interact with sockets are MPSAFE. To generate a diff of this commit: cvs rd

CVS commit: src/sys

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 13:15:46 UTC 2021 Modified Files: src/sys/kern: uipc_socket.c src/sys/miscfs/fifofs: fifo_vnops.c Log Message: The kq filterops that interact with sockets are MPSAFE. To generate a diff of this commit: cvs rd

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 13:14:39 UTC 2021 Modified Files: src/sys/kern: tty.c tty_pty.c Log Message: ttyread_filtops, ttywrite_filtops, ptcread_filtops, and ptcwrite_filtops are MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.29

CVS commit: src/sys/kern

2021-09-29 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Sep 29 13:14:39 UTC 2021 Modified Files: src/sys/kern: tty.c tty_pty.c Log Message: ttyread_filtops, ttywrite_filtops, ptcread_filtops, and ptcwrite_filtops are MPSAFE. To generate a diff of this commit: cvs rdiff -u -r1.29

Re: CVS commit: src/sys

2021-09-29 Thread Jason Thorpe
> On Sep 28, 2021, at 10:58 PM, matthew green wrote: > > "Jason R Thorpe" writes: >> Module Name: src >> Committed By:thorpej >> Date:Wed Sep 29 02:47:22 UTC 2021 >> >> Modified Files: >> src/sys/kern: sys_select.c uipc_socket.c >> src/sys/miscfs/fifofs: fifo_