summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ah_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/ah_input.c')
-rw-r--r--sys/netinet6/ah_input.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet6/ah_input.c b/sys/netinet6/ah_input.c
index 0afdfed..d7d3030 100644
--- a/sys/netinet6/ah_input.c
+++ b/sys/netinet6/ah_input.c
@@ -454,13 +454,12 @@ ah4_input(m, off)
goto fail;
}
- if (! IF_HANDOFF(&ipintrq, m, NULL)) {
+ if (! netisr_queue(NETISR_IP, m)) {
ipsecstat.in_inval++;
m = NULL;
goto fail;
}
m = NULL;
- schednetisr(NETISR_IP); /* can be skipped but to make sure */
nxt = IPPROTO_DONE;
} else {
/*
@@ -852,13 +851,12 @@ ah6_input(mp, offp, proto)
goto fail;
}
- if (! IF_HANDOFF(&ip6intrq, m, NULL)) {
+ if (! netisr_queue(NETISR_IPV6, m)) {
ipsec6stat.in_inval++;
m = NULL;
goto fail;
}
m = NULL;
- schednetisr(NETISR_IPV6); /* can be skipped but to make sure */
nxt = IPPROTO_DONE;
} else {
/*
OpenPOWER on IntegriCloud