summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-05-31 02:02:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-05-31 02:02:23 +0000
commita3e2b357e4f6852be59de242b7142c44e47ade5c (patch)
tree7ccb7cbdce977237249295a3ab3bec690a28337d
parente16b37e9098c1409811c4a38305734f307e9cab2 (diff)
add comment indictation that rtable_add must be called at splsoftnet
-rw-r--r--sys/net/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 191ee95341c..53ea4710e6c 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.74 2006/05/31 01:35:11 henning Exp $ */
+/* $OpenBSD: route.c,v 1.75 2006/05/31 02:02:22 henning Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -214,7 +214,7 @@ route_init()
}
int
-rtable_add(char *tblname)
+rtable_add(char *tblname) /* must be called at splsoftnet */
{
u_int i;
void *p;