summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorozaki-r <ozaki-r@NetBSD.org>2023-01-27 09:33:43 +0000
committerozaki-r <ozaki-r@NetBSD.org>2023-01-27 09:33:43 +0000
commita35dced6b994b9b0ce0f3dcfd66a008d5f99089b (patch)
treeb9700660056edfd0762a2b452d72b5c9894108da /sys/netinet6
parentf53cb1fd07c700be344c982dbc607c13d6fa61a4 (diff)
ipsec: remove unnecessary splsoftnet
Because the code of IPsec itself is already MP-safe.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_output.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 4eb1f60f1bf..a362e42e95d 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.231 2022/10/28 05:25:36 ozaki-r Exp $ */
+/* $NetBSD: ip6_output.c,v 1.232 2023/01/27 09:33:43 ozaki-r Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.231 2022/10/28 05:25:36 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.232 2023/01/27 09:33:43 ozaki-r Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -484,9 +484,7 @@ ip6_output(
#ifdef IPSEC
if (needipsec) {
- int s = splsoftnet();
error = ipsec6_process_packet(m, sp->req, flags);
- splx(s);
/*
* Preserve KAME behaviour: ENOENT can be returned