summaryrefslogtreecommitdiff
path: root/sys/netinet
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/netinet
parente35af7a5c444154edfa45fd68cc102dc652a567e (diff)
Fix typo in previous resulting in a NULL dereference.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 836891f878a..c02e95de474 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.327 2017/10/31 22:05:12 sashan Exp $ */
+/* $OpenBSD: ip_input.c,v 1.328 2017/11/01 06:35:38 mpi Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -1839,5 +1839,5 @@ void
ip_send(struct mbuf *m)
{
mq_enqueue(&ipsend_mq, m);
- task_add(0, &ipsend_task);
+ task_add(net_tq(0), &ipsend_task);
}