summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_ipsec.c')
-rw-r--r--sys/netinet/ip_ipsec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c
index 7a7be7d..6fc8e80 100644
--- a/sys/netinet/ip_ipsec.c
+++ b/sys/netinet/ip_ipsec.c
@@ -157,10 +157,6 @@ int
ip_ipsec_output(struct mbuf **m, struct inpcb *inp, int *error)
{
struct secpolicy *sp;
-
- if (!key_havesp(IPSEC_DIR_INBOUND))
- return 0;
-
/*
* Check the security policy (SP) for the packet and, if
* required, do IPsec-related processing. There are two
OpenPOWER on IntegriCloud