Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 10/28/2001 11:48:21
Module Name:	syssrc
Committed By:	martin
Date:		Sun Oct 28 09:48:21 UTC 2001

Modified Files:
	syssrc/sys/net: if_pppoe.c

Log Message:
Don't call if_alloc_sadl when creating the pppoe interface, it's called
from sppp_attach.
When destroying the interface, call sppp_detach for proper cleanup.
This avoids a crash from the slow timeout handler for no longer existing
interfaces (spotted by Rémi Zara).


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/net/if_pppoe.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.