summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-04-23 10:00:09 +0000
committerart <art@openbsd.org>2001-04-23 10:00:09 +0000
commitc684eb0fbb1435195f9448e0c7c96fc5354e60cc (patch)
treef89963268f7605c9be15f46e0f9de6a7475e7f8f
parentcrank crypto lib version, just in case (diff)
downloadwireguard-openbsd-c684eb0fbb1435195f9448e0c7c96fc5354e60cc.tar.xz
wireguard-openbsd-c684eb0fbb1435195f9448e0c7c96fc5354e60cc.zip
Missing splx in error handling.
-rw-r--r--sys/netinet/ip_spd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index 8b5c8272712..fdd2fe44358 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.17 2001/04/14 00:30:59 angelos Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.18 2001/04/23 10:00:09 art Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -893,6 +893,7 @@ ipsp_clear_acquire(struct tdb *tdb)
if (IF_QFULL(ifq))
{
IF_DROP(ifq);
+ splx(s);
break;
}
IF_ENQUEUE(ifq, ipa->ipa_packet);
@@ -922,6 +923,7 @@ ipsp_clear_acquire(struct tdb *tdb)
if (IF_QFULL(ifq))
{
IF_DROP(ifq);
+ splx(s);
break;
}
IF_ENQUEUE(ifq, ipa->ipa_packet);