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:		Fri Jun  5 02:44:44 UTC 2026

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

Log Message:
Reset LCP by triggering Close and Open events sequentially

Previously, LCP waited for a Down event after Close, and
triggered the Open event upon receiving it. However, simply triggering
the Close and Open events sequentially is sufficient to reset all
layer states.

NOTE:
To restart the connection after a keepalive timeout or
a loopback is detected, disable the PP_LOOPBACK_IFDOWN
and/or PP_KEEPALIVE_IFDOWN options.


To generate a diff of this commit:
cvs rdiff -u -r1.281 -r1.282 src/sys/net/if_spppsubr.c
cvs rdiff -u -r1.44 -r1.45 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.
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.