From 1b5ed3a011fae8a15ad31ea769d0c3f2a68e1b49 Mon Sep 17 00:00:00 2001 From: henning Date: Fri, 18 Apr 2014 15:20:00 +0000 Subject: [PATCH] reaching into altq outside #ifdef ALTQ is bad, mmkay? ok claudio --- sys/net/if_tun.c | 7 +------ 1 file changed, 1 insertion(+), 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) { -- 2.20.1