CVS commit: src/sys/net

"Shoichi YAMAGUCHI" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamaguchi
Date:		Tue Jun  9 06:43:15 UTC 2026

Modified Files:
	src/sys/net: if_spppsubr.c

Log Message:
Fix missing TLF action on Closing -> Initial transition

When a Down event occurs in the Closing state, the FSM transitions
to Initial without a TLF action. Previously, the PPPoE layer was not
explicitly stopped during this transition, leaving the PPP phase
stuck in SPPP_PHASE_ESTABLISH.

As a result, if an Open event occurred afterward, the PPPoE layer
would wait for the PPPOE_SLOW_RETRY delay instead of reconnecting
immediately.

Added an additional TLF action to reset the phase and ensure
immediate reconnection upon the next Open event.


To generate a diff of this commit:
cvs rdiff -u -r1.287 -r1.288 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.