summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2016-10-06 19:09:08 +0000
committerbluhm <bluhm@openbsd.org>2016-10-06 19:09:08 +0000
commit1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31 (patch)
treed0f7707b21b996afcb9a2f332fdb1c91bdf86e06 /sys/net/route.c
parentPrint the root check error message to stderr. While there add the name (diff)
downloadwireguard-openbsd-1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31.tar.xz
wireguard-openbsd-1bf96e4c5a3205d8c238b1b17c9f5f96e325fb31.zip
Remove redundant comments that say a function must be called at
splsoftnet() if the function does a splsoftassert(IPL_SOFTNET) anyway.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 93baeffd4f6..a04b0958d5f 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.332 2016/10/05 08:07:46 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.333 2016/10/06 19:09:08 bluhm Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -533,8 +533,6 @@ ifafree(struct ifaddr *ifa)
* destination to go through the given gateway.
* Normally called as a result of a routing redirect
* message from the network layer.
- *
- * N.B.: must be called at splsoftnet
*/
void
rtredirect(struct sockaddr *dst, struct sockaddr *gateway,