CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu Jul 15 04:05:47 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: vlan: drop tagged outgoing packets vlan(4) doesn't support Q-in-Q yet. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_vlan
Module Name:src Committed By: yamaguchi Date: Wed Jul 14 08:51:51 UTC 2021 Modified Files: src/tests/net/if_vlan: t_vlan.sh Log Message: vlan: Added missing $HIJACKING before brconfig To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_vlan
Module Name:src Committed By: yamaguchi Date: Wed Jul 14 08:50:24 UTC 2021 Modified Files: src/tests/net/if_vlan: t_vlan.sh Log Message: Added tests for adding vlan(4) to a bridge and deleting from it - add vlan(4) that has no parent interface to a bridge member - the vlan(4) cannot be added to a bridge member - detach the parent interface of vlan(4) that is in a bridge member - vlan(4) is deleted from a bridge member at the detaching To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed Jul 14 06:50:22 UTC 2021 Modified Files: src/sys/net: bpf.c if_vlan.c Log Message: unset IFF_PROMISC at bpf_detach() Doing "d->bd_promisc = 0" is that bpf_detach() does not call ifpromisc(ifp, 0). Currently, there is no reason for this behavior so that it is removed. In addition to the change, the workaround for it in vlan(4) is also removed. To generate a diff of this commit: cvs rdiff -u -r1.240 -r1.241 src/sys/net/bpf.c cvs rdiff -u -r1.158 -r1.159 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_vlan
Module Name:src Committed By: yamaguchi Date: Wed Jul 14 06:36:00 UTC 2021 Modified Files: src/tests/net/if_vlan: t_vlan.sh Log Message: Added a test about clearing IFF_PROMISC at vlan_unconfig This test is related to PR/49196 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed Jul 14 06:23:06 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: Make an mbuf writable before un-tagging To generate a diff of this commit: cvs rdiff -u -r1.157 -r1.158 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: yamaguchi Date: Fri Jul 9 05:54:11 UTC 2021 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/tests/net: net_common.sh src/tests/net/if_vlan: Makefile t_vlan.sh Added Files: src/tests/net/if_vlan: bpfopen.c Log Message: added tests for IFF_PROMISC of vlan(4) To generate a diff of this commit: cvs rdiff -u -r1.354 -r1.355 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.1079 -r1.1080 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.41 -r1.42 src/tests/net/net_common.sh cvs rdiff -u -r1.2 -r1.3 src/tests/net/if_vlan/Makefile cvs rdiff -u -r0 -r1.1 src/tests/net/if_vlan/bpfopen.c cvs rdiff -u -r1.19 -r1.20 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jul 6 02:39:46 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: Drop unicast packets that are not for us when vlan(4) is not in promisc To generate a diff of this commit: cvs rdiff -u -r1.156 -r1.157 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jul 6 02:34:12 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: vlan: added NULL check for the parent interface The pointer may set to NULL by vlan_unconfig while packet processing To generate a diff of this commit: cvs rdiff -u -r1.155 -r1.156 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_vlan
Module Name:src Committed By: yamaguchi Date: Tue Jul 6 01:18:22 UTC 2021 Modified Files: src/tests/net/if_vlan: t_vlan.sh Log Message: vlan: added checks of linkstate To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jul 6 01:16:01 UTC 2021 Modified Files: src/sys/net: if_vlan.c Log Message: vlan: set the link state to DOWN when its parent detaches To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_vlan
Module Name:src Committed By: yamaguchi Date: Fri Jul 2 04:38:11 UTC 2021 Modified Files: src/tests/net/if_vlan: t_vlan.sh Log Message: Added tests for changing a MTU when the vlan(4) is added to bridge(4) The tests is for PR kern/56292 To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/net/if_vlan/t_vlan.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Jul 2 03:30:46 UTC 2021 Modified Files: src/sys/net: if_bridge.c Log Message: Use if_ioctl() for changing MTU, not ether_ioctl to prevent panic Fix PR kern/56292 To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181 src/sys/net/if_bridge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net/lagg
Module Name:src Committed By: yamaguchi Date: Wed Jun 30 06:39:47 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg_lacp.c Log Message: lagg: fix an uninitialize variable pointed out by tnn@n.o., thanks. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/net/lagg/if_lagg_lacp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/man/man4
Module Name:src Committed By: yamaguchi Date: Mon Jun 21 06:36:28 UTC 2021 Modified Files: src/share/man/man4: lagg.4 Log Message: lagg: fix typo To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/lagg.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/sys
Module Name:src Committed By: yamaguchi Date: Wed Jun 2 01:48:08 UTC 2021 Modified Files: src/sys/sys: param.h Log Message: NetBSD 9.99.83 - struct ifnet adds 'if_lagg' field To generate a diff of this commit: cvs rdiff -u -r1.692 -r1.693 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed Jun 2 00:47:59 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added missing definition of sppp_ipv6cp_tld Fixed build without INET6 To generate a diff of this commit: cvs rdiff -u -r1.257 -r1.258 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:22:57 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Fix the wrong timeout event handler for PAP sppp_auth_to_event() is a implementation of TO+/TO- event for authentication protocol and it drops TO+ event in Ack-rcvd state. To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:18:33 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Update test case. The state of IPCP and IPv6CP is Closed when those are disabled. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:16:46 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Send Up event in tlu action of LCP When LCP is stopping, the layer send Down event and Close event (Down -> Close). To align the sequence, Up event is moved before Open event. To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:11:22 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added logs when IPCP and IPv6CP are up or down To generate a diff of this commit: cvs rdiff -u -r1.254 -r1.255 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:08:46 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added SPPP_LOG() for refactoring around log To generate a diff of this commit: cvs rdiff -u -r1.253 -r1.254 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 05:04:06 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Send RTM_IFINFO when a network configuration protocol is up or down To generate a diff of this commit: cvs rdiff -u -r1.252 -r1.253 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 04:59:50 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: Drop the Open event of LCP to stop the interface even a reconnection is scheduled The queue for events in if_spppsubr.c is not possible to enqueue the same event. So, The close event caused while a close event and open event are enqueued for reconnection is not possible to stop interface. To solve this issue, The open event after "ifconfig pppoe? down" is dropped. To generate a diff of this commit: cvs rdiff -u -r1.251 -r1.252 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.41 -r1.42 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 04:55:56 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: remove PP_CISCO that was used in obsoleted drivers e.g. lmc(4) To generate a diff of this commit: cvs rdiff -u -r1.250 -r1.251 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.40 -r1.41 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 04:45:22 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Remove open event on tlf of PAP/CHAP when retry of them is over to prevent that LCP stops at Starting state. And also remove retry counter check on tls of LCP because of unnecessary. To generate a diff of this commit: cvs rdiff -u -r1.249 -r1.250 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 04:19:57 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Do not if_down() when a down event of the lower layer of LCP is happened since the layer try to reconnect. To generate a diff of this commit: cvs rdiff -u -r1.248 -r1.249 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 03:51:33 UTC 2021 Modified Files: src/sys/conf: files src/sys/net: if_spppsubr.c if_spppvar.h Log Message: Fix not to do if_down() before reconnect Almost network interface do not use if_down() even when there is no connectivity. So, pppoe(4) is also made be not used it. This behavior can be rollbacked by SPPP_IFDOWN_RECONNECT option. To generate a diff of this commit: cvs rdiff -u -r1.1285 -r1.1286 src/sys/conf/files cvs rdiff -u -r1.247 -r1.248 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.39 -r1.40 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Jun 1 03:27:23 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: restart LCP when loopback packets are detected In if_spppsubr.c down and up do not mean that LCP is stopping or running, but mean that the lower layer of LCP is up or down. And, restarting of LCP is had to use close event and open event. To generate a diff of this commit: cvs rdiff -u -r1.246 -r1.247 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.38 -r1.39 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_lagg
Module Name:src Committed By: yamaguchi Date: Tue May 25 00:38:30 UTC 2021 Modified Files: src/tests/net/if_lagg: t_lagg.sh Log Message: Added missing cleanup option Fixes PR/56206 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/net/if_lagg/t_lagg.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net/lagg
Module Name:src Committed By: yamaguchi Date: Mon May 24 06:24:20 UTC 2021 Modified Files: src/sys/net/lagg: if_laggproto.h Log Message: Added missing copyright and license notice pointed out by thorpej@n.o., Thanks. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/net/lagg/if_laggproto.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net/lagg
Module Name:src Committed By: yamaguchi Date: Mon May 24 06:08:29 UTC 2021 Modified Files: src/sys/net/lagg: if_lagg.c if_lagg.h if_lagg_lacp.h if_laggvar.h Log Message: Added missing copyright and license notice pointed out by thorpej@n.o., Thanks. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/net/lagg/if_lagg.c cvs rdiff -u -r1.1 -r1.2 src/sys/net/lagg/if_lagg.h \ src/sys/net/lagg/if_lagg_lacp.h src/sys/net/lagg/if_laggvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: yamaguchi Date: Wed May 19 03:44:46 UTC 2021 Modified Files: src/sys/conf: files src/sys/net: if_pppoe.c Log Message: Added a kernel option to change the number of processing packets at one pppoeintr() To generate a diff of this commit: cvs rdiff -u -r1.1283 -r1.1284 src/sys/conf/files cvs rdiff -u -r1.175 -r1.176 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 03:35:27 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added a limitation of the number of processing packets because a enqueuing process can not add packets over IFQ_MAXLEN and removed reschedule at pppoeintr() because it also scheduled at enqueuing process. To generate a diff of this commit: cvs rdiff -u -r1.174 -r1.175 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 02:14:19 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Make functions that use for logging MP-safe There is no change in behavior. To generate a diff of this commit: cvs rdiff -u -r1.245 -r1.246 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 02:07:21 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added clear of dns addresses when IPCP is closed To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 02:02:46 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added logs on dropping IPCP and IPv6CP packets To generate a diff of this commit: cvs rdiff -u -r1.243 -r1.244 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 01:54:09 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: remove a wrong ntohs(). The variable is already host-byte-order. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed May 19 01:42:35 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added a log about rejection of IPCP address option To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 18 01:46:29 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added missing PPPOE_UNLOCK() on dropping PADS and PADT To generate a diff of this commit: cvs rdiff -u -r1.173 -r1.174 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: yamaguchi Date: Mon May 17 06:31:30 UTC 2021 Modified Files: src/doc: CHANGES Log Message: doc: added lagg(4) To generate a diff of this commit: cvs rdiff -u -r1.2806 -r1.2807 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: yamaguchi Date: Mon May 17 04:07:44 UTC 2021 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/comp: mi shl.mi src/distrib/sets/lists/debug: mi module.mi shl.mi src/distrib/sets/lists/man: mi src/distrib/sets/lists/modules: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/sbin/ifconfig: Makefile.common src/share/man/man4: Makefile src/sys/arch/amd64/conf: GENERIC src/sys/arch/i386/conf: GENERIC src/sys/conf: files src/sys/modules: Makefile src/sys/net: Makefile files.net if.c if.h if_ethersubr.c src/sys/netinet6: in6_ifattach.c src/sys/rump/librump/rumpnet: net_stub.c src/sys/rump/net: Makefile.rumpnetcomp src/tests/net: Makefile Added Files: src/sbin/ifconfig: lagg.c src/share/man/man4: lagg.4 src/sys/modules/if_lagg: Makefile lagg.ioconf src/sys/net/lagg: Makefile files.lagg if_lagg.c if_lagg.h if_lagg_lacp.c if_lagg_lacp.h if_laggproto.c if_laggproto.h if_laggvar.h src/sys/rump/include/opt: lagg.h src/sys/rump/net/lib/liblagg: LAGG.ioconf Makefile lagg_component.c src/tests/net/if_lagg: Makefile t_lagg.sh Log Message: Add a new link-aggregation pseudo interface named lagg(4) - FreeBSD's lagg(4) based implementation - MP-safe and MP-scalable To generate a diff of this commit: cvs rdiff -u -r1.919 -r1.920 src/distrib/sets/lists/base/shl.mi cvs rdiff -u -r1.2386 -r1.2387 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.345 -r1.346 src/distrib/sets/lists/comp/shl.mi cvs rdiff -u -r1.352 -r1.353 src/distrib/sets/lists/debug/mi cvs rdiff -u -r1.8 -r1.9 src/distrib/sets/lists/debug/module.mi cvs rdiff -u -r1.276 -r1.277 src/distrib/sets/lists/debug/shl.mi cvs rdiff -u -r1.1719 -r1.1720 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.143 -r1.144 src/distrib/sets/lists/modules/mi cvs rdiff -u -r1.1052 -r1.1053 src/distrib/sets/lists/tests/mi cvs rdiff -u -r1.183 -r1.184 src/etc/mtree/NetBSD.dist.tests cvs rdiff -u -r1.6 -r1.7 src/sbin/ifconfig/Makefile.common cvs rdiff -u -r0 -r1.1 src/sbin/ifconfig/lagg.c cvs rdiff -u -r1.712 -r1.713 src/share/man/man4/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/lagg.4 cvs rdiff -u -r1.588 -r1.589 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.1236 -r1.1237 src/sys/arch/i386/conf/GENERIC cvs rdiff -u -r1.1282 -r1.1283 src/sys/conf/files cvs rdiff -u -r1.249 -r1.250 src/sys/modules/Makefile cvs rdiff -u -r0 -r1.1 src/sys/modules/if_lagg/Makefile \ src/sys/modules/if_lagg/lagg.ioconf cvs rdiff -u -r1.44 -r1.45 src/sys/net/Makefile cvs rdiff -u -r1.30 -r1.31 src/sys/net/files.net cvs rdiff -u -r1.484 -r1.485 src/sys/net/if.c cvs rdiff -u -r1.289 -r1.290 src/sys/net/if.h cvs rdiff -u -r1.292 -r1.293 src/sys/net/if_ethersubr.c cvs rdiff -u -r0 -r1.1 src/sys/net/lagg/Makefile src/sys/net/lagg/files.lagg \ src/sys/net/lagg/if_lagg.c src/sys/net/lagg/if_lagg.h \ src/sys/net/lagg/if_lagg_lacp.c src/sys/net/lagg/if_lagg_lacp.h \ src/sys/net/lagg/if_laggproto.c src/sys/net/lagg/if_laggproto.h \ src/sys/net/lagg/if_laggvar.h cvs rdiff -u -r1.119 -r1.120 src/sys/netinet6/in6_ifattach.c cvs rdiff -u -r0 -r1.1 src/sys/rump/include/opt/lagg.h cvs rdiff -u -r1.41 -r1.42 src/sys/rump/librump/rumpnet/net_stub.c cvs rdiff -u -r1.23 -r1.24 src/sys/rump/net/Makefile.rumpnetcomp cvs rdiff -u -r0 -r1.1 src/sys/rump/net/lib/liblagg/LAGG.ioconf \ src/sys/rump/net/lib/liblagg/Makefile \ src/sys/rump/net/lib/liblagg/lagg_component.c cvs rdiff -u -r1.37 -r1.38 src/tests/net/Makefile cvs rdiff -u -r0 -r1.1 src/tests/net/if_lagg/Makefile \ src/tests/net/if_lagg/t_lagg.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/pppoectl
Module Name:src Committed By: yamaguchi Date: Fri May 14 09:08:59 UTC 2021 Modified Files: src/sbin/pppoectl: pppoectl.c Log Message: Added a keyword to change keepalive interval To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sbin/pppoectl/pppoectl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: yamaguchi Date: Fri May 14 08:41:25 UTC 2021 Modified Files: src/sys/conf: files src/sys/net: if_sppp.h if_spppsubr.c if_spppvar.h Log Message: Add a parameter to change keepalive interval in each PPPoE I/F To generate a diff of this commit: cvs rdiff -u -r1.1281 -r1.1282 src/sys/conf/files cvs rdiff -u -r1.35 -r1.36 src/sys/net/if_sppp.h cvs rdiff -u -r1.240 -r1.241 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.37 -r1.38 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: yamaguchi Date: Fri May 14 08:31:15 UTC 2021 Modified Files: src/sys/conf: files src/sys/net: if_spppsubr.c Log Message: Added SPPP_NORECV_TIME option to change pp_max_noreceive To generate a diff of this commit: cvs rdiff -u -r1.1280 -r1.1281 src/sys/conf/files cvs rdiff -u -r1.239 -r1.240 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri May 14 08:11:08 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Send echo request even while user data is received if pp_max_noreceive is 0 To generate a diff of this commit: cvs rdiff -u -r1.238 -r1.239 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: yamaguchi Date: Fri May 14 08:06:32 UTC 2021 Modified Files: src/sys/conf: files src/sys/net: if_spppsubr.c Log Message: Introduce SPPP_KEEPALIVE_INTERVAL option to change the interval between LCP echo requests To generate a diff of this commit: cvs rdiff -u -r1.1279 -r1.1280 src/sys/conf/files cvs rdiff -u -r1.237 -r1.238 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu May 13 03:48:55 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Drop PADS and PADT from unknown host for safety To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Thu May 13 03:37:58 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Fix the wrong state check After disconnection from PPPoE server, the client waits for reconnection in initial state or reconnects in PADI state. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu May 13 03:28:36 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Change reconnect delay after PADT received (15 sec -> 5 sec) 5 sec is the same as minimum PADI resending interval To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu May 13 01:01:10 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Accept a frame like a PADT just containing PPPoE header To generate a diff of this commit: cvs rdiff -u -r1.170 -r1.171 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/pppoectl
Module Name:src Committed By: yamaguchi Date: Tue May 11 06:58:03 UTC 2021 Modified Files: src/sbin/pppoectl: pppoectl.c Log Message: Make authproto not change when "authproto" is not in command option To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sbin/pppoectl/pppoectl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 06:42:42 UTC 2021 Modified Files: src/sys/net: if_sppp.h if_spppsubr.c Log Message: clear authentication protocol when SPPP_AUTHPROTO_NONE is specified To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_sppp.h cvs rdiff -u -r1.236 -r1.237 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 06:33:17 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Drop packets that have no NCP not to start auto-dial To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 06:27:19 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added missing if_oerror incrementing To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 06:21:28 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Move RCA event after RCR event A authentication failed by TO+ event between RCA and RCR events 1. RCA event in REQ-SENT state - REQ-SENT => ACK-RCVD 2. TO+ event - ACK-RCVD => REQ-SENT 3. RCR+ event - REQ-SENT => ACK-SENT By moving RCA after RCR, the state is transisted to OPENED 1. RCR event - REQ-SENT => ACK-SENT 2. TO+ event - state is not changed 3. RCA event - ACK-SENT => OPENED To generate a diff of this commit: cvs rdiff -u -r1.233 -r1.234 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Tue May 11 05:57:02 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Add tests for "pppoectl {no}[ipcp|ipv6cp]" To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/pppoectl
Module Name:src Committed By: yamaguchi Date: Tue May 11 05:51:42 UTC 2021 Modified Files: src/sbin/pppoectl: pppoectl.c Log Message: Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp for configuring NCP To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sbin/pppoectl/pppoectl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 01:27:45 UTC 2021 Modified Files: src/sys/net: if_sppp.h if_spppsubr.c if_spppvar.h Log Message: Added ioctl commands for configuring NCP of pppoe(4) To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/net/if_sppp.h cvs rdiff -u -r1.232 -r1.233 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.36 -r1.37 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 01:23:21 UTC 2021 Modified Files: src/sys/net: if_spppvar.h Log Message: back to r1.34 because of mistake of commit log To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 01:15:11 UTC 2021 Modified Files: src/sys/net: if_sppp.h if_spppsubr.c Log Message: Revert previous commit because of mistake of commit log back to r1.230(if_spppsubr.c) and r1.31(if_sppp.h) To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/net/if_sppp.h cvs rdiff -u -r1.231 -r1.232 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue May 11 01:00:49 UTC 2021 Modified Files: src/sys/net: if_sppp.h if_spppsubr.c if_spppvar.h Log Message: Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp for configuring NCP To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/net/if_sppp.h cvs rdiff -u -r1.230 -r1.231 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Tue May 11 00:55:51 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Added missing '$' To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu May 6 06:18:16 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: do not clear destination address if there is no saved address and add initialization of saved_hisaddr for safety 0.0.0.0 was sometimes configured to destination address when ipcp close was occurred before ipcp tlu. Following messages will be appeared when the issue is encountered and debug for pppoe(4) is enabled. tc-so:[ 1.890005] pppoe0: ipcp close(starting) (snip) tc-so:[ 1.890005] pppoe0: ipcp_open(): no IP interface To generate a diff of this commit: cvs rdiff -u -r1.229 -r1.230 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu May 6 02:05:09 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added m_freem for safety pointed out by knakahara@, thanks. To generate a diff of this commit: cvs rdiff -u -r1.228 -r1.229 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Thu May 6 01:09:43 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Added missing waiting for DAD completion To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed Apr 28 09:39:39 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Introduce a pointer to refer sp->scp[cp->protoidx] There is no functional difference. To generate a diff of this commit: cvs rdiff -u -r1.227 -r1.228 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Wed Apr 28 09:36:24 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c if_spppvar.h Log Message: Move paese of conf-req, conf-nak and conf-rej into workqueue from softint context When the pases were processed in softint, the state machine in if_spppsubr.c had been broken by simultaneous events on rare occasions. Example: 1. Do ifconfig pppoe* up - lcp open event is enqueued to workqueue 2. Receive conf-ack, and parse the packet - save mru to sp->lcp.their_mru - lcp RCR+ event is enqueued to workqueue 3. Process lcp open event - initialize data including sp->lcp.their_mru 4. Process lcp RCR+ event - Use sp->lcp.their_mru - but it was initialized To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/net/if_spppsubr.c cvs rdiff -u -r1.33 -r1.34 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 08:45:57 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Fix the wrong CHAP option length in conf-nak RFC 1994 defines that the CHAP option length in conf-nak is 5. However, 4 was used when CHAP is cofigured and PPP is proposed by a peer. To generate a diff of this commit: cvs rdiff -u -r1.225 -r1.226 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 08:42:19 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Avoid updating of the state if the state is not changed not to reset the timer for state machine To generate a diff of this commit: cvs rdiff -u -r1.224 -r1.225 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 08:37:54 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Reset LCP fail counter when doing "ifconfig pppoe* up" To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 08:34:22 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Added ipcp option name for logging To generate a diff of this commit: cvs rdiff -u -r1.222 -r1.223 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 08:31:21 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Ignore 0.0.0.0 offered from PPPoE server To generate a diff of this commit: cvs rdiff -u -r1.221 -r1.222 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 26 02:36:46 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Fix locking order since IFNET_LOCK must be held before acquiring SPPP_LOCK To generate a diff of this commit: cvs rdiff -u -r1.220 -r1.221 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/net/lib/libpppoe
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:44:05 UTC 2021 Modified Files: src/sys/rump/net/lib/libpppoe: Makefile Log Message: enabled PPPOE_DEBUG for librumpnet_pppoe* when RUMP_DEBUG is defined To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/rump/net/lib/libpppoe/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:41:55 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Added a test case for MTU of pppoe(4) To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:40:05 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Make IFF_DEBUG enabled if $DEBUG is true To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:38:19 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: functionalize rump.ifconfig and pppoectl for clearer test code To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:36:13 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Adjust mtu at LCP instead at IPCP The adjustment must be done at LCP when a PPPoE connection does not use IPCP. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:31:33 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Fix to set mtu even if it is bigger than mru notified at LCP To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/tests/net/if_pppoe
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 03:07:19 UTC 2021 Modified Files: src/tests/net/if_pppoe: t_pppoe.sh Log Message: Added test cases for "pppoectl passiveauthproto" To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/tests/net/if_pppoe/t_pppoe.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/pppoectl
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 02:28:40 UTC 2021 Modified Files: src/sbin/pppoectl: pppoectl.c Log Message: Add a new option to enable SPPP_AUTHFLAG_PASSIVEAUTHPROTO flag To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sbin/pppoectl/pppoectl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 23 01:13:26 UTC 2021 Modified Files: src/sys/net: if_sppp.h if_spppsubr.c Log Message: Introduct a new flag to accept different authentication protocol in myauthproto and hisauthproto When the flag is enabled, a authentication protocol notified at LCP negotiation is used as my authentication protocol. When the flags is NOT enabled, my authentication protoco is not changed at LCP negotiation. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/net/if_sppp.h cvs rdiff -u -r1.217 -r1.218 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Thu Apr 22 10:26:24 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added missing free of sc_hunique to prevent memory leak when using PPPoE server To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 02:26:25 UTC 2021 Modified Files: src/sys/net: if_spppvar.h Log Message: Added missing locking order between sppp and IFNET_LOCK To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/net/if_spppvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 02:23:25 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Stop and destroy timeout after sppp_detach and if_detach for safety The functions may use resources of pppoe(4) while detaching, so the release should move after it. To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 02:12:00 UTC 2021 Modified Files: src/sys/net: if_pppoe.c if_spppsubr.c Log Message: Remove unnecessaly lock holdings to avoid dead lock The locks were held while callout_halt() and workqueue_wait() without reason. And the locks also were held at callout and workqueue handler so that the handler kicked by those function couldn't acquire the lock. The reasons why those are unneccesary are: - Items of callout_t are protected by callout_lock - Items of struct workqueue and struct work are protected by q_mutex in struct workqueue - Items of struct sppp_work protected by atomic_cas(3) - struct pppoe_softc does not free before workqueue_wait() and callout_halt() even if the locks are not held To generate a diff of this commit: cvs rdiff -u -r1.167 -r1.168 src/sys/net/if_pppoe.c cvs rdiff -u -r1.216 -r1.217 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 02:05:37 UTC 2021 Modified Files: src/sys/net: if_spppsubr.c Log Message: Fix not to put the wrong error message To generate a diff of this commit: cvs rdiff -u -r1.215 -r1.216 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 01:59:50 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Stop ppp layer at first of destroying pppoe interface To generate a diff of this commit: cvs rdiff -u -r1.166 -r1.167 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 01:44:35 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Sort initialization sequence in pppoe_clone_create() out for refactoring It has no functionality impact To generate a diff of this commit: cvs rdiff -u -r1.165 -r1.166 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 01:32:04 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Use kmem_zalloc to allocate pppoe_softc To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 01:28:51 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Move initialization of sc_lock in pppoe_softc to first The lock may be held in callbacks for ppp layer or other components so that it should be initialized early. To generate a diff of this commit: cvs rdiff -u -r1.163 -r1.164 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Fri Apr 16 01:24:35 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: commonize error handling in pppoe_clone_create() To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 05:04:54 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Reschedule softint to process packets enqueued to ppoediscinq while doing pppoe_data_input And added a empty check for ppoeinq, for safety To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.162 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 05:00:06 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added missing counter clear when a pppoe state changes to PADI_SENT To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 04:57:15 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Added a NULL check for parent interface of pppoe To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Tue Apr 13 04:53:22 UTC 2021 Modified Files: src/sys/net: if_pppoe.c Log Message: Hold the lock for pppoe while referencing sc_id that is an item of struct pppoe_softc To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159 src/sys/net/if_pppoe.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 5 06:56:47 UTC 2021 Modified Files: src/sys/net: toeplitz.c Log Message: s/nitems/__arraycount/ To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/net/toeplitz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: yamaguchi Date: Mon Apr 5 06:53:45 UTC 2021 Modified Files: src/sys/net: toeplitz.h Log Message: Include opt_inet.h for INET6 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/net/toeplitz.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: yamaguchi Date: Fri Mar 5 13:21:07 UTC 2021 Modified Files: src/sys/dev/pci: if_iavf.c Log Message: Fix missing IFM_FDX To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/pci/if_iavf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.