summaryrefslogtreecommitdiff
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-11-01 06:35:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-11-01 06:35:39 +0000
commit6367f3d19ae4c60f2b3a3ef0d5f3e0b9180571fa (patch)
treec71564923c4b59184d6c64f182f9a947c8c5437e /sys/netinet6/ip6_input.c
parente35af7a5c444154edfa45fd68cc102dc652a567e (diff)
Fix typo in previous resulting in a NULL dereference.
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 2acac128fe9..f106d0a3250 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.206 2017/10/31 22:05:12 sashan Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.207 2017/11/01 06:35:38 mpi Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -1477,5 +1477,5 @@ void
ip6_send(struct mbuf *m)
{
mq_enqueue(&ip6send_mq, m);
- task_add(0, &ip6send_task);
+ task_add(net_tq(0), &ip6send_task);
}