Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 02/21/1999 07:07:50
Module Name:	src
Committed By:	drochner
Date:		Sun Feb 21 15:07:50 UTC 1999

Modified Files:
	src/sys/nfs: nfs_boot.c nfs_bootdhcp.c nfs_bootparam.c nfsdiskless.h
Log Message:
restructure the diskless NFS boot code to keep track of the used
interface and the address allocated, to roll everything back if the
mount fails:
-put an interface pointer into "struct nfs_diskless" to have it
available for cleanup, don't pass it around anymore where the
"struct nfs_diskless" is already passed
-add a "cleanup" function which shuts the interface down
-in the protocol-specific parts, either return with "everything
ready" or "completely shut down"
-use common functions for interface initialization and shutdown
-add a function to delete all routes associate to an interface
(why is this necessary and not done by ~IFF_UP?)
g/c diskless swap stuff
general cleanup