Subject: CVS commit: src/sys/net
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 10/15/2006 06:36:55
Module Name:	src
Committed By:	dyoung
Date:		Sun Oct 15 06:36:55 UTC 2006

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

Log Message:
Two bug fixes:

If gre_socreate1() cannot find out the socket's address, exit with
an error.  Before, it could exit *without* an error.

If gre_thread1() finds that it is without a valid socket (i.e., so
== NULL) but the configuration is "unchanged" (in initial state),
force reconfiguration.  This prevents a crash when we try to bring
up a GRE over UDP interface whose UDP endpoints have never been
specified.


To generate a diff of this commit:
cvs rdiff -r1.68 -r1.69 src/sys/net/if_gre.c

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