diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-18 15:20:01 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-04-18 15:20:01 +0000 |
commit | 8382293ab13349ae30fef571d30c53f40e059566 (patch) | |
tree | 3c4e537eb9f222f6977d094e8219a07038e5fa1b /sys/net | |
parent | c3d3c72dfa9eb8727bf9f7debf92e952b967c109 (diff) |
reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudio
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_tun.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 6e03b8e6437..96b348a19d5 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tun.c,v 1.122 2014/04/14 09:06:42 mpi Exp $ */ +/* $OpenBSD: if_tun.c,v 1.123 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) { |