diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_var.h | 3 | ||||
-rw-r--r-- | sys/net/pf.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index f4f7419fa20..b0dd01ae9e2 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_var.h,v 1.62 2015/12/03 16:27:32 mpi Exp $ */ +/* $OpenBSD: if_var.h,v 1.63 2015/12/03 21:11:53 sashan Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -361,6 +361,7 @@ int niq_enlist(struct niqueue *, struct mbuf_list *); extern struct ifnet_head ifnet; extern unsigned int lo0ifidx; +extern struct taskq *softnettq; void if_start(struct ifnet *); void if_start_barrier(struct ifnet *); diff --git a/sys/net/pf.c b/sys/net/pf.c index c04d19c7a2b..ee13eccce1b 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.956 2015/12/03 14:05:28 bluhm Exp $ */ +/* $OpenBSD: pf.c,v 1.957 2015/12/03 21:11:53 sashan Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2424,11 +2424,11 @@ pf_send_tcp(const struct pf_rule *r, sa_family_t af, switch (af) { case AF_INET: - ip_output(m, NULL, NULL, 0, NULL, NULL, 0); + ip_send(m); break; #ifdef INET6 case AF_INET6: - ip6_output(m, NULL, NULL, 0, NULL, NULL); + ip6_send(m); break; #endif /* INET6 */ } |