artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8abc27c
)
reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudio
author
henning
<henning@openbsd.org>
Fri, 18 Apr 2014 15:20:00 +0000
(15:20 +0000)
committer
henning
<henning@openbsd.org>
Fri, 18 Apr 2014 15:20:00 +0000
(15:20 +0000)
sys/net/if_tun.c
patch
|
blob
|
history
diff --git
a/sys/net/if_tun.c
b/sys/net/if_tun.c
index
6e03b8e
..
96b348a
100644
(file)
--- a/
sys/net/if_tun.c
+++ b/
sys/net/if_tun.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_tun.c,v 1.12
2 2014/04/14 09:06:42 mpi Exp $
*/
+/* $OpenBSD: if_tun.c,v 1.12
3 2014/04/18 15:20:00 henning Exp $
*/
/* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */
/*
@@
-1103,11
+1103,6
@@
tunstart(struct ifnet *ifp)
splassert(IPL_NET);
- if (!(tp->tun_flags & TUN_LAYER2) &&
- !ALTQ_IS_ENABLED(&ifp->if_snd) &&
- !TBR_IS_ENABLED(&ifp->if_snd))
- return;
-
IFQ_POLL(&ifp->if_snd, m);
if (m != NULL) {
if (tp->tun_flags & TUN_LAYER2) {