summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipcomp.c
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2012-09-20 10:25:04 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2012-09-20 10:25:04 +0000
commit1d93dff49c1685e4199f27d3a3c64672a1cfed12 (patch)
tree7af3f3812583f81df1d725378b289ab17d3ac08a /sys/netinet/ip_ipcomp.c
parent34d8a7bba54c1f5e801c3c50bef8188e2ad89fe8 (diff)
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) {