Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 11/24/2001 17:46:09
Module Name:	syssrc
Committed By:	martin
Date:		Sat Nov 24 15:46:08 UTC 2001

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

Log Message:
Sanity check the tunnel route after computing it and don't mark the
interface up if there is no route or the route loops back to ourself.
This helps to avoid pilot errors which would result in kernel stack
overflows.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/net/if_gre.c

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