summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-02-09 00:43:58 +0000
committerbluhm <bluhm@openbsd.org>2017-02-09 00:43:58 +0000
commitd0af992f9704a5492fbd80a0598dae5de0fdbdc5 (patch)
tree54dd2f42020b671ca59fabfff38e8d63dddefc31
parentAnother helper function to write to terminal and log. (diff)
downloadwireguard-openbsd-d0af992f9704a5492fbd80a0598dae5de0fdbdc5.tar.xz
wireguard-openbsd-d0af992f9704a5492fbd80a0598dae5de0fdbdc5.zip
Put back a return that I have removed by accident.
-rw-r--r--sys/netinet/ip_ah.c3
-rw-r--r--sys/netinet/ip_ipcomp.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c
index 86f41e5ce1a..cfc31cc35b1 100644
--- a/sys/netinet/ip_ah.c
+++ b/sys/netinet/ip_ah.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ah.c,v 1.128 2017/02/07 18:18:16 bluhm Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.129 2017/02/09 00:43:58 bluhm Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -1250,6 +1250,7 @@ ah_output_cb(struct cryptop *crp)
if (ipsp_process_done(m, tdb))
ahstat.ahs_outfail++;
NET_UNLOCK(s);
+ return;
baddone:
NET_UNLOCK(s);
diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c
index 6ffdd22ce62..291f22f20eb 100644
--- a/sys/netinet/ip_ipcomp.c
+++ b/sys/netinet/ip_ipcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipcomp.c,v 1.53 2017/02/07 18:18:16 bluhm Exp $ */
+/* $OpenBSD: ip_ipcomp.c,v 1.54 2017/02/09 00:43:58 bluhm Exp $ */
/*
* Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org)
@@ -333,6 +333,7 @@ ipcomp_input_cb(struct cryptop *crp)
/* Back to generic IPsec input processing */
ipsec_common_input_cb(m, tdb, skip, protoff);
NET_UNLOCK(s);
+ return;
baddone:
NET_UNLOCK(s);