Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: enami tsugutomo <enami@netbsd.org>
List: source-changes
Date: 01/24/2005 04:46:49
Module Name:	src
Committed By:	enami
Date:		Mon Jan 24 04:46:49 UTC 2005

Modified Files:
	src/sys/net: radix.c
	src/sys/netinet: ip_encap.c

Log Message:
To fix bad pointer dereference on start up when gif is used,
- Allow rn_init() to be called multiple times, but do nothing except the
  first call.
- Include opt_inet.h so that #ifdef INET works.
- Call rn_init() from encap_init() explicitly rather than depending on the
  order of initialization.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/sys/net/radix.c
cvs rdiff -r1.20 -r1.21 src/sys/netinet/ip_encap.c

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