summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/in_pcb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index 7924049db77..481f9d143ad 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.c,v 1.138 2013/05/31 13:15:53 bluhm Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.139 2013/06/01 13:25:40 bluhm Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
@@ -480,7 +480,6 @@ in_pcbdetach(struct inpcb *inp)
ip_freemoptions(inp->inp_moptions);
#ifdef IPSEC
/* IPsec cleanup here */
- s = splsoftnet();
if (inp->inp_tdb_in)
TAILQ_REMOVE(&inp->inp_tdb_in->tdb_inp_in,
inp, inp_tdb_in_next);
@@ -493,7 +492,6 @@ in_pcbdetach(struct inpcb *inp)
ipsp_reffree(inp->inp_ipsec_remoteauth);
if (inp->inp_ipo)
ipsec_delete_policy(inp->inp_ipo);
- splx(s);
#endif
#if NPF > 0
if (inp->inp_pf_sk)