summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipcomp.c
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2012-09-20 10:25:03 +0000
committerblambert <blambert@openbsd.org>2012-09-20 10:25:03 +0000
commitfb4f30fce9bdd775265a7605922eeb0019664e82 (patch)
treec48dbbfacccf022763e6afbfc3b2ef084387deb3 /sys/netinet/ip_ipcomp.c
parentLower pf frags limit to not risk running out of mbuf clusters (diff)
downloadwireguard-openbsd-fb4f30fce9bdd775265a7605922eeb0019664e82.tar.xz
wireguard-openbsd-fb4f30fce9bdd775265a7605922eeb0019664e82.zip
spltdb() was really just #define'd to be splsoftnet(); replace the former
with the latter no change in md5 checksum of generated files ok claudio@ henning@
Diffstat (limited to 'sys/netinet/ip_ipcomp.c')
-rw-r--r--sys/netinet/ip_ipcomp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c
index f552f0b8df7..c40ce2a7156 100644
--- a/sys/netinet/ip_ipcomp.c
+++ b/sys/netinet/ip_ipcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.c,v 1.28 2011/07/07 02:57:25 deraadt Exp $ */
+/* $OpenBSD: ip_ipcomp.c,v 1.29 2012/09/20 10:25:03 blambert Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -234,7 +234,7 @@ ipcomp_input_cb(op)
return (EINVAL);
}
- s = spltdb();
+ s = splsoftnet();
tdb = gettdb(tc->tc_rdomain, tc->tc_spi, &tc->tc_dst, tc->tc_proto);
if (tdb == NULL) {
@@ -578,7 +578,7 @@ ipcomp_output_cb(cp)
return (EINVAL);
}
- s = spltdb();
+ s = splsoftnet();
tdb = gettdb(tc->tc_rdomain, tc->tc_spi, &tc->tc_dst, tc->tc_proto);
if (tdb == NULL) {