CVS commit: src/sys/net

2021-07-14 Thread Shoichi YAMAGUCHI
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/

CVS commit: src/tests/net/if_vlan

2021-07-14 Thread Shoichi YAMAGUCHI
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_v

CVS commit: src/tests/net/if_vlan

2021-07-14 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-07-13 Thread Shoichi YAMAGUCHI
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 re

CVS commit: src/tests/net/if_vlan

2021-07-13 Thread Shoichi YAMAGUCHI
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 rdif

CVS commit: src/sys/net

2021-07-13 Thread Shoichi YAMAGUCHI
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

CVS commit: src

2021-07-08 Thread Shoichi YAMAGUCHI
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: s

CVS commit: src/sys/net

2021-07-05 Thread Shoichi YAMAGUCHI
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/

CVS commit: src/sys/net

2021-07-05 Thread Shoichi YAMAGUCHI
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

CVS commit: src/tests/net/if_vlan

2021-07-05 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-07-05 Thread Shoichi YAMAGUCHI
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

CVS commit: src/tests/net/if_vlan

2021-07-01 Thread Shoichi YAMAGUCHI
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 commi

CVS commit: src/sys/net

2021-07-01 Thread Shoichi YAMAGUCHI
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 -

CVS commit: src/sys/net/lagg

2021-06-29 Thread Shoichi YAMAGUCHI
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/s

CVS commit: src/share/man/man4

2021-06-20 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/sys

2021-06-01 Thread Shoichi YAMAGUCHI
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 not

CVS commit: src/sys/net

2021-06-01 Thread Shoichi YAMAGUCHI
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/s

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 drop

CVS commit: src/tests/net/if_pppoe

2021-05-31 Thread Shoichi YAMAGUCHI
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 -r

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 Pl

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 Pleas

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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/

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 p

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 ch

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 commit: src/sys

2021-05-31 Thread Shoichi YAMAGUCHI
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 the

CVS commit: src/sys/net

2021-05-31 Thread Shoichi YAMAGUCHI
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 mea

CVS commit: src/tests/net/if_lagg

2021-05-24 Thread Shoichi YAMAGUCHI
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.

CVS commit: src/sys/net/lagg

2021-05-23 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net/lagg

2021-05-23 Thread Shoichi YAMAGUCHI
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 o

CVS commit: src/sys

2021-05-18 Thread Shoichi YAMAGUCHI
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 comm

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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 Pl

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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/ne

CVS commit: src/sys/net

2021-05-18 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-17 Thread Shoichi YAMAGUCHI
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

CVS commit: src/doc

2021-05-16 Thread Shoichi YAMAGUCHI
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; th

CVS commit: src/sbin/pppoectl

2021-05-14 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys

2021-05-14 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys

2021-05-14 Thread Shoichi YAMAGUCHI
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.128

CVS commit: src/sys/net

2021-05-14 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys

2021-05-14 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/tests/net/if_pppoe

2021-05-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-12 Thread Shoichi YAMAGUCHI
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 c

CVS commit: src/sys/net

2021-05-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sbin/pppoectl

2021-05-10 Thread Shoichi YAMAGUCHI
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/sbi

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/tests/net/if_pppoe

2021-05-10 Thread Shoichi YAMAGUCHI
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_pp

CVS commit: src/sbin/pppoectl

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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 sr

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-10 Thread Shoichi YAMAGUCHI
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 rdi

CVS commit: src/tests/net/if_pppoe

2021-05-10 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-05-05 Thread Shoichi YAMAGUCHI
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 config

CVS commit: src/sys/net

2021-05-05 Thread Shoichi YAMAGUCHI
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_

CVS commit: src/tests/net/if_pppoe

2021-05-05 Thread Shoichi YAMAGUCHI
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_pppo

CVS commit: src/sys/net

2021-04-28 Thread Shoichi YAMAGUCHI
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.2

CVS commit: src/sys/net

2021-04-28 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-26 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-26 Thread Shoichi YAMAGUCHI
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 rdif

CVS commit: src/sys/net

2021-04-26 Thread Shoichi YAMAGUCHI
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_spppsu

CVS commit: src/sys/net

2021-04-26 Thread Shoichi YAMAGUCHI
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 th

CVS commit: src/sys/net

2021-04-26 Thread Shoichi YAMAGUCHI
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 n

CVS commit: src/sys/net

2021-04-25 Thread Shoichi YAMAGUCHI
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 s

CVS commit: src/sys/rump/net/lib/libpppoe

2021-04-22 Thread Shoichi YAMAGUCHI
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.

CVS commit: src/tests/net/if_pppoe

2021-04-22 Thread Shoichi YAMAGUCHI
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.s

CVS commit: src/tests/net/if_pppoe

2021-04-22 Thread Shoichi YAMAGUCHI
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_pppo

CVS commit: src/tests/net/if_pppoe

2021-04-22 Thread Shoichi YAMAGUCHI
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/tes

CVS commit: src/sys/net

2021-04-22 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-22 Thread Shoichi YAMAGUCHI
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_

CVS commit: src/tests/net/if_pppoe

2021-04-22 Thread Shoichi YAMAGUCHI
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_pppo

CVS commit: src/sbin/pppoectl

2021-04-22 Thread Shoichi YAMAGUCHI
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/pp

CVS commit: src/sys/net

2021-04-22 Thread Shoichi YAMAGUCHI
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 authen

CVS commit: src/sys/net

2021-04-22 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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.

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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.

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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 not

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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 P

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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 tha

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-15 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/net

2021-04-12 Thread Shoichi YAMAGUCHI
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 -

CVS commit: src/sys/net

2021-04-05 Thread Shoichi YAMAGUCHI
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 publi

CVS commit: src/sys/net

2021-04-04 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/dev/pci

2021-03-05 Thread Shoichi YAMAGUCHI
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

CVS commit: src/sys/dev/pci

2020-12-09 Thread Shoichi YAMAGUCHI
Module Name:src Committed By: yamaguchi Date: Thu Dec 10 04:03:00 UTC 2020 Modified Files: src/sys/dev/pci: if_iavf.c Log Message: Add a string literal for IAVF_VC_OP_CONFIG_RSS_LUT To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/if_iavf.c

  1   2   3   >