summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-03-04 22:40:15 +0000
committerbrad <brad@openbsd.org>2006-03-04 22:40:15 +0000
commitaaed91e5ef42bd30ba3177914c849703310a8bc1 (patch)
treed3dfc90d75405e26b2cdca7e11dde2ea26c23fca /sys/netinet/in.c
parent| -> || (diff)
downloadwireguard-openbsd-aaed91e5ef42bd30ba3177914c849703310a8bc1.tar.xz
wireguard-openbsd-aaed91e5ef42bd30ba3177914c849703310a8bc1.zip
With the exception of two other small uncommited diffs this moves
the remainder of the network stack from splimp to splnet. ok miod@
Diffstat (limited to 'sys/netinet/in.c')
-rw-r--r--sys/netinet/in.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index 4e9f456bb86..ed48a712707 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.c,v 1.42 2006/02/21 15:33:59 claudio Exp $ */
+/* $OpenBSD: in.c,v 1.43 2006/03/04 22:40:16 brad Exp $ */
/* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */
/*
@@ -674,7 +674,7 @@ in_ifinit(ifp, ia, sin, scrub)
{
u_int32_t i = sin->sin_addr.s_addr;
struct sockaddr_in oldaddr;
- int s = splimp(), flags = RTF_UP, error;
+ int s = splnet(), flags = RTF_UP, error;
oldaddr = ia->ia_addr;
ia->ia_addr = *sin;